summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2021-07-14 09:10:09 +0200
committerGitHub <noreply@github.com>2021-07-14 09:10:09 +0200
commit9ea790e2f024bfaaf891890dea752a9d1ff8f3e3 (patch)
treefe234884413361732a78d33535e89b49005db5a5 /.github
parent53caacaf56640d04180775aee016d2f16d6f083c (diff)
parent81a35d65500707f87d884cf156ac2bde70881cdd (diff)
Merge pull request #129427 from NixOS/gha-tarball
GHA: add basic eval checks
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/basic-eval.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/basic-eval.yml b/.github/workflows/basic-eval.yml
new file mode 100644
index 000000000000..3d12eda314f1
--- /dev/null
+++ b/.github/workflows/basic-eval.yml
@@ -0,0 +1,20 @@
+name: Basic evaluation checks
+
+on:
+ pull_request:
+ branches:
+ - master
+ - release-**
+ push:
+ branches:
+ - master
+ - release-**
+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@v2
+ - uses: cachix/install-nix-action@v13
+ # 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" ]'