765 Commits

Author SHA1 Message Date
Alex Rønne Petersen 8443e2ab43 ci: update tarballs to 0.17.0-dev.203+073889523 2026-04-25 22:02:35 +02:00
Alex Rønne Petersen 73c51c142c ci: update QEMU to 11.0.0 2026-04-22 16:31:08 +02:00
glowsquid 0b768cd9dd zig reduce: fix compilation (#31930)
fixes #31926

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31930
Reviewed-by: Andrew Kelley <andrew@ziglang.org>
2026-04-22 02:00:41 +02:00
Andrew Kelley 29532177c1 CI: add coverage for fuzzer compiling
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.
2026-04-16 19:42:23 +02:00
Alex Rønne Petersen a85495ca22 ci: update more system deps comments 2026-03-27 05:11:53 +01:00
Alex Rønne Petersen 142703ba51 ci: x86_64-linux-release requires cc 2026-03-27 04:42:05 +01:00
Alex Rønne Petersen 54b3484256 Revert "disable flaky test: aarch64-macos stage3/4 nondeterminism check"
This reverts commit 8669898819.
2026-03-25 20:40:29 +01:00
Alex Rønne Petersen 3de16858f7 ci: update to qemu 10.2.2 2026-03-25 00:51:40 +01:00
fardragon 4acecad933 bootstrap.c: work around the gcc sra miscomp using preprocessor checks rather than CLI arg (#31589)
Closes #31577
I've also extended the "good" ranges to fit versions >14.3 and >13.4, since both of these branches have the fix merged so if they ever make a dot release it should be good.

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31589
Reviewed-by: Andrew Kelley <andrew@ziglang.org>
Co-authored-by: fardragon <michaldrozd@protonmail.ch>
Co-committed-by: fardragon <michaldrozd@protonmail.ch>
2026-03-20 04:55:51 +01:00
Jacob Young 9ac1386c10 std.Io.Threaded: windows networking without ws2_32 2026-03-18 20:13:59 -04:00
Alex Rønne Petersen 08416b44f9 ci: build compiler for baseline instead of spacemit_x60 on riscv64-linux 2026-03-18 22:29:01 +01:00
Matthew Lugg 57114044db Revert "ci: disable incremental tests"
Since we don't know what causes the various flaky test-incremental
failures we've seen, and this branch changes a bunch of incremental
stuff, let's try turning these back on... maybe they'll magically work
now!

This reverts commit 953ca759c2.
2026-03-10 11:28:36 +00:00
Matthew Lugg a5219cd288 bootstrap: work around GCC bug
GCC bug 119085, which affects versions 13.0--15.1, is being triggered by
the C backend, resulting in a (small but critical) miscompilation in
zig2. Unfortunately, we can't really work around that bug without a
command-line flag, because the bug is sensitive to things like the order
in which `struct` types are defined.

Therefore, I have added an option to `bootstrap.c` which causes it to
pass the appropriate flag to `gcc` to disable the optimization pass in
question. This flag can likely be removed in future, once the affected
GCC versions become less common.

At least one of our x86_64-linux CI machines is using an affected GCC
version, so I also updated the relevant CI script to pass this flag when
testing no-LLVM bootstrap.

CMakeLists also has a workaround, but no user intervention is required
there: the GCC version range is automatically detected by CMakeLists.
2026-03-10 10:26:15 +00:00
Alex Rønne Petersen 2c126b8c82 ci: enable --libc-runtimes with glibc 2.43 and musl 1.2.5 on x86_64-linux 2026-03-08 18:28:05 +01:00
Alex Rønne Petersen 571543237f ci: update to wasmtime 42.0.1 2026-03-04 21:29:48 +01:00
Alex Rønne Petersen 96a19d3a6b ci: stop downloading tarballs on x86_64-windows
It's annoying to have jobs fail on new machines or when switching tarball. Also
quirky is easily accessible over SSH now, so we can just upload tarballs as we
do for other machines.
2026-03-03 23:28:01 +01:00
Alex Rønne Petersen ac24e6caf5 Merge pull request 'enable aarch64-netbsd CI' (#31377) from alexrp/zig:aarch64-netbsd-ci into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31377
2026-03-03 01:25:45 +01:00
Alex Rønne Petersen 421c3c3cc5 ci: update qemu to 10.2.1.1
https://patchwork.kernel.org/project/qemu-devel/list/?series=1059138
2026-03-02 19:25:09 +01:00
Alex Rønne Petersen d182feacf7 ci: add aarch64-netbsd scripts 2026-03-02 15:08:37 +01:00
Alex Rønne Petersen 41594c1903 Merge pull request 'enable aarch64-freebsd CI' (#31354) from alexrp/zig:aarch64-freebsd-ci into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31354
2026-02-28 08:19:51 +01:00
Alex Rønne Petersen b3c8c0df0d ci: switch to VS 2026 in x86_64-windows scripts 2026-02-28 07:08:06 +01:00
Alex Rønne Petersen d130f76bab ci: add aarch64-freebsd scripts 2026-02-27 08:49:27 +01:00
Alex Rønne Petersen 0fd8dc8ea6 ci: update to qemu 10.2.1 2026-02-17 19:16:25 +01:00
Jacob Young b5bd494606 std.Threaded: replace more kernel32 functions with ntdll 2026-02-07 00:02:50 -05:00
Alex Rønne Petersen 6ce0dd1a81 ci: run test-libc on x86_64-linux-debug-llvm and x86_64-linux-release 2026-02-03 17:19:16 +01:00
Alex Rønne Petersen 953ca759c2 ci: disable incremental tests
Too much flakiness across the board: https://codeberg.org/ziglang/zig/issues?q=&type=all&sort=relevance&labels=747060&state=open&milestone=0&project=0&assignee=0&poster=0
2026-01-21 17:21:05 +01:00
Alex Rønne Petersen 85580951a7 ci: add x86_64-netbsd scripts 2026-01-21 17:21:03 +01:00
Alex Rønne Petersen b671baee1a ci: cut down the amount of stuff being run on riscv64-linux 2026-01-12 18:35:49 +01:00
Matthew Lugg 6069161a51 link.Wasm: reserve sufficient capacity for @tagName function code
Resolves: https://codeberg.org/ziglang/zig/issues/30748
2026-01-09 03:49:24 +01:00
Alex Rønne Petersen d1be8b138e Merge pull request 'enable x86_64-openbsd CI' (#30733) from alexrp/zig:openbsd-ci into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/30733
2026-01-08 12:35:11 +01:00
Alex Rønne Petersen cc38acfea3 ci: skip incremental tests on loongarch64-linux
https://codeberg.org/ziglang/zig/issues/30748
2026-01-08 07:01:57 +01:00
Alex Rønne Petersen 7c239b048a ci: add x86_64-openbsd scripts 2026-01-07 05:42:50 +01:00
Alex Rønne Petersen 63eb395729 ci: build test stage3 on powerpc64le-linux with long calls
Necessary to work around this:

    error: ld.lld: /home/ci/.cache/act/f23fdcb74e58cd75/hostexecutor/zig-global-cache/o/c67e3042d116da0f73d3129d377044bf/libc++abi.a(/home/ci/.cache/act/f23fdcb74e58cd75/hostexecutor/zig-global-cache/o/61dd7765ab891b4db54a5e49b8ab8c86/cxa_thread_atexit.o):(function __cxa_thread_atexit: .text.__cxa_thread_atexit+0x40): relocation R_PPC64_REL24_NOTOC out of range: -251925824 is not in [-33554432, 33554431]; references '__cxa_thread_atexit_impl'
        note: referenced by cxa_thread_atexit.cpp:116 (/home/ci/.cache/act/f23fdcb74e58cd75/hostexecutor/lib/libcxxabi/src/cxa_thread_atexit.cpp:116)
        note: defined in /home/ci/.cache/act/f23fdcb74e58cd75/hostexecutor/zig-global-cache/o/c67e3042d116da0f73d3129d377044bf/libc++abi.a(/home/ci/.cache/act/f23fdcb74e58cd75/hostexecutor/zig-global-cache/o/61dd7765ab891b4db54a5e49b8ab8c86/cxa_thread_atexit.o)

This is only a problem for now because we link libLLVM; once we start invoking
llc instead, we won't need this workaround anymore.
2026-01-06 21:15:38 +01:00
Alex Rønne Petersen 64f5ef8880 ci: add powerpc64le-linux scripts 2026-01-06 21:15:38 +01:00
Alex Rønne Petersen e226df2ed5 Merge pull request 'add OpenBSD libc cross-compilation support' (#30064) from alexrp/zig:openbsd into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/30064
Reviewed-by: Andrew Kelley <andrewrk@noreply.codeberg.org>
2026-01-06 16:12:54 +01:00
Alex Rønne Petersen d757d5e6b2 Merge pull request 'some CI script improvements' (#30177) from alexrp/zig:ci-stuff into master
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/30177
2026-01-06 09:56:15 +01:00
Alex Rønne Petersen 435b8411b5 ci: update to qemu 10.2.0 2026-01-06 09:55:09 +01:00
Alex Rønne Petersen b318ee6cda ci: pass -Dskip-openbsd on x86_64-freebsd and x86_64-linux-debug(-llvm) 2026-01-05 16:50:46 +01:00
Alex Rønne Petersen 6f2e7afc30 ci: build stage4 and run behavior tests with it on aarch64-macos-debug
We do this in most other debug jobs, so seems sensible to do here too.
2026-01-05 15:41:16 +01:00
Alex Rønne Petersen faa485e630 ci: build stage4 and run behavior tests with it on x86_64-linux-debug(-llvm)
This was removed in 125a9aa82b. But now that our
x86_64-linux machines have had their resources properly allocated, resulting in
runs taking 1-3 hours rather than 4-8, we can add this back.
2026-01-05 15:41:16 +01:00
Andrew Kelley 8669898819 disable flaky test: aarch64-macos stage3/4 nondeterminism check
tracked by #30687
2026-01-04 23:43:19 -08:00
Alex Rønne Petersen 4724774433 ci: apply workaround for #22213 to x86_64-linux scripts
This should be reverted on the next CI tarballs update.
2025-12-05 07:32:43 +01:00
Alex Rønne Petersen 78cba86928 ci: set maxrss from $ZSF_MAX_RSS if provided by the runner
All of our runners now define this. When running a CI script locally, this will
not be set, so we default to 0, aka "all available system memory".
2025-12-04 20:06:48 +01:00
Alex Rønne Petersen e270c97ed1 ci: don't skip release mode tests on x86_64-windows-debug
pulsar is much faster than george so we don't need to do this anymore.
2025-12-04 03:46:36 +01:00
Alex Rønne Petersen c21ce53494 ci: skip spirv and wasm tests on x86_64-freebsd
These are already built and run on x86_64-linux.
2025-12-04 03:46:36 +01:00
Alex Rønne Petersen be9649f4ea ci: set a sensible maxrss in x86_64-windows scripts 2025-12-03 00:24:58 +01:00
Alex Rønne Petersen a38220376e Revert "ci: apply workaround for #22213 to x86_64-linux scripts"
This reverts commit a8f9b5dc06.
2025-11-28 22:57:33 +01:00
Alex Rønne Petersen a8f9b5dc06 ci: apply workaround for #22213 to x86_64-linux scripts 2025-11-28 22:06:46 +01:00
Jacob Young 6ef3af4c1c ci: remove hardcoded paths in aarch64-macos scripts 2025-11-25 22:24:19 +01:00
Andrew Kelley 3f2cf1c002 CI: skip test-incremental on Windows
Tracked by #22510
2025-11-22 08:09:25 -08:00