| ... | @@ -25,6 +25,15 @@ cd $ZIGDIR | ... | @@ -25,6 +25,15 @@ cd $ZIGDIR |
| 25 | git fetch --unshallow || true | 25 | git fetch --unshallow || true |
| 26 | git fetch --tags | 26 | git fetch --tags |
| 27 | | 27 | |
| | 28 | # Test building from source without LLVM. |
| | 29 | git clean -fd |
| | 30 | rm -rf zig-out |
| | 31 | cc -o bootstrap bootstrap.c |
| | 32 | ./bootstrap |
| | 33 | ./zig2 build -Dno-lib |
| | 34 | # In order to run these behavior tests we need to move the `@cImport` ones to somewhere else. |
| | 35 | # ./zig-out/bin/zig test test/behavior.zig |
| | 36 | |
| 28 | rm -rf build | 37 | rm -rf build |
| 29 | mkdir build | 38 | mkdir build |
| 30 | cd build | 39 | cd build |