authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-11-09 14:30:18-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-11-12 17:30:24-07:00
logf45aac49033c1660be21301843e4aa950924899d
tree81134965404d2f6eae70c35b18ba4eb82887ac00
parent3c921522b5ae8d0bcef48b14687a66872fd9b781

CI: test building from source without LLVM


2 files changed, 16 insertions(+), 0 deletions(-)

ci/x86_64-linux-debug.sh+8
...@@ -20,6 +20,14 @@ git config core.abbrev 9...@@ -20,6 +20,14 @@ git config core.abbrev 9
20git fetch --unshallow || true20git fetch --unshallow || true
21git fetch --tags21git fetch --tags
2222
23# Test building from source without LLVM.
24git clean -fd
25rm -rf zig-out
26cc -o bootstrap bootstrap.c
27./bootstrap build -Dno-lib
28# In order to run these behavior tests we need to move the `@cImport` ones to somewhere else.
29# ./zig-out/bin/zig test test/behavior.zig
30
23export CC="$ZIG cc -target $TARGET -mcpu=$MCPU"31export CC="$ZIG cc -target $TARGET -mcpu=$MCPU"
24export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU"32export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU"
2533
ci/x86_64-linux-release.sh+8
...@@ -20,6 +20,14 @@ git config core.abbrev 9...@@ -20,6 +20,14 @@ git config core.abbrev 9
20git fetch --unshallow || true20git fetch --unshallow || true
21git fetch --tags21git fetch --tags
2222
23# Test building from source without LLVM.
24git clean -fd
25rm -rf zig-out
26cc -o bootstrap bootstrap.c
27./bootstrap build -Dno-lib
28# In order to run these behavior tests we need to move the `@cImport` ones to somewhere else.
29# ./zig-out/bin/zig test test/behavior.zig
30
23export CC="$ZIG cc -target $TARGET -mcpu=$MCPU"31export CC="$ZIG cc -target $TARGET -mcpu=$MCPU"
24export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU"32export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU"
2533