Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Commit 5cfd70d

Browse files
committed
flake reorg, nix integration testing
1 parent 06b003e commit 5cfd70d

File tree

14 files changed

+3221
-145
lines changed

14 files changed

+3221
-145
lines changed

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "CI"
2+
on:
3+
pull_request:
4+
push:
5+
6+
jobs:
7+
matrix:
8+
runs-on: ubuntu-latest
9+
outputs:
10+
matrix: ${{ steps.set-matrix.outputs.matrix }}
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: cachix/install-nix-action@v27
14+
- id: set-matrix
15+
run: echo "matrix={\"check\":$(nix eval --json '.#checks.x86_64-linux' --apply 'builtins.attrNames')}" | tee -a $GITHUB_OUTPUT
16+
17+
checks:
18+
runs-on: ubuntu-latest
19+
needs: [matrix]
20+
strategy:
21+
fail-fast: false
22+
matrix: ${{fromJson(needs.matrix.outputs.matrix)}}
23+
name: ${{ matrix.check }}
24+
steps:
25+
- uses: actions/checkout@v4
26+
- uses: cachix/install-nix-action@v26
27+
- uses: icewind1991/attic-action@v1
28+
with:
29+
name: ci
30+
instance: https://cache.icewind.me
31+
authToken: "${{ secrets.ATTIC_TOKEN }}"
32+
- run: nix build .#checks.x86_64-linux.${{ matrix.check }}

.github/workflows/rust.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
/target
2-
Cargo.lock
32
result
4-
.direnv
3+
.direnv

0 commit comments

Comments
 (0)