Created
December 7, 2020 10:40
-
-
Save zimbatm/fee82edaf46286cb967aeca9552f2d2d to your computer and use it in GitHub Desktop.
This file contains 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
on: [ push ] | |
jobs: | |
nix: | |
name: 'Nix' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-10.15 | |
- ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
# Install nix on the runner | |
- uses: cachix/install-nix-action@v12 | |
with: | |
extra_nix_config: | | |
sandbox = relaxed | |
log-lines = 1000 | |
- uses: cachix/cachix-action@v8 | |
with: | |
name: nix-community | |
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | |
- name: Pull nix-build-uncached | |
run: nix-build nix -A nix-build-uncached | |
- name: Build release | |
run: result/bin/nix-build-uncached ./nix/release.nix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment