Commit Graph

44 Commits

Author SHA1 Message Date
Sean Gilligan
52b9e3ad0e gradle.yml: update JDK to 21-ea in the build matrix 2023-09-05 17:43:00 +02:00
Sean Gilligan
6f1ceb47b5 gradle.yml, graalvm.yml: update gradle-build-action to 2.8.0 2023-09-05 17:39:30 +02:00
Sean Gilligan
336a6a0c98 gradle.yml: update JDK to 20 in the build matrix 2023-09-02 17:44:23 +02:00
Sean Gilligan
184fe1c25a gradle.yml, graalvm.yml: update Gradle to 8.3 2023-09-02 17:41:55 +02:00
Sean Gilligan
f324a8e34f gradle.yml, graalvm.yml: update Gradle to 7.6.2 2023-07-16 12:17:25 +02:00
Sean Gilligan
6142348e61 graalvm.yml: adapt to new GraalVM versioning
As of June 13, 2023, GraalVM versioning has changed and now matches
the versioning system of the JDK.

The latest release of GraalVM for JDK 17 is now 17.0.7.
2023-07-16 12:13:43 +02:00
Andreas Schildbach
36129e53ef gradle.yml, graalvm.yml: declare job timeout 2023-05-09 17:32:51 +02:00
Sean Gilligan
c1f10b9378 gradle.yml, graalvm.yml: update gradle-build-action to 2.4.2 2023-05-01 19:52:27 +02:00
Andreas Schildbach
95776f28e3 gradle.yml: set log level to info for the Java CI build
This causes standard output to grow to about 50.000 lines.
2023-03-10 16:07:31 +01:00
Sean Gilligan
ec8622e393 gradle.yml, graalvm.yml: update Gradle to 7.6.1 2023-03-10 01:14:28 +01:00
Sean Gilligan
fd73170034 gradle.yml, graalvm.yml: update action versions to avoid Node.js 12 warning 2023-02-11 22:05:44 +01:00
Sean Gilligan
3f2a86b43e graalvm.yml: update GraalVM to 22.3.1 2023-02-11 21:50:50 +01:00
Sean Gilligan
7ec1c95b57 gradle.yml: update JDK to 19 in the build matrix 2023-02-11 21:45:20 +01:00
Sean Gilligan
d3d240b855 graalvm.yml: use official setup-graalvm action
Switch from the DeLaGuardo/setup-graalvm action to the "official"
graalvm/setup-graalvm action.
2023-02-11 21:02:20 +01:00
Sean Gilligan
545c1c8be7 gradle.yml, graalvm.yml: update Gradle to 7.6 2023-02-11 20:59:53 +01:00
Sean Gilligan
0fa2876277 CONTRIBUTING.adoc: add Matrix room and other information
* Add the Matrix room
* Add more hyperlinks
* Add suggestion about asking before making big PRs
* Add link to documentation site and plea for help with it
2022-07-09 12:16:17 +02:00
Sean Gilligan
d05aac598c CONTRIBUTING.md: convert to CONTRIBUTING.adoc 2022-07-08 11:28:17 +02:00
Sean Gilligan
a8b83c95e7 GitHub graalvm.yml: run test task
This makes sure that unit and integration tests are run before doing
the native compile.
2022-06-25 12:26:45 +02:00
Sean Gilligan
e428cfbc04 wallet-tool: Add nativeCompile task for GraalVM
Also add graalvm.yml to do a nativeCompile build on Github Actions
2022-05-02 11:57:59 -07:00
Sean Gilligan
e6dd75d823 wallettool: add some first basic JUnit 5 tests
Also update gradle.yml to upload test results to GitHub.
2022-04-15 14:42:58 +02:00
Sean Gilligan
36bae01141 gradle.yml: upload integration-test results to GitHub 2022-04-15 14:31:21 +02:00
Sean Gilligan
b37f5ff735 gradle.yml: update Gradle to 7.4.2 2022-04-01 20:47:28 +02:00
Sean Gilligan
09203438c3 gradle.yml: add JDK 18 to build matrix 2022-03-31 19:01:48 +02:00
Sean Gilligan
c0f8a87f16 gradle.yml: update setup-java to v3 2022-03-06 20:16:52 +01:00
Sean Gilligan
1ad6c0d7d0 gradle.yml: add name to “Git checkout” step 2022-03-05 13:02:59 +01:00
Sean Gilligan
82d17810fd gradle.yml: update Gradle to 7.4 2022-03-05 00:11:13 +01:00
Sean Gilligan
bd6e1c6a09 build.gradle: Add testOnJdk8 task (if Gradle > 6.7)
* testOnJdk8 is not run by default
* If testJdk8 Gradle property is set, run testOnJdk8 as part of `check`
* Set testJdk8 in gradle.yml Github Actions workflow
2022-01-01 13:53:39 +01:00
Sean Gilligan
a2cf303655 build.gradle: require JDK 11 for the build
Uses javac -release option to validate API for older JDK.
2021-12-24 11:35:37 +01:00
Sean Gilligan
74c1c2228e Github Actions: update Gradle to 7.3.2
Notable changes:

* Gradle 7.3 is the first Gradle release to officially
  support JDK 17
* Gradle 7.3.2 includes log4j mitigations to protect against
  build dependencies pulling in the bad log4j.
2021-12-23 09:53:38 +01:00
Sean Gilligan
da5202c3b7 GitHub Actions: add special case for Gradle 4.10/JDK11/Ubuntu
This is the “closest” Github Actions config we can get to our
target Debian build (Debian Bullseye/JDK11/Debian Gradle 4.4).
2021-09-23 21:37:30 +02:00
Sean Gilligan
744480be89 GitHub Actions: in the build matrix, update JDK 16 to JDK 17 LTS 2021-09-23 21:29:56 +02:00
Sean Gilligan
08a9853c40 GitHub Actions: Add JDK 16 to build matrix 2021-09-20 18:23:13 +02:00
Sean Gilligan
8708f08b1b GitHub Actions: upgrade to Gradle 7 2021-09-08 20:29:36 +02:00
Sean Gilligan
41cc820ab5 GitHub Actions: parameterize JDK distro & Gradle version
Add the parameters, but don’t change what tests
are run.
2021-09-08 20:23:40 +02:00
Sean Gilligan
a29aa8df5c Github Actions: Use ‘temurin’ JDK 8 + 11
Temurin is the Eclipse Foundation’s successor to AdoptOpenJDK
and is likely to continue to be the most widely-used community
distribution.

Unfortunately, Temurin only provides JDK 8, 11, and 16,
and since bitcoinj can’t yet be built with JDK 16, we’ll
drop the JDK 15 build without replacing it with JDK 16.
2021-08-31 18:46:07 +02:00
Sean Gilligan
dbbd1a8470 Github Actions: Build with Gradle 6.9
Use the `gradle/gradle-build-action` to build with a specified
version of Gradle. In our case, let’s use Gradle 6.9.
2021-08-13 17:42:16 -07:00
Sean Gilligan
02ee7cc3b4 GitHub Actions: Build with JDK 15 rather than 14. 2020-09-20 09:46:43 +02:00
Sean Gilligan
e1b8a43bb2 GitHub Actions: Re-enable windows-latest checks. 2020-08-26 11:46:31 +02:00
Sean Gilligan
713e23027b GitHub Actions: Upload test results as artifacts. 2020-08-19 20:50:05 +02:00
Sean Gilligan
7c30810ae9 gradle.yml: Add JDK 14 to GitHub Actions build matrix. 2020-04-25 12:05:24 +02:00
Sean Gilligan
d61880b52e gradle.yml: Disable windows-latest as a workaround for the build failures. 2020-04-25 12:00:29 +02:00
Sean Gilligan
33a1c949b0 Rename .github/workflow to .github/workflows
This should fix GitHub Actions.
2020-03-12 00:34:54 +01:00
Sean Gilligan
4acde579ee Add Github Actions workflow gradle.yml
Use Github Actions built-in Gradle 5.6.2

Github Actions virtual environments all include
a pre-installed Gradle that is 5.6 or later, so
we can just build with it without using the wrapper.
2019-10-14 00:24:15 +02:00
Andreas Schildbach
df9f5a479d Add simple contributing guidelines. 2018-05-18 16:21:04 +02:00