Skip to content

Commit 6a6dbb6

Browse files
committed
.gitlab-ci.yml: add a Sid (aka Forky) build
1 parent cb1152d commit 6a6dbb6

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.gitlab-ci.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ nixos-devshell:
1717
- /nix/store
1818
- ~/.gradle/
1919

20-
# Build on Trixie using Debian's OpenJDK 23, Gradle via the Wrapper and secp256k1 installed via nix profile install`.
20+
# Build on Trixie using Debian's OpenJDK 23, Gradle via the Wrapper and secp256k1 installed via `nix profile install`.
21+
# When Trixie is finalized, JDK 23 will probably be dropped, and we will need to use Nix to install a JDK.
2122
trixie-gradlew:
2223
image: debian:trixie-slim
2324
before_script:
@@ -27,3 +28,16 @@ trixie-gradlew:
2728
- nix profile install nixpkgs#secp256k1
2829
script:
2930
- ./gradlew build run runEcdsa
31+
32+
# Build on Sid (Forky) using Debian's OpenJDK 23, Gradle via the Wrapper and secp256k1 installed via `nix profile install`.
33+
# Sid/Forky should eventually have an LTS OpenJDK 25 which is our target version for a production-quality release of
34+
# secp256k1-jdk. If we're lucky it might even get a Debian Gradle we can use. If so, we can make a Forky build that doesn't need Nix.
35+
forky-gradlew:
36+
image: debian:sid-slim
37+
before_script:
38+
- apt-get update
39+
- apt-get -y install openjdk-23-jdk-headless nix-setup-systemd
40+
- echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
41+
- nix profile install nixpkgs#secp256k1
42+
script:
43+
- ./gradlew build run runEcdsa

0 commit comments

Comments
 (0)