Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / .github / workflows / basic-eval.yml
blob9eb5efabc3739e739e863342081b2595446c51c1
1 name: Basic evaluation checks
3 on:
4   workflow_dispatch
5   # pull_request:
6   #   branches:
7   #    - master
8   #    - release-**
9   # push:
10   #   branches:
11   #    - master
12   #    - release-**
13 permissions:
14   contents: read
16 jobs:
17   tests:
18     runs-on: ubuntu-latest
19     # we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
20     steps:
21     - uses: actions/checkout@v4
22     - uses: cachix/install-nix-action@v23
23     - uses: cachix/cachix-action@v12
24       with:
25         # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
26         name: nixpkgs-ci
27         signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
28     # explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset
29     - 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"  ]'