mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
CI: test building from source without LLVM
This commit is contained in:
parent
3c921522b5
commit
f45aac4903
@ -20,6 +20,14 @@ git config core.abbrev 9
|
||||
git fetch --unshallow || true
|
||||
git fetch --tags
|
||||
|
||||
# Test building from source without LLVM.
|
||||
git clean -fd
|
||||
rm -rf zig-out
|
||||
cc -o bootstrap bootstrap.c
|
||||
./bootstrap build -Dno-lib
|
||||
# In order to run these behavior tests we need to move the `@cImport` ones to somewhere else.
|
||||
# ./zig-out/bin/zig test test/behavior.zig
|
||||
|
||||
export CC="$ZIG cc -target $TARGET -mcpu=$MCPU"
|
||||
export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU"
|
||||
|
||||
|
@ -20,6 +20,14 @@ git config core.abbrev 9
|
||||
git fetch --unshallow || true
|
||||
git fetch --tags
|
||||
|
||||
# Test building from source without LLVM.
|
||||
git clean -fd
|
||||
rm -rf zig-out
|
||||
cc -o bootstrap bootstrap.c
|
||||
./bootstrap build -Dno-lib
|
||||
# In order to run these behavior tests we need to move the `@cImport` ones to somewhere else.
|
||||
# ./zig-out/bin/zig test test/behavior.zig
|
||||
|
||||
export CC="$ZIG cc -target $TARGET -mcpu=$MCPU"
|
||||
export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user