File tree 1 file changed +29
-0
lines changed
1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Build on NixOS using the devshell from `flake.nix` and secp256k1 installed via `nix profile install`
2
+ nixos-devshell :
3
+ image : nixos/nix:latest
4
+ variables :
5
+ NIXPKGS_URL : " github:NixOS/nixpkgs/nixos-unstable"
6
+ before_script :
7
+ # Configure Nix to use a binary cache and enable experimental features
8
+ - nix-env -iA nixpkgs.cachix
9
+ - cachix use nix-community
10
+ - echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
11
+ - nix profile install nixpkgs#secp256k1
12
+ script :
13
+ - nix develop .#minimum -c gradle build run runEcdsa
14
+ cache :
15
+ key : " ${CI_COMMIT_REF_SLUG}"
16
+ paths :
17
+ - /nix/store
18
+ - ~/.gradle/
19
+
20
+ # Build on Trixie using Debian's OpenJDK 23, Gradle via the Wrapper and secp256k1 installed via nix profile install`.
21
+ trixie-gradlew :
22
+ image : debian:trixie-slim
23
+ before_script :
24
+ - apt-get update
25
+ - apt-get -y install openjdk-23-jdk-headless nix-setup-systemd
26
+ - echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
27
+ - nix profile install nixpkgs#secp256k1
28
+ script :
29
+ - ./gradlew build run runEcdsa
You can’t perform that action at this time.
0 commit comments