authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-09-17 03:37:57+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-09-17 09:16:30+02:00
logb7104c95f249e42d0068bc2a94f7f426c0c740f3
tree671ee3746f4c8b9be2447e350684b3caaf75fe0a
parent89ff10d568522e7a64a3a8e5dbe9e873a17eff4f
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

ci: enable basic fuzzer testing on more platforms


7 files changed, 29 insertions(+), 0 deletions(-)

ci/aarch64-freebsd-release.sh+4
......@@ -54,6 +54,10 @@ stage3-release/bin/zig build install test docs \
5454 -Dno-lib \
5555 -Dskip-non-native
5656
57# Ensure that the fuzzer at least compiles.
58stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe
59stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug
60
5761# Ensure that stage3 and stage4 are byte-for-byte identical.
5862echo "If the following command fails, it means nondeterminism has been"
5963echo "introduced, making stage3 and stage4 no longer byte-for-byte identical."
ci/aarch64-linux-release.sh+4
......@@ -54,6 +54,10 @@ stage3-release/bin/zig build install test docs \
5454 -Dno-lib \
5555 -Dskip-non-native
5656
57# Ensure that the fuzzer at least compiles.
58stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe
59stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug
60
5761# Ensure that stage3 and stage4 are byte-for-byte identical.
5862echo "If the following command fails, it means nondeterminism has been"
5963echo "introduced, making stage3 and stage4 no longer byte-for-byte identical."
ci/aarch64-netbsd-release.sh+4
......@@ -54,6 +54,10 @@ stage3-release/bin/zig build install test docs \
5454 -Dno-lib \
5555 -Dskip-non-native
5656
57# Ensure that the fuzzer at least compiles.
58stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe
59stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug
60
5761# Ensure that stage3 and stage4 are byte-for-byte identical.
5862echo "If the following command fails, it means nondeterminism has been"
5963echo "introduced, making stage3 and stage4 no longer byte-for-byte identical."
ci/loongarch64-linux-release.sh+4
......@@ -54,6 +54,10 @@ stage3-release/bin/zig build install test docs \
5454 -Dno-lib \
5555 -Dskip-non-native
5656
57# Ensure that the fuzzer at least compiles.
58stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe
59stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug
60
5761# Ensure that stage3 and stage4 are byte-for-byte identical.
5862echo "If the following command fails, it means nondeterminism has been"
5963echo "introduced, making stage3 and stage4 no longer byte-for-byte identical."
ci/powerpc64le-linux-release.sh+5
......@@ -54,6 +54,11 @@ stage3-release/bin/zig build install test docs \
5454 -Dno-lib \
5555 -Dskip-non-native
5656
57# Ensure that the fuzzer at least compiles.
58# https://codeberg.org/ziglang/zig/issues/36862
59#stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe
60#stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug
61
5762# Ensure that stage3 and stage4 are byte-for-byte identical.
5863echo "If the following command fails, it means nondeterminism has been"
5964echo "introduced, making stage3 and stage4 no longer byte-for-byte identical."
ci/riscv64-linux-release.sh+4
......@@ -54,6 +54,10 @@ stage3-release/bin/zig build install test docs \
5454 -Dno-lib \
5555 -Dskip-non-native
5656
57# Ensure that the fuzzer at least compiles.
58stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe
59stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug
60
5761# Ensure that stage3 and stage4 are byte-for-byte identical.
5862echo "If the following command fails, it means nondeterminism has been"
5963echo "introduced, making stage3 and stage4 no longer byte-for-byte identical."
ci/s390x-linux-release.sh+4
......@@ -54,6 +54,10 @@ stage3-release/bin/zig build install test docs \
5454 -Dno-lib \
5555 -Dskip-non-native
5656
57# Ensure that the fuzzer at least compiles.
58stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=ReleaseSafe
59stage3-release/bin/zig build test-std --fuzz=1K -Dno-lib -Dfuzz-only -Doptimize=Debug
60
5761# Ensure that stage3 and stage4 are byte-for-byte identical.
5862echo "If the following command fails, it means nondeterminism has been"
5963echo "introduced, making stage3 and stage4 no longer byte-for-byte identical."