2021-07-06 11:05:32 +00:00
|
|
|
name: Basic evaluation checks
|
|
|
|
|
|
|
|
on:
|
2022-04-01 06:43:48 +00:00
|
|
|
workflow_dispatch
|
|
|
|
# pull_request:
|
|
|
|
# branches:
|
|
|
|
# - master
|
|
|
|
# - release-**
|
|
|
|
# push:
|
|
|
|
# branches:
|
|
|
|
# - master
|
|
|
|
# - release-**
|
2022-07-08 17:53:38 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-07-06 11:05:32 +00:00
|
|
|
jobs:
|
|
|
|
tests:
|
2024-08-01 03:28:40 +00:00
|
|
|
name: basic-eval-checks
|
2021-07-06 11:05:32 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
# we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
|
|
|
|
steps:
|
2024-10-28 11:50:56 +00:00
|
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
2024-10-07 11:17:58 +00:00
|
|
|
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
|
2024-05-27 11:42:49 +00:00
|
|
|
- uses: cachix/cachix-action@ad2ddac53f961de1989924296a1f236fcfbaa4fc # v15
|
2022-03-09 21:46:03 +00:00
|
|
|
with:
|
|
|
|
# This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
|
|
|
|
name: nixpkgs-ci
|
|
|
|
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
2024-10-16 15:49:28 +00:00
|
|
|
- run: nix --experimental-features 'nix-command flakes' flake check --all-systems --no-build
|
2021-07-06 11:05:32 +00:00
|
|
|
# explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset
|
2024-04-17 06:53:10 +00:00
|
|
|
- run: nix-build pkgs/top-level/release.nix -A release-checks --arg supportedSystems '[ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]'
|