-
-
Notifications
You must be signed in to change notification settings - Fork 7
50 lines (43 loc) · 1.14 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Build and populate cache
on:
push:
paths:
- "modules/flake/packages/**/*"
- "**.lock"
workflow_dispatch:
workflow_run:
workflows:
- Bump Flake Inputs
types:
- completed
jobs:
build:
name: Build (${{ matrix.system }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
system: x86_64-linux
- os: macos-latest
system: aarch64-darwin
- os: ubuntu-24.04-arm
system: aarch64-linux
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Lix
uses: DeterminateSystems/nix-installer-action@main
with:
source-url: https://install.lix.systems/lix/lix-installer-${{ matrix.system }}
logger: pretty
diagnostic-endpoint: ""
- name: Setup cachix
uses: cachix/cachix-action@v15
with:
name: isabelroses
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
authToken: "${{ secrets.CACHIX_TOKEN }}"
- name: Build from the lix
run: nix build -L .#lix