use llvm flag in ci

This commit is contained in:
Brendan Hansknecht 2025-02-13 19:03:11 -08:00
parent c7cabb7c72
commit e83872d0dd
No known key found for this signature in database
GPG key ID: 0EA784685083E75B

View file

@ -28,7 +28,9 @@ jobs:
with:
version: 0.13.0
- run: zig build
- name: build roc
run: |
zig build -Dllvm
- name: roc executable minimal check (Unix)
if: runner.os != 'Windows'
@ -41,7 +43,8 @@ jobs:
zig-out\bin\roc.exe -h | findstr "Usage:"
- name: zig tests
run: zig build test
run: |
zig build test -Dllvm
- name: check if statically linked (ubuntu)
if: startsWith(matrix.os, 'ubuntu')