diff --git a/ci/aarch64-macos-release.sh b/ci/aarch64-macos-release.sh index 2c3f377fed..e22b9ab9a0 100755 --- a/ci/aarch64-macos-release.sh +++ b/ci/aarch64-macos-release.sh @@ -51,6 +51,10 @@ stage3-release/bin/zig build test docs \ --search-prefix "$PREFIX" \ --test-timeout 2m +# Ensure that the fuzzer at least compiles. +stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe +stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug + # Ensure that stage3 and stage4 are byte-for-byte identical. stage3-release/bin/zig build \ --maxrss ${ZSF_MAX_RSS:-0} \ diff --git a/ci/x86_64-linux-release.sh b/ci/x86_64-linux-release.sh index 2ea3ea89ee..b5701a1c93 100755 --- a/ci/x86_64-linux-release.sh +++ b/ci/x86_64-linux-release.sh @@ -51,7 +51,10 @@ unset CXX ninja install -# simultaneously test building self-hosted without LLVM and with 32-bit arm +# Covers several things: +# 1. building the compiler without LLVM +# 2. 32-bit +# 3. arm stage3-release/bin/zig build \ -Dtarget=arm-linux-musleabihf \ -Dno-lib @@ -70,6 +73,10 @@ stage3-release/bin/zig build test docs \ -Denable-superhtml \ --test-timeout 12m +# Ensure that the fuzzer at least compiles. +stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe +stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug + # Ensure that stage3 and stage4 are byte-for-byte identical. stage3-release/bin/zig build \ --prefix stage4-release \ diff --git a/ci/x86_64-windows-release.ps1 b/ci/x86_64-windows-release.ps1 index 38458c9883..7a606dbac4 100644 --- a/ci/x86_64-windows-release.ps1 +++ b/ci/x86_64-windows-release.ps1 @@ -54,6 +54,13 @@ stage3-release\bin\zig.exe build test docs ` --test-timeout 30m CheckLastExitCode +# Ensure that the fuzzer at least compiles. +# https://codeberg.org/ziglang/zig/issues/31893 +# stage3-release\bin\zig.exe build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe +# CheckLastExitCode +# stage3-release\bin\zig.exe build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug +# CheckLastExitCode + # Ensure that stage3 and stage4 are byte-for-byte identical. Write-Output "Build and compare stage4..." stage3-release\bin\zig.exe build `