Skip to content

Commit

Permalink
.gitlab-ci.yml: add a Sid (aka Forky) build
Browse files Browse the repository at this point in the history
  • Loading branch information
msgilligan committed Feb 28, 2025
1 parent 2afefa0 commit 1313e7e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ nixos-devshell:
- /nix/store
- ~/.gradle/

# Build on Trixie using Debian's OpenJDK 23, Gradle via the Wrapper and secp256k1 installed via nix profile install`.
# Build on Trixie using Debian's OpenJDK 23, Gradle via the Wrapper and secp256k1 installed via `nix profile install`.
# When Trixie is finalized, JDK 23 will probably be dropped, and we will need to use Nix to install a JDK.
trixie-gradlew:
image: debian:trixie-slim
before_script:
Expand All @@ -27,3 +28,16 @@ trixie-gradlew:
- nix profile install nixpkgs#secp256k1
script:
- ./gradlew -PapiModuleJavaCompatibility=8 build run runEcdsa

# Build on Sid (Forky) using Debian's OpenJDK 23, Gradle via the Wrapper and secp256k1 installed via `nix profile install`.
# Sid/Forky should eventually have an LTS OpenJDK 25 which is our target version for a production-quality release of
# 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.
forky-gradlew:
image: debian:sid-slim
before_script:
- apt-get update
- apt-get -y install openjdk-23-jdk-headless nix-setup-systemd
- echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
- nix profile install nixpkgs#secp256k1
script:
- ./gradlew build run runEcdsa

0 comments on commit 1313e7e

Please sign in to comment.