diff --git a/ci/aarch64-freebsd-release.sh b/ci/aarch64-freebsd-release.sh index 2455c5223da47cfcd02985853cee68f4e10e76aa..5decec9856aa85f2771d4262d11d6a2771d73251 100755 --- a/ci/aarch64-freebsd-release.sh +++ b/ci/aarch64-freebsd-release.sh @@ -54,6 +54,10 @@ stage3-release/bin/zig build install test docs \ -Dno-lib \ -Dskip-non-native +# 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. echo "If the following command fails, it means nondeterminism has been" echo "introduced, making stage3 and stage4 no longer byte-for-byte identical." diff --git a/ci/aarch64-linux-release.sh b/ci/aarch64-linux-release.sh index d2f38327a7aee3b08d986e4124a957e841b944c1..bd56b1d6ed434a9b8eadba6d6427a78e393f0b3c 100755 --- a/ci/aarch64-linux-release.sh +++ b/ci/aarch64-linux-release.sh @@ -54,6 +54,10 @@ stage3-release/bin/zig build install test docs \ -Dno-lib \ -Dskip-non-native +# 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. echo "If the following command fails, it means nondeterminism has been" echo "introduced, making stage3 and stage4 no longer byte-for-byte identical." diff --git a/ci/aarch64-netbsd-release.sh b/ci/aarch64-netbsd-release.sh index baabf30e56a68cbe509d7245b8900f0be73b30b6..ee7273d847160b336561386a840c861942ec63a5 100755 --- a/ci/aarch64-netbsd-release.sh +++ b/ci/aarch64-netbsd-release.sh @@ -54,6 +54,10 @@ stage3-release/bin/zig build install test docs \ -Dno-lib \ -Dskip-non-native +# 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. echo "If the following command fails, it means nondeterminism has been" echo "introduced, making stage3 and stage4 no longer byte-for-byte identical." diff --git a/ci/loongarch64-linux-release.sh b/ci/loongarch64-linux-release.sh index ea48fcdd772e5d5b16477427a5dc3ff7b6782b8c..ac2e7331b2fba7415b5acac3cab91a133d04394c 100755 --- a/ci/loongarch64-linux-release.sh +++ b/ci/loongarch64-linux-release.sh @@ -54,6 +54,10 @@ stage3-release/bin/zig build install test docs \ -Dno-lib \ -Dskip-non-native +# 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. echo "If the following command fails, it means nondeterminism has been" echo "introduced, making stage3 and stage4 no longer byte-for-byte identical." diff --git a/ci/powerpc64le-linux-release.sh b/ci/powerpc64le-linux-release.sh index 9c74b1176c1ea085c14f12b6c86bcb59db7ff989..bcabf53966a7e9198bbec7dbac3f425879c14f86 100755 --- a/ci/powerpc64le-linux-release.sh +++ b/ci/powerpc64le-linux-release.sh @@ -54,6 +54,11 @@ stage3-release/bin/zig build install test docs \ -Dno-lib \ -Dskip-non-native +# Ensure that the fuzzer at least compiles. +# https://codeberg.org/ziglang/zig/issues/36862 +#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. echo "If the following command fails, it means nondeterminism has been" echo "introduced, making stage3 and stage4 no longer byte-for-byte identical." diff --git a/ci/riscv64-linux-release.sh b/ci/riscv64-linux-release.sh index d0519e094e93c200b722ee1de698373cfe387714..63ab389bf9c5ab9ae8a41895edb81c4205f798c2 100755 --- a/ci/riscv64-linux-release.sh +++ b/ci/riscv64-linux-release.sh @@ -54,6 +54,10 @@ stage3-release/bin/zig build install test docs \ -Dno-lib \ -Dskip-non-native +# 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. echo "If the following command fails, it means nondeterminism has been" echo "introduced, making stage3 and stage4 no longer byte-for-byte identical." diff --git a/ci/s390x-linux-release.sh b/ci/s390x-linux-release.sh index 417e9cb6af5534bb53fb02737db91e2e4a332001..3a0884a3089cf50f05d854fbf90ded4a794c381a 100755 --- a/ci/s390x-linux-release.sh +++ b/ci/s390x-linux-release.sh @@ -54,6 +54,10 @@ stage3-release/bin/zig build install test docs \ -Dno-lib \ -Dskip-non-native +# 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. echo "If the following command fails, it means nondeterminism has been" echo "introduced, making stage3 and stage4 no longer byte-for-byte identical."