| author | |
| committer | |
| log | 29532177c1c03a20d011e794f9abb70f1bdb6d59 |
| tree | b4deb75b136ed2d98d2052635843905ff74c98be |
| parent | ebc8fe4899ba1d3eb881cbbd3f3fc5032ec58b58 |
From mlugg: this commit originally also added the same coverage to the
aarch64-linux-release script, but that caused the aarch64-linux-release
job to time out, so that change has been omitted for now.3 files changed, 19 insertions(+), 1 deletions(-)
ci/aarch64-macos-release.sh+4| ... | @@ -51,6 +51,10 @@ stage3-release/bin/zig build test docs \ | ... | @@ -51,6 +51,10 @@ stage3-release/bin/zig build test docs \ |
| 51 | --search-prefix "$PREFIX" \ | 51 | --search-prefix "$PREFIX" \ |
| 52 | --test-timeout 2m | 52 | --test-timeout 2m |
| 53 | 53 | ||
| 54 | # Ensure that the fuzzer at least compiles. | ||
| 55 | stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe | ||
| 56 | stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug | ||
| 57 | |||
| 54 | # Ensure that stage3 and stage4 are byte-for-byte identical. | 58 | # Ensure that stage3 and stage4 are byte-for-byte identical. |
| 55 | stage3-release/bin/zig build \ | 59 | stage3-release/bin/zig build \ |
| 56 | --maxrss ${ZSF_MAX_RSS:-0} \ | 60 | --maxrss ${ZSF_MAX_RSS:-0} \ |
ci/x86_64-linux-release.sh+8-1| ... | @@ -51,7 +51,10 @@ unset CXX | ... | @@ -51,7 +51,10 @@ unset CXX |
| 51 | 51 | ||
| 52 | ninja install | 52 | ninja install |
| 53 | 53 | ||
| 54 | # simultaneously test building self-hosted without LLVM and with 32-bit arm | 54 | # Covers several things: |
| 55 | # 1. building the compiler without LLVM | ||
| 56 | # 2. 32-bit | ||
| 57 | # 3. arm | ||
| 55 | stage3-release/bin/zig build \ | 58 | stage3-release/bin/zig build \ |
| 56 | -Dtarget=arm-linux-musleabihf \ | 59 | -Dtarget=arm-linux-musleabihf \ |
| 57 | -Dno-lib | 60 | -Dno-lib |
| ... | @@ -70,6 +73,10 @@ stage3-release/bin/zig build test docs \ | ... | @@ -70,6 +73,10 @@ stage3-release/bin/zig build test docs \ |
| 70 | -Denable-superhtml \ | 73 | -Denable-superhtml \ |
| 71 | --test-timeout 12m | 74 | --test-timeout 12m |
| 72 | 75 | ||
| 76 | # Ensure that the fuzzer at least compiles. | ||
| 77 | stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe | ||
| 78 | stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug | ||
| 79 | |||
| 73 | # Ensure that stage3 and stage4 are byte-for-byte identical. | 80 | # Ensure that stage3 and stage4 are byte-for-byte identical. |
| 74 | stage3-release/bin/zig build \ | 81 | stage3-release/bin/zig build \ |
| 75 | --prefix stage4-release \ | 82 | --prefix stage4-release \ |
ci/x86_64-windows-release.ps1+7| ... | @@ -54,6 +54,13 @@ stage3-release\bin\zig.exe build test docs ` | ... | @@ -54,6 +54,13 @@ stage3-release\bin\zig.exe build test docs ` |
| 54 | --test-timeout 30m | 54 | --test-timeout 30m |
| 55 | CheckLastExitCode | 55 | CheckLastExitCode |
| 56 | 56 | ||
| 57 | # Ensure that the fuzzer at least compiles. | ||
| 58 | # https://codeberg.org/ziglang/zig/issues/31893 | ||
| 59 | # stage3-release\bin\zig.exe build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe | ||
| 60 | # CheckLastExitCode | ||
| 61 | # stage3-release\bin\zig.exe build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug | ||
| 62 | # CheckLastExitCode | ||
| 63 | |||
| 57 | # Ensure that stage3 and stage4 are byte-for-byte identical. | 64 | # Ensure that stage3 and stage4 are byte-for-byte identical. |
| 58 | Write-Output "Build and compare stage4..." | 65 | Write-Output "Build and compare stage4..." |
| 59 | stage3-release\bin\zig.exe build ` | 66 | stage3-release\bin\zig.exe build ` |