-
Notifications
You must be signed in to change notification settings - Fork 0
61 lines (59 loc) · 1.97 KB
/
ci.yml
File metadata and controls
61 lines (59 loc) · 1.97 KB
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
51
52
53
54
55
56
57
58
59
60
61
name: CI
"on":
push: {}
jobs:
build-dev-shell:
name: Build devShell
runs-on: macos-15
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
nix_system: aarch64-darwin
attic_token: ${{ secrets.ATTIC_TOKEN }}
cachix_auth_token: ${{ secrets.CACHIX_AUTH_TOKEN }}
pragmatapro_deploy_key: ${{ secrets.PRAGMATAPRO_DEPLOY_KEY }}
secrets_deploy_key: ${{ secrets.SECRETS_DEPLOY_KEY }}
- name: Build AArch64 Darwin shell
run: |
nix build .#devShells.aarch64-darwin.default --impure --keep-going --print-build-logs --show-trace --verbose
build-system:
name: Build system
runs-on: ${{ matrix.os }}
strategy:
matrix:
host:
- eMac
- mercury
os:
- macos-26
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
nix_system: aarch64-darwin
attic_token: ${{ secrets.ATTIC_TOKEN }}
cachix_auth_token: ${{ secrets.CACHIX_AUTH_TOKEN }}
pragmatapro_deploy_key: ${{ secrets.PRAGMATAPRO_DEPLOY_KEY }}
secrets_deploy_key: ${{ secrets.SECRETS_DEPLOY_KEY }}
- name: Build ${{ matrix.host }} host
run: |
nix build .#darwinConfigurations.${{ matrix.host }}.system --keep-going --print-build-logs --show-trace --verbose
check:
name: Check flake
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: ./.github/actions/setup
with:
nix_system: x86_64-linux
attic_token: ${{ secrets.ATTIC_TOKEN }}
cachix_auth_token: ${{ secrets.CACHIX_AUTH_TOKEN }}
pragmatapro_deploy_key: ${{ secrets.PRAGMATAPRO_DEPLOY_KEY }}
secrets_deploy_key: ${{ secrets.SECRETS_DEPLOY_KEY }}
- name: Run flake check
run: |
nix flake -Lv check --impure --show-trace