-
Notifications
You must be signed in to change notification settings - Fork 7
28 lines (28 loc) · 838 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: "Test"
on:
pull_request:
push:
jobs:
builds:
name: Build configuration for ${{ matrix.host }}
runs-on: ubuntu-latest
strategy:
matrix:
host:
- delly-nixos
- nixos
- tux-nixos
steps:
- uses: actions/checkout@v2.3.4
with:
fetch-depth: 0 # Nix Flakes doesn't work on shallow clones
- uses: cachix/install-nix-action@v12
with:
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-3.0pre20200820_4d77513/install
extra_nix_config: |
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v8
with:
name: nobbz
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel -L