2021-07-06 13:05:32 +02:00
|
|
|
name: Basic evaluation checks
|
|
|
|
|
|
|
|
on:
|
2022-04-01 08:43:48 +02:00
|
|
|
workflow_dispatch
|
|
|
|
# pull_request:
|
|
|
|
# branches:
|
|
|
|
# - master
|
|
|
|
# - release-**
|
|
|
|
# push:
|
|
|
|
# branches:
|
|
|
|
# - master
|
|
|
|
# - release-**
|
2022-07-08 19:53:38 +02:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-07-06 13:05:32 +02:00
|
|
|
jobs:
|
|
|
|
tests:
|
|
|
|
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-04-29 13:45:13 +02:00
|
|
|
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
2024-03-11 12:39:15 +01:00
|
|
|
- uses: cachix/install-nix-action@8887e596b4ee1134dae06b98d573bd674693f47c # v26
|
2024-01-18 17:10:26 +01:00
|
|
|
- uses: cachix/cachix-action@18cf96c7c98e048e10a83abd92116114cd8504be # v14
|
2022-03-09 22:46:03 +01: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 13:05:32 +02:00
|
|
|
# explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset
|
2024-04-17 08:53:10 +02:00
|
|
|
- run: nix-build pkgs/top-level/release.nix -A release-checks --arg supportedSystems '[ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]'
|