2021-07-14 22:03:04 +00:00
|
|
|
name: Basic evaluation checks
|
|
|
|
|
|
|
|
on:
|
2022-04-03 18:54:34 +00:00
|
|
|
workflow_dispatch
|
|
|
|
# pull_request:
|
|
|
|
# branches:
|
|
|
|
# - master
|
|
|
|
# - release-**
|
|
|
|
# push:
|
|
|
|
# branches:
|
|
|
|
# - master
|
|
|
|
# - release-**
|
2022-07-14 12:49:19 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-07-14 22:03:04 +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:
|
2024-01-02 11:29:13 +00:00
|
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
|
|
- uses: cachix/install-nix-action@7ac1ec25491415c381d9b62f0657c7a028df52a7 # v24
|
|
|
|
- uses: cachix/cachix-action@6a2e08b5ebf7a9f285ff57b1870a4262b06e0bee # v13
|
2022-03-30 09:31:56 +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-14 22:03:04 +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" ]'
|