@@ -43,18 +43,22 @@ jobs:
4343 uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4444
4545 - name : Install Zig
46- uses : goto-bus-stop /setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406 # v2.2.1
46+ uses : mlugg /setup-zig@e7d1537c378b83b8049f65dda471d87a2f7b2df2 # v1
4747 with :
48- version : 0.15.0
48+ version : ' 0.15.2 '
4949
50- - name : Build FFI
51- run : cd ffi/zig && zig build
50+ # Build the standalone pure-Zig FFI surface (src/main.zig only) -- no
51+ # Idris2 RefC / idris2_zig_ffi dependency. The full Idris->RefC->Zig
52+ # pipeline needs the private nextgen-languages/language-bridges repo,
53+ # which CI cannot fetch as a path dependency; see PR #149.
54+ - name : Build FFI (standalone Zig surface)
55+ run : cd ffi/zig && zig build --build-file build_standalone.zig
5256
53- - name : Run FFI integration tests
54- run : cd ffi/zig && zig build test
57+ - name : Run FFI tests (standalone)
58+ run : cd ffi/zig && zig build test --build-file build_standalone.zig
5559
5660 - name : Verify library output
57- run : ls -la ffi/zig/zig-out/lib/libproven .* || echo "Library output check"
61+ run : ls -la ffi/zig/zig-out/lib/libproven_ffi .* || echo "Library output check"
5862
5963 safety-aspects :
6064 name : Aspect — Safety Invariants
@@ -154,12 +158,12 @@ jobs:
154158 uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
155159
156160 - name : Install Zig
157- uses : goto-bus-stop /setup-zig@abea47f85e598557f500fa1fd2ab7464fcb39406 # v2.2.1
161+ uses : mlugg /setup-zig@e7d1537c378b83b8049f65dda471d87a2f7b2df2 # v1
158162 with :
159- version : 0.15.0
163+ version : ' 0.15.2 '
160164
161165 - name : Build and bench FFI
162- run : cd ffi/zig && zig build bench 2>&1 | tee /tmp/bench-results.txt || echo "No bench target yet"
166+ run : cd ffi/zig && zig build bench --build-file build_standalone.zig 2>&1 | tee /tmp/bench-results.txt || echo "No bench target yet"
163167
164168 - name : Upload benchmark results
165169 if : always()
0 commit comments