Skip to content

Commit cfcff4f

Browse files
committed
add nix build test
1 parent fff279c commit cfcff4f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci_zig.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,12 @@ jobs:
219219
git reset --hard HEAD
220220
nix develop ./src/ -c zig build && zig build snapshot && zig build test
221221
222+
- name: Test nix package
223+
if: ${{ runner.os == 'Linux' || (runner.os == 'macOS' && runner.arch != 'X64') }}
224+
run: |
225+
nix build ./src/#roc
226+
./result/bin/roc check src/PROFILING/bench_repeated_check.roc
227+
222228
zig-cross-compile:
223229
needs: check-once
224230
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)