sparrow/.github/workflows/package-nix.yaml
Sean Gilligan 039a15465e Basic Nix-based build using nix develop -c gradle jpackage
This is not a full (i.e. isolated, reproducible) Nix build, but does
verify that the Nix devShell in `flake.nix` works and that we can successfully
build Sparrow with Gradle and JDK provided by Nix.
2025-07-02 13:39:14 -07:00

24 lines
572 B
YAML

name: Nix Package
on: workflow_dispatch
permissions:
contents: read
jobs:
build-nix:
name: build-nix (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-22.04-arm, macos-13, macos-14]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build in Nix development shell
run: nix develop -c gradle jpackage