Alex Rønne Petersen
17b16b5472
ci: skip compile error tests on aarch64-openbsd and riscv64-linux
...
As with single-threaded tests, near-zero value is gained from running these, and
we need to cut run times on these platforms.
2026-10-08 13:53:08 +02:00
Alex Rønne Petersen
fc968c010e
ci: skip single-threaded tests on aarch64-openbsd and riscv64-linux
...
There's almost zero value in running these across architectures as long as
there's coverage for every OS. For most CI platforms, we do it because we might
as well with the capacity we have, but our aarch64-openbsd and riscv64-linux
machines are not quite beefy enough that we can afford to waste valuable CI time
on these tests.
2026-10-08 13:53:08 +02:00
Alex Rønne Petersen
475e9101b1
ci: update tarballs to 0.18.0-dev.92+1e1964473
2026-10-07 06:15:25 +02:00
Jacob Young
655bee8c75
test: convert debugger tests to new runner
2026-10-02 09:10:10 -04:00
Alex Rønne Petersen
f94185e677
ci: update QEMU to 11.1.1.1
...
https://codeberg.org/ziglang/qemu-static/releases/tag/11.1.1.1
Required for https://codeberg.org/ziglang/zig/issues/31325 .
2026-09-26 15:54:16 +02:00
Alex Rønne Petersen
b3eb800e2f
ci: bump aarch64-openbsd test timeout from 2m to 4m
...
Matches aarch64-freebsd and aarch64-netbsd. Necessary for some crypto tests
under heavy load.
2026-09-22 21:32:53 +02:00
Alex Rønne Petersen
77e87f4e05
ci: switch s390x-linux mcpu from z15 to baseline
...
This was the only CI platform that was using a non-baseline mcpu. I originally
made this change thinking it made the CI runs faster, but I only later realized
that the s390x VM hosts are badly oversubscribed, so the few runs I did aren't
really useful data points. Also looking at the actual ISA features added between
baseline (z13) and z15, they seem almost entirely irrelevant for a codebase like
the Zig compiler.
2026-09-18 11:14:02 +02:00
Alex Rønne Petersen
b7104c95f2
ci: enable basic fuzzer testing on more platforms
2026-09-17 09:16:30 +02:00
Alex Rønne Petersen
4e9417c201
ci: fold stage4 build into zig build test docs invocation
...
supersedes https://codeberg.org/ziglang/zig/pulls/36704
2026-09-10 09:30:30 +02:00
Alex Rønne Petersen
114af83d3f
ci: remove -Dskip-test-incremental from windows scripts
...
Seems to have been missed in https://codeberg.org/ziglang/zig/pulls/36706 .
2026-09-09 18:22:16 +02:00
Alex Rønne Petersen
49f6f8766d
ci: add stage4 build + behavior tests to *-windows-debug scripts
...
Consistent with all other platforms.
2026-09-09 18:22:16 +02:00
Alex Rønne Petersen
1c7de8420f
ci: zig -> zig.exe in windows scripts for consistency
2026-09-09 18:22:16 +02:00
Alex Rønne Petersen
47f132b770
ci: use CMAKE_{C,CXX}_COMPILER instead of the CC/CXX env dance
2026-09-09 18:22:16 +02:00
Alex Rønne Petersen
b877cf3fe5
ci: remove unnecessary comments
2026-09-09 18:22:16 +02:00
Alex Rønne Petersen
89fba48279
ci: remove stale CMake workaround in x86_64-linux-release
...
Missed in 3dfcba86b8 .
2026-09-09 18:22:16 +02:00
Alex Rønne Petersen
021e0ab070
ci: consistently pass -Dcpu=$MCPU along with -Dtarget=$TARGET
2026-09-09 18:22:16 +02:00
Alex Rønne Petersen
a644be7ee0
ci: add $HOME/local/bin to PATH in all scripts
...
Not strictly needed, but:
1. It makes the scripts easier to diff.
2. It makes adding local binaries easier.
2026-09-09 18:22:16 +02:00
Alex Rønne Petersen
2f30d5b9a8
ci: use mkdir -p to create the build directory
...
This is just a bit more convenient when testing the CI scripts locally.
2026-09-09 18:22:16 +02:00
Alex Rønne Petersen
2782acad02
ci: add aarch64-windows-debug script
2026-09-09 18:22:16 +02:00
Alex Rønne Petersen
480f6a47ad
ci: bring aarch64-windows script in line with x86_64-windows-release
2026-09-09 18:22:16 +02:00
Alex Rønne Petersen
1dd182d24b
ci: bump aarch64-openbsd tarballs to 0.17.0-dev.2030+f955266cf
2026-09-05 17:50:34 +02:00
Alex Rønne Petersen
969a359d14
ci: remove -Denable-superhtml in aarch64-linux scripts
...
We already run it on x86_64-linux.
2026-09-05 17:49:26 +02:00
Alex Rønne Petersen
c36ab59a3b
ci: bring riscv64-linux scripts in line with the rest
2026-09-05 07:20:28 +02:00
Alex Rønne Petersen
91b941f547
ci: add aarch64-openbsd scripts
2026-09-05 07:09:10 +02:00
Jacob Young
980bf80036
Dwarf2: add testing and enable passing tests
...
- fix some bit-rotted documentation
- fix some non-determinism that was causing these tests to be flaky
- also update padding on moved/resized events
- make `unit_padding` a header node
- refactor out `ifPos`
2026-09-03 13:00:54 -04:00
Alex Rønne Petersen
107eafe87e
ci: fix --maxrss being passed to the wrong command in aarch64-macos-release
2026-08-30 22:08:05 +02:00
Alex Rønne Petersen
85781eb71d
ci: update QEMU to 11.1.1
...
https://codeberg.org/ziglang/qemu-static/releases/tag/11.1.1
closes https://codeberg.org/ziglang/zig/issues/36655
2026-08-29 06:25:28 +02:00
Alex Rønne Petersen
40ebd81622
ci: update QEMU to 11.1.0
...
https://codeberg.org/ziglang/qemu-static/releases/tag/11.1.0
2026-08-23 15:18:57 +02:00
Andrew Kelley
a06534d73a
compiler: eliminate ZIG_DEBUG_MAKER
...
Just use ZIG_DEBUG_CMD the same as the other jit commands. Originally
this was working around a CI issue but that is no longer the case.
ZIG_DEBUG_MAKER is a new env var that didn't make it to any release tag
yet. Let's revert it to keep number of env vars more minimal.
2026-08-05 18:43:50 +02:00
Alex Rønne Petersen
01e5c18856
ci: don't test all architectures on x86_64-freebsd
...
See: https://codeberg.org/ziglang/zig/issues/30932#issuecomment-18469709
These targets get built on x86_64-linux-release anyway.
2026-08-05 10:58:31 +02:00
Andrew Kelley
7004ceff01
ci: don't set zig lib dir for zig cc
2026-06-29 23:50:20 -07:00
Andrew Kelley
f7e36077e4
maker gets its own ZIG_DEBUG_MAKER env var
...
it can be useful to only set this and not the other one, or vice versa
2026-06-29 23:50:20 -07:00
Andrew Kelley
cd28a740b7
CI: update --maker-opt=Debug to ZIG_DEBUG_CMD
2026-06-29 23:50:20 -07:00
Andrew Kelley
d4b7050555
cmake: remove --zig-lib-dir arg from zig build
...
This demonstrates one of the downsides of the approach in this branch:
since `zig build` CLI is intentionally unaware of the command line
parsing that will be done by the child process, it cannot obtain zig lib
dir override from the command line even as it needs that information in
order to build the subcommand.
Consequently, zig lib dir has to be passed via env var. CMake does not
provide a way to do this. So instead we rely on Zig's automatic lookup
functionality.
This could be mitigated by adding CLI arg parsing that happens *before*
the subcommand. I find this kind of special case to be awkward and
unpleasant however. I think it's better to simply remove the ability to
pass `--zig-lib-dir` to `zig build`.
2026-06-29 23:50:19 -07:00
Andrew Kelley
3109e77474
Revert "CI: skip test-incremental on freebsd"
...
This reverts commit aeec09ebb6 .
The actual tracking issue is #31520 but the problem is originating
inside Clang, making it difficult to selectively disable test coverage
or even troubleshoot the issue.
Furthermore it has been observed, albeit rarely, in any Zig process
execution that involves invoking Clang.
I apologize for the noise.
2026-06-29 16:37:41 -07:00
Andrew Kelley
aeec09ebb6
CI: skip test-incremental on freebsd
...
due to flaky test failures
tracked by #35986
2026-06-29 14:33:46 -07:00
Alex Rønne Petersen
175589fc71
ci: update QEMU to v11.0.2
2026-06-28 20:36:00 +02:00
Alex Rønne Petersen
7c832740e0
ci: update Wasmtime to v46.0.1
2026-06-26 16:54:47 +02:00
Alex Rønne Petersen
dde807f515
Merge pull request 'ci: update libc-test to b95fe84' ( #35694 ) from alexrp/zig:update-libc-test into master
...
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/35694
2026-06-12 06:01:05 +02:00
Alex Rønne Petersen
2b2b85c5f5
ci: bump unit test timeout for aarch64-freebsd from 2m to 4m
...
To match aarch64-netbsd since they run on the same (virtualized) hardware.
2026-06-11 17:13:33 +02:00
Alex Rønne Petersen
1e6ee420f7
ci: update libc-test to b95fe84
2026-06-09 23:15:22 +02:00
Jacob Young
3a0d766fc3
lldb: simplify some abbrevs, test simple type names
2026-06-02 19:48:53 +02:00
Alex Rønne Petersen
a3508c4b3a
ci: update to QEMU 11.0.1
2026-05-28 04:03:00 +02:00
Jacob Young
2a07273224
lldb: fix and test some regressions
2026-05-28 01:41:37 +02:00
Andrew Kelley
4d56c66362
Merge pull request 'Maker: memory usage optimizations' ( #35471 ) from build-runner-process into master
...
Reviewed-on: https://codeberg.org/ziglang/zig/pulls/35471
2026-05-27 00:48:11 +02:00
Jacob Young
5940f65503
lldb: update for upcoming hash map rename
2026-05-26 19:32:01 +02:00
Andrew Kelley
33680ced58
CI: switch which script gets --maker-opt=Debug
2026-05-26 09:03:34 -07:00
Andrew Kelley
1c8d50e062
ci: remove redundant comment
...
it says it right there in the echo text afterwards
2026-05-25 18:54:36 -07:00
Andrew Kelley
9b6dd7ee5c
zig build CLI: change --debug-maker to --maker-opt=[mode]
...
the --debug- prefixed args are reserved for compiler debugging flags.
2026-05-25 18:54:36 -07:00
Andrew Kelley
e7546f8dfd
CI: --debug-maker in ci/x86_64-linux-debug-llvm.sh
...
in case any build system bugs are introduced this will make it quicker
to find the cause.
2026-05-25 18:54:36 -07:00