Skip to content

Commit 227c280

Browse files
committed
CI workflow
1 parent eada826 commit 227c280

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: main
6+
7+
jobs:
8+
build:
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
include:
13+
- system: x86_64-linux
14+
runner: ubuntu-latest
15+
- system: aarch64-darwin
16+
runner: macos-latest
17+
runs-on: ${{ matrix.runner }}
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: cachix/install-nix-action@v31
21+
with:
22+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
23+
- uses: cachix/cachix-action@v16
24+
with:
25+
name: stackptr
26+
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
27+
- name: Build development environment
28+
run: |
29+
nix develop --system ${{ matrix.system }}

0 commit comments

Comments
 (0)