summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2021-07-06 13:05:32 +0200
committerDomen Kožar <domen@dev.si>2021-07-07 14:26:59 +0200
commit7904fffeefcdb673753defbc03564e9627f50531 (patch)
tree40558fb60ae2bcc74e4e40a0a3d29e78da6a2528 /.github
parentc4bcd3845c3c0b84771b41eedc3809e7c9fbcca1 (diff)
downloadnixpkgs-7904fffeefcdb673753defbc03564e9627f50531.tar
nixpkgs-7904fffeefcdb673753defbc03564e9627f50531.tar.gz
nixpkgs-7904fffeefcdb673753defbc03564e9627f50531.tar.bz2
nixpkgs-7904fffeefcdb673753defbc03564e9627f50531.tar.lz
nixpkgs-7904fffeefcdb673753defbc03564e9627f50531.tar.xz
nixpkgs-7904fffeefcdb673753defbc03564e9627f50531.tar.zst
nixpkgs-7904fffeefcdb673753defbc03564e9627f50531.zip
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 00000000000..3d12eda314f
--- /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"  ]'