mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
name: Basic evaluation checks
|
|
|
|
on:
|
|
workflow_dispatch
|
|
# pull_request:
|
|
# branches:
|
|
# - master
|
|
# - release-**
|
|
# push:
|
|
# branches:
|
|
# - master
|
|
# - release-**
|
|
permissions:
|
|
contents: read
|
|
|
|
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:
|
|
- uses: actions/checkout@v3
|
|
- uses: cachix/install-nix-action@v20
|
|
with:
|
|
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
|
|
- uses: cachix/cachix-action@v12
|
|
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 }}'
|
|
# 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" ]'
|