flake.lock: nix flake update (gradle 9.1.0-rc-3) #929
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Gradle Build | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
validate_gradle_wrapper: | |
name: "Validate Gradle Wrapper" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/actions/wrapper-validation@v4 | |
build_gradle: | |
needs: validate_gradle_wrapper | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-24.04, ubuntu-24.04-arm, macOS-14] | |
distribution: ['temurin'] | |
fail-fast: false | |
name: ${{ matrix.os }} JDK 25-ea (via Gradle Java toolchains) | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.distribution }} | |
# When installing multiple JDKs, the last JDK installed is the default and will be used to run Gradle itself | |
java-version: | | |
25-ea | |
cache: 'gradle' | |
- name: Install secp256k1 with APT | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt install -y libsecp256k1-dev | |
echo "LD_LIBRARY_PATH=/usr/lib/$(uname -m)-linux-gnu" >> $GITHUB_ENV | |
- name: Install secp256k1 with Homebrew | |
if: runner.os == 'macOS' | |
run: | | |
brew install secp256k1 | |
echo "DYLD_LIBRARY_PATH=$(brew --prefix secp256k1)/lib" >> $GITHUB_ENV | |
echo "JAVA_TOOL_OPTIONS=-Djava.library.path=$(brew --prefix secp256k1)/lib" >> $GITHUB_ENV | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: Run Java & Kotlin Examples | |
run: ./gradlew run runEcdsa | |
build_nix: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-24.04, ubuntu-24.04-arm, macOS-14] | |
fail-fast: false | |
name: ${{ matrix.os }} Nix | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v31 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build in Nix development shell | |
run: nix develop -c gradle build run runEcdsa |