Skip to content

Depend on sydtest master #251

Depend on sydtest master

Depend on sydtest master #251

Workflow file for this run

name: "Nix Build"
on:
pull_request:
push:
branches: [development, master]
jobs:
build:
name: ${{ matrix.attribute }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
attribute:
- .#devShells.x86_64-linux.default
- .#packages.x86_64-linux.default
- .#checks.x86_64-linux.pre-commit
- .#checks.x86_64-linux.nixpkgs-21_11
- .#checks.x86_64-linux.nixpkgs-22_05
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: free disk space
run: |
if [[ "${{matrix.os}}" == "ubuntu-latest" ]]
then
sudo rm -rf /opt
fi
- uses: cachix/cachix-action@v11
with:
name: validity
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: nix build "${{matrix.attribute}}"