Skip to content

Commit 66d0a49

Browse files
committed
Add Nix build to CI
1 parent 998f540 commit 66d0a49

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
@@ -231,6 +231,16 @@ jobs:
231231
git clean -fdx
232232
git reset --hard HEAD
233233
nix develop ./src/ -c zig build && zig build snapshot && zig build test
234+
235+
- name: Test Nix package
236+
if: ${{ runner.os == 'Linux' || (runner.os == 'macOS' && runner.arch != 'X64') }}
237+
uses: ./.github/actions/flaky-retry
238+
with:
239+
command: |
240+
nix build ./src#roc
241+
result/bin/roc check src/PROFILING/bench_repeated_check.roc
242+
error_string_contains: TemporaryNameServerFailure
243+
retry_count: 3
234244

235245
zig-cross-compile:
236246
needs: check-once

0 commit comments

Comments
 (0)