| author | |
| committer | |
| log | b1f874c78a847d591d9f14e67e181d5f3e5e7105 |
| tree | c0e2fa6211380729e83993a924b248ee8409fabc |
| parent | 585c21e54d339f207028d871a45546da2d1b6871 |
2 files changed, 32 insertions(+), 0 deletions(-)
ci/aarch64-macos.sh+16| ... | @@ -52,3 +52,19 @@ stage3-release/bin/zig build test docs \ | ... | @@ -52,3 +52,19 @@ stage3-release/bin/zig build test docs \ |
| 52 | 52 | ||
| 53 | # Produce the experimental std lib documentation. | 53 | # Produce the experimental std lib documentation. |
| 54 | stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib | 54 | stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib |
| 55 | |||
| 56 | # Ensure that stage3 and stage4 are byte-for-byte identical. | ||
| 57 | stage3-release/bin/zig build \ | ||
| 58 | --prefix stage4-release \ | ||
| 59 | -Denable-llvm \ | ||
| 60 | -Dno-lib \ | ||
| 61 | -Drelease \ | ||
| 62 | -Dstrip \ | ||
| 63 | -Dtarget=$TARGET \ | ||
| 64 | -Duse-zig-libcxx \ | ||
| 65 | -Dversion-string="$(stage3-release/bin/zig version)" | ||
| 66 | |||
| 67 | # diff returns an error code if the files differ. | ||
| 68 | echo "If the following command fails, it means nondeterminism has been" | ||
| 69 | echo "introduced, making stage3 and stage4 no longer byte-for-byte identical." | ||
| 70 | diff stage3-release/bin/zig stage4-release/bin/zig |
ci/x86_64-macos.sh+16| ... | @@ -60,3 +60,19 @@ stage3-release/bin/zig build test docs \ | ... | @@ -60,3 +60,19 @@ stage3-release/bin/zig build test docs \ |
| 60 | 60 | ||
| 61 | # Produce the experimental std lib documentation. | 61 | # Produce the experimental std lib documentation. |
| 62 | stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib | 62 | stage3-release/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib |
| 63 | |||
| 64 | # Ensure that stage3 and stage4 are byte-for-byte identical. | ||
| 65 | stage3-release/bin/zig build \ | ||
| 66 | --prefix stage4-release \ | ||
| 67 | -Denable-llvm \ | ||
| 68 | -Dno-lib \ | ||
| 69 | -Drelease \ | ||
| 70 | -Dstrip \ | ||
| 71 | -Dtarget=$TARGET \ | ||
| 72 | -Duse-zig-libcxx \ | ||
| 73 | -Dversion-string="$(stage3-release/bin/zig version)" | ||
| 74 | |||
| 75 | # diff returns an error code if the files differ. | ||
| 76 | echo "If the following command fails, it means nondeterminism has been" | ||
| 77 | echo "introduced, making stage3 and stage4 no longer byte-for-byte identical." | ||
| 78 | diff stage3-release/bin/zig stage4-release/bin/zig |