-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (34 loc) · 881 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
29
30
31
32
33
34
35
36
37
name: build
on:
push:
branches: [develop, staging, trying]
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
name: build (${{ matrix.system }})
strategy:
matrix:
system:
- x86_64-linux
# - aarch64-linux
steps:
- uses: actions/checkout@v4
with:
submodules: true
# - run: sudo apt-get update && sudo apt-get install -y qemu-user-static
- name: Setup Nix
uses: cachix/install-nix-action@V27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
system = ${{ matrix.system }}
- name: Setup Cachix
uses: cachix/cachix-action@v15
with:
name: sandkasten
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
useDaemon: false
- run: nix build