Skip to content

Commit 231a8f7

Browse files
committed
Add Nix build to CI
1 parent b7b63dd commit 231a8f7

File tree

112 files changed

+24
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+24
-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
19.7 KB
Binary file not shown.
5.5 KB
Binary file not shown.
14.7 KB
Binary file not shown.
34.2 KB
Binary file not shown.
5.2 KB
Binary file not shown.
144 Bytes
Binary file not shown.
1004 Bytes
Binary file not shown.
699 Bytes
Binary file not shown.
1.53 KB
Binary file not shown.

0 commit comments

Comments
 (0)