2021-07-06 12:05:32 +01:00
|
|
|
name: Basic evaluation checks
|
|
|
|
|
|
|
|
on:
|
2022-04-01 07:43:48 +01:00
|
|
|
workflow_dispatch
|
|
|
|
# pull_request:
|
|
|
|
# branches:
|
|
|
|
# - master
|
|
|
|
# - release-**
|
|
|
|
# push:
|
|
|
|
# branches:
|
|
|
|
# - master
|
|
|
|
# - release-**
|
2022-07-08 18:53:38 +01:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-07-06 12:05:32 +01:00
|
|
|
jobs:
|
|
|
|
tests:
|
2024-08-01 04:28:40 +01:00
|
|
|
name: basic-eval-checks
|
2021-07-06 12:05:32 +01: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-06-29 23:01:52 +01:00
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
2024-07-22 21:04:12 +01:00
|
|
|
- uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27
|
2024-05-27 12:42:49 +01: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 }}'
|
2021-07-06 12:05:32 +01:00
|
|
|
# explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset
|
2024-04-17 07:53:10 +01:00
|
|
|
- run: nix-build pkgs/top-level/release.nix -A release-checks --arg supportedSystems '[ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]'
|