| author | |
| committer | |
| log | c36ab59a3b1f303af44e55bfa194ab922f57b11a |
| tree | 92f2faad6532768c6ce7b05b6c3b318250dd053f |
| parent | 066c7add1c94dfbf93f1f8bd123e2efb3aefb982 |
| signature |
2 files changed, 27 insertions(+), 8 deletions(-)
ci/riscv64-linux-debug.sh+11-4| ... | ... | @@ -11,8 +11,6 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 16 | 14 | # Override the cache directories because they won't actually help other CI runs |
| 17 | 15 | # which will be testing alternate versions of zig, and ultimately would just |
| 18 | 16 | # fill up space on the hard drive for no reason. |
| ... | ... | @@ -46,11 +44,20 @@ ninja install |
| 46 | 44 | export ZIG_LIB_DIR="$PWD/../lib" |
| 47 | 45 | |
| 48 | 46 | # No -fqemu and -fwasmtime here as they're covered by the x86_64-linux scripts. |
| 49 | stage3-debug/bin/zig build test-modules test-c-abi \ | |
| 47 | stage3-debug/bin/zig build test docs \ | |
| 50 | 48 | --maxrss ${ZSF_MAX_RSS:-0} \ |
| 51 | 49 | -Dstatic-llvm \ |
| 52 | 50 | -Dskip-non-native \ |
| 53 | -Dskip-single-threaded \ | |
| 54 | 51 | -Dtarget=native-native-musl \ |
| 55 | 52 | --search-prefix "$PREFIX" \ |
| 56 | 53 | --test-timeout 4m |
| 54 | ||
| 55 | stage3-debug/bin/zig build \ | |
| 56 | --prefix stage4-debug \ | |
| 57 | -Denable-llvm \ | |
| 58 | -Dno-lib \ | |
| 59 | -Dtarget=$TARGET \ | |
| 60 | -Duse-zig-libcxx \ | |
| 61 | -Dversion-string="$(stage3-debug/bin/zig version)" | |
| 62 | ||
| 63 | stage4-debug/bin/zig test ../test/behavior.zig |
ci/riscv64-linux-release.sh+16-4| ... | ... | @@ -11,8 +11,6 @@ CACHE_BASENAME="zig+llvm+lld+clang-$TARGET-0.17.0-dev.203+073889523" |
| 11 | 11 | PREFIX="$HOME/deps/$CACHE_BASENAME" |
| 12 | 12 | ZIG="$PREFIX/bin/zig" |
| 13 | 13 | |
| 14 | export PATH="$HOME/local/bin:$PATH" | |
| 15 | ||
| 16 | 14 | # Override the cache directories because they won't actually help other CI runs |
| 17 | 15 | # which will be testing alternate versions of zig, and ultimately would just |
| 18 | 16 | # fill up space on the hard drive for no reason. |
| ... | ... | @@ -46,11 +44,25 @@ ninja install |
| 46 | 44 | export ZIG_LIB_DIR="$PWD/../lib" |
| 47 | 45 | |
| 48 | 46 | # No -fqemu and -fwasmtime here as they're covered by the x86_64-linux scripts. |
| 49 | stage3-release/bin/zig build test-modules test-c-abi \ | |
| 47 | stage3-release/bin/zig build test docs \ | |
| 50 | 48 | --maxrss ${ZSF_MAX_RSS:-0} \ |
| 51 | 49 | -Dstatic-llvm \ |
| 52 | 50 | -Dskip-non-native \ |
| 53 | -Dskip-single-threaded \ | |
| 54 | 51 | -Dtarget=native-native-musl \ |
| 55 | 52 | --search-prefix "$PREFIX" \ |
| 56 | 53 | --test-timeout 4m |
| 54 | ||
| 55 | # Ensure that stage3 and stage4 are byte-for-byte identical. | |
| 56 | stage3-release/bin/zig build \ | |
| 57 | --prefix stage4-release \ | |
| 58 | -Denable-llvm \ | |
| 59 | -Dno-lib \ | |
| 60 | -Doptimize=ReleaseFast \ | |
| 61 | -Dstrip \ | |
| 62 | -Dtarget=$TARGET \ | |
| 63 | -Duse-zig-libcxx \ | |
| 64 | -Dversion-string="$(stage3-release/bin/zig version)" | |
| 65 | ||
| 66 | echo "If the following command fails, it means nondeterminism has been" | |
| 67 | echo "introduced, making stage3 and stage4 no longer byte-for-byte identical." | |
| 68 | diff stage3-release/bin/zig stage4-release/bin/zig |