Commit Graph

16 Commits

Author SHA1 Message Date
Holger Friedrich
9544767641
Remove Java 17 build, switch to 21 (#17910)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-12-16 08:38:39 +01:00
Wouter Born
b5c47cdc3d
GitHub Actions upgrades and improvements (#17627)
* Use Maven 3.9.9
* Use Ubuntu 24.04
* Verify there are no changed files

Signed-off-by: Wouter Born <github@maindrain.net>
2024-10-24 22:23:08 +02:00
Wouter Born
0d513d3d85
Replace deprecated stale bot with stale action (#17384)
The stale bot is deprecated and no longer maintained.
Instead the stale GHA should be used.

Signed-off-by: Wouter Born <github@maindrain.net>
2024-09-07 20:11:49 +02:00
Holger Friedrich
4cc5a27984
[CI] Add Java 21 compiling to J17 and native J21 (#16672)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
2024-04-22 08:41:38 +02:00
Wouter Born
c9f8324142
Upgrade get-changed-files GHA dependency (#16451)
This fixes the last remaining deprecation warning:

> Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20

Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-24 14:25:24 +01:00
Wouter Born
2fb3988dcd
Upgrade GHA dependencies (#16420)
This fixes the following deprecation warning:

> Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20

Signed-off-by: Wouter Born <github@maindrain.net>
2024-02-17 11:47:35 +01:00
Wouter Born
8da6f0ad07
Upgrade Maven and plug-ins (#15525)
* Use Maven 3.9.4 with GitHub Actions CI
* Upgrade Maven plug-ins

Signed-off-by: Wouter Born <github@maindrain.net>
2023-08-30 13:28:44 +02:00
J-N-K
cd9e1b0590
Fix build / Resolve itests (#14018)
* Fix build / Resolve itests
* Remove Java 11 from GHA matrix

Also-by: Wouter Born <github@maindrain.net>
Signed-off-by: Jan N. Klug <github@klug.nrw>
2022-12-20 08:11:31 +01:00
Wouter Born
74edb5377c
GitHub Actions workflow upgrades (#13915)
* Upgrade actions to fix deprecation warnings
* Use ubuntu-22.04 for builds

Signed-off-by: Wouter Born <github@maindrain.net>
2022-12-11 17:38:47 +01:00
Wouter Born
0a2a85b448
GitHub Actions workflow improvements (#13018)
* Upgrade actions to latest versions
* Upgrade Maven to 3.8.6
* Use Temurin JDK instead of Zulu JDK

The Temurin JDK is preinstalled in the [Ubuntu image](https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#java) whereas the Zulu JDK first need to be downloaded.
It should also perform better because the Temurin JDK is linked to glibc 2.12 whereas the Zulu JDK is linked to glibc 2.5.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-06-27 22:30:40 +02:00
Wouter Born
5842ad1644
GHA CI build workflow improvements (#12425)
* Add error annotations only in Java 11 matrix build to prevent duplicates
* Make sure Java 11 build is not cancelled when Java 17 build fails so it can add annotations by using `fail-fast: false`
* Use changed files only for incremental PR builds so a full build is done for changes merged into 'main' branch
* Add GHA build status badge

Signed-off-by: Wouter Born <github@maindrain.net>
2022-03-06 19:42:48 +01:00
Wouter Born
e84e2800a4
Add Java 17 to GHA CI build matrix (#12360)
This adds Java 17 to the GitHub Actions CI build matrix so we can make sure the build keeps working with both Java 11 and Java 17.
It also updates the required Java version range used by the enforcer plugin so it is also possible to build with the supported Java versions.

Signed-off-by: Wouter Born <github@maindrain.net>
2022-02-24 10:55:20 +01:00
Wouter Born
84de053847
Use Maven 3.8.4 in GHA CI builds (#11649)
This new version fixes a few regressions, see:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316922&version=12350685

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-28 19:32:50 +01:00
Wouter Born
1afe90d314
Report SAT Errors with GHA Annotations (#11652)
Let's test the GHA annotations for errors also in this repo!

Similar to openhab/openhab-core#2543

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-28 19:31:53 +01:00
Wouter Born
49aa537036
GitHub Actions workflow improvements (#11507)
* Checkout merged branches for pull requests
* Add support for incremental add-on builds to speed up PR builds
* Echo the mvn command used for builds

Signed-off-by: Wouter Born <github@maindrain.net>
2021-11-04 09:05:39 +01:00
Wouter Born
03e2303800
Add GitHub Actions CI build (#11454)
This PR adds a CI build using GitHub Actions.
Besides having a backup for Jenkins, it will also make it easy for contributors to use a GitHub Actions build with their fork.

It features the following:

* Uncluttered simple build progress like we used with Travis CI
* Uploads the full build log and SAT summary report so they can be downloaded for further analysis
* Uses a Maven repository cache to speed up builds (first build takes a bit longer)
* Has some maven.wagon configuration options to prevent Maven Central artifact download issues from Azure
* Uses a matrix so we can easily add builds for other OS-es or newer Java LTS versions in the future

Signed-off-by: Wouter Born <github@maindrain.net>
2021-10-27 09:55:00 +02:00