Skip to content

Commit 5936ffd

Browse files
committed
Add Nix build to CI
1 parent a2a92d5 commit 5936ffd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci_zig.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,16 @@ jobs:
227227
git clean -fdx
228228
git reset --hard HEAD
229229
nix develop ./src/ -c zig build && zig build snapshot && zig build test
230+
231+
- name: Test Nix package
232+
if: ${{ runner.os == 'Linux' || (runner.os == 'macOS' && runner.arch != 'X64') }}
233+
uses: ./.github/actions/flaky-retry
234+
with:
235+
command: |
236+
nix build ./src#roc
237+
result/bin/roc check src/PROFILING/bench_repeated_check.roc
238+
error_string_contains: TemporaryNameServerFailure
239+
retry_count: 3
230240

231241
zig-cross-compile:
232242
needs: check-once

0 commit comments

Comments
 (0)