1name: Basic evaluation checks
2
3on:
4 workflow_dispatch
5 # pull_request:
6 # branches:
7 # - master
8 # - release-**
9 # push:
10 # branches:
11 # - master
12 # - release-**
13jobs:
14 tests:
15 runs-on: ubuntu-latest
16 # we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
17 steps:
18 - uses: actions/checkout@v3
19 - uses: cachix/install-nix-action@v17
20 - uses: cachix/cachix-action@v10
21 with:
22 # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
23 name: nixpkgs-ci
24 signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
25 # explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset
26 - run: nix-build pkgs/top-level/release.nix -A tarball.nixpkgs-basic-release-checks --arg supportedSystems '[ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]'