| author | |
| committer | |
| log | f45aac49033c1660be21301843e4aa950924899d |
| tree | 81134965404d2f6eae70c35b18ba4eb82887ac00 |
| parent | 3c921522b5ae8d0bcef48b14687a66872fd9b781 |
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 |
| 20 | git fetch --unshallow || true | 20 | git fetch --unshallow || true |
| 21 | git fetch --tags | 21 | git fetch --tags |
| 22 | 22 | ||
| 23 | # Test building from source without LLVM. | ||
| 24 | git clean -fd | ||
| 25 | rm -rf zig-out | ||
| 26 | cc -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 | |||
| 23 | export CC="$ZIG cc -target $TARGET -mcpu=$MCPU" | 31 | export CC="$ZIG cc -target $TARGET -mcpu=$MCPU" |
| 24 | export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU" | 32 | export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU" |
| 25 | 33 |
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 |
| 20 | git fetch --unshallow || true | 20 | git fetch --unshallow || true |
| 21 | git fetch --tags | 21 | git fetch --tags |
| 22 | 22 | ||
| 23 | # Test building from source without LLVM. | ||
| 24 | git clean -fd | ||
| 25 | rm -rf zig-out | ||
| 26 | cc -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 | |||
| 23 | export CC="$ZIG cc -target $TARGET -mcpu=$MCPU" | 31 | export CC="$ZIG cc -target $TARGET -mcpu=$MCPU" |
| 24 | export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU" | 32 | export CXX="$ZIG c++ -target $TARGET -mcpu=$MCPU" |
| 25 | 33 |