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:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
# we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
|
|
|
|
steps:
|
2022-03-01 23:23:02 +00:00
|
|
|
- uses: actions/checkout@v3
|
2023-05-29 11:59:42 +00:00
|
|
|
- uses: cachix/install-nix-action@v21
|
2022-10-27 23:30:20 +00:00
|
|
|
- uses: cachix/cachix-action@v12
|
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 11:05:32 +00:00
|
|
|
# explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset
|
|
|
|
- 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" ]'
|