summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..4ae65c3
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,24 @@
+name: "nix-build"
+on:
+ pull_request_target:
+ branches:
+ - 'master'
+ push:
+ branches:
+ - 'master'
+ workflow_dispatch:
+jobs:
+ nix-build:
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ ubuntu-latest, macos-latest ]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ - name: Install Nix
+ uses: DeterminateSystems/nix-installer-action@v12
+ - uses: DeterminateSystems/magic-nix-cache-action@v7
+ - name: Build some-pkgs
+ run: nix run github:Mic92/nix-fast-build -- --skip-cached --no-nom --flake ".#packages"