Matthew Lugg
f4315a0a57
ci: bump unit test timeouts
...
i am in purgatory as a punishment bestowed upon me for daring to
question the sanctity of windows' scheduler
2025-10-18 09:28:44 +01:00
Matthew Lugg
50056a5b3a
compiler: rename --test-timeout-ms to --test-timeout
...
The unit can now be specified in the argument.
2025-10-18 09:28:43 +01:00
Matthew Lugg
db8330adaf
ci: add unit test timeouts to loongarch and x86_64-freebsd
2025-10-18 09:28:43 +01:00
mlugg
a7251e4191
ci: bump unit test timeouts
2025-10-18 09:28:43 +01:00
mlugg
b43bb3a32a
ci: set unit test timeouts
2025-10-18 09:28:42 +01:00
Alex Rønne Petersen
493ad58ff7
Revert "ci: enable running libc-test on x86_64-linux-release"
...
This reverts commit fcfdf99122 .
This added too much load to the x86_64-linux machines, resulting in timeouts
pretty much across the board.
2025-10-15 21:30:25 +02:00
Alex Rønne Petersen
595cd8935a
ci: update to QEMU 10.1.1
2025-10-15 01:33:52 +02:00
Alex Rønne Petersen
4edebf40d5
Merge pull request #25402 from alexrp/libc-test-ci
...
`ci`: enable running libc-test on `x86_64-linux-release`
2025-10-14 21:29:57 +02:00
Alex Rønne Petersen
c4b7caa528
ci: run the docs step on loongarch64-linux
2025-10-04 21:02:43 +02:00
Alex Rønne Petersen
2aa9dd44a5
ci: we don't require s3cmd anymore
2025-10-01 13:00:22 +02:00
Alex Rønne Petersen
781cc731ed
ci: move Git repository unshallowing to the workflow
2025-10-01 13:00:22 +02:00
Alex Rønne Petersen
acf8d5234f
ci: stop requiring an ARCH environment variable to be set
2025-10-01 13:00:22 +02:00
Alex Rønne Petersen
fcfdf99122
ci: enable running libc-test on x86_64-linux-release
2025-10-01 03:25:25 +02:00
Alex Rønne Petersen
e79a00adf6
ci: bump x86_64-freebsd max_rss from 30G to 40G
2025-10-01 01:08:31 +02:00
Alex Rønne Petersen
01a2989fcc
ci: run test-error-traces on riscv64-linux
2025-10-01 01:06:15 +02:00
Alex Rønne Petersen
032df7202a
ci: remove -Dskip-translate-c from riscv64-linux scripts
...
This no longer exists and caused the build to fail.
2025-09-27 18:39:03 +02:00
Alex Rønne Petersen
be24821464
ci: remove superfluous -Dtarget=native-native-none in x86_64-freebsd scripts
2025-09-26 02:41:28 +02:00
Alex Rønne Petersen
459ad8c8e6
ci: stop passing -Dskip-translate-c -Dno-langref on loongarch64-linux
...
No longer necessary since we've stopped using Clang for this.
2025-09-26 01:33:38 +02:00
Alex Rønne Petersen
26825e9506
Merge pull request #25324 from alexrp/freebsd
...
Some changes to prepare for FreeBSD CI
2025-09-22 05:04:31 +02:00
Alex Rønne Petersen
16c18b835e
ci: stop building FreeBSD module tests on x86_64-linux
...
They're now built on the x86_64-freebsd machine.
2025-09-22 01:39:29 +02:00
alexrp
3675074c7c
ci: add x86_64-freebsd scripts
2025-09-22 01:37:32 +02:00
Jacob Young
f58200e3f2
Elf2: create a new linker from scratch
...
This iteration already has significantly better incremental support.
Closes #24110
2025-09-21 14:09:14 -07:00
Andrew Kelley
2a97e0af6d
CI: stop testing x86_64-macos
...
There are two reasons for this:
1. Apple is about to drop support for this target. Zig will keep support
but move it to a lower tier - one that does not require continuous CI
testing. Support for this target will be maintained by the enthusiasm
of contributors but will not block other bug fixes and enhancements.
2. This is our only non-self-hosted action runner. We are migrating away
from GitHub soon at which point this runner will no longer be
available.
2025-09-21 12:36:50 -07:00
Alex Rønne Petersen
c26c5a3c1b
ci: add loongarch64-linux scripts
2025-09-18 12:42:24 +02:00
Alex Rønne Petersen
fc20677fde
test: remove test-compare-output and test-asm-link tests
...
These were low value and unfocused tests. We already have coverage of the
important aspects of these tests elsewhere. Additionally, there was really no
need for these to have their own test harness.
2025-09-16 14:51:03 +02:00
Alex Rønne Petersen
8896046b11
ci: update tarballs to 0.16.0-dev.104+689461e31
2025-08-30 13:27:25 +02:00
Alex Rønne Petersen
98e9dde389
ci: update to QEMU 10.1.0
2025-08-29 10:52:32 +02:00
Alex Rønne Petersen
493265486c
Revert "ci: target baseline instead of spacemit_x60 on riscv64-linux"
...
This reverts commit fa445d86a1 .
Narrator: It did, in fact, make a difference.
For whatever reason, building LLVM against spacemit_x60 or baseline makes no
noticeable difference in terms of performance, but building the Zig compiler
against spacemit_x60 does. Also, the miscompilation that was causing
riscv64-linux-debug to fail was in the LLVM libraries, not in the Zig compiler,
so we may as well take the win here.
2025-08-03 22:40:13 +02:00
Alex Rønne Petersen
fa445d86a1
ci: target baseline instead of spacemit_x60 on riscv64-linux
...
Doesn't seem to make much of a difference anyway, and LLVM 20 appears to still
have some miscompilations with vector and bitmanip extensions enabled.
2025-08-03 11:05:04 +02:00
Alex Rønne Petersen
930c6ca49d
ci: don't run test-standalone on riscv64-linux
2025-08-02 09:34:55 +02:00
Alex Rønne Petersen
a0e58501af
ci: use -Dskip-compile-errors on riscv64-linux
2025-08-02 09:34:55 +02:00
Alex Rønne Petersen
761857e3f9
ci: temporarily disable test-link on riscv64-linux
...
https://github.com/ziglang/zig/issues/24663
2025-08-02 09:34:53 +02:00
Alex Rønne Petersen
32c9e5df89
ci: skip single-threaded module tests on riscv64-linux
2025-07-17 19:40:59 +02:00
Alex Rønne Petersen
7da4e30da7
ci: skip translate-c tests on riscv64-linux
2025-07-17 19:37:42 +02:00
Alex Rønne Petersen
df92193941
ci: skip building docs on riscv64-linux
2025-07-17 19:34:46 +02:00
Alex Rønne Petersen
33041fdbe5
ci: increase max rss for riscv64-linux back to 64G
2025-07-17 14:12:05 +02:00
Alex Rønne Petersen
3473e6dc26
ci: skip building and checking stage4 on riscv64-linux
2025-07-15 02:37:26 +02:00
Alex Rønne Petersen
96ad898ab8
ci: skip some test steps on riscv64-linux
...
Specifically:
* test-fmt
* test-translate-c
* test-run-translated-c
* test-cli
* test-incremental
2025-07-15 02:36:46 +02:00
Alex Rønne Petersen
a885e8370a
ci: partial revert of f3f2a56859
...
While I experiment with ways to cut down run times, run on master only.
2025-07-15 02:27:58 +02:00
Alex Rønne Petersen
f3f2a56859
ci: make changes to riscv64-linux to try to avoid timeouts
...
The idea is to have 2 runners per machine, since a lot of time is spent building
stage3 and stage4, both of which are largely single-core affairs. This will make
the test steps take longer, however, so the timeouts have been bumped a bit, and
max RSS for the test step has been lowered from 64G to 32G to prevent OOM.
Finally, we now only run a single ReleaseSafe job on PRs; Debug and Release jobs
are limited to pushes.
2025-07-15 01:30:46 +02:00
Alex Rønne Petersen
bd97b66186
ci: Add riscv64-linux-debug and riscv64-linux-release
2025-07-12 03:24:28 +02:00
Alex Rønne Petersen
7c709f920b
ci: Update to QEMU 10.0.2
2025-07-09 11:06:13 +02:00
Andrew Kelley
5a52da1b7a
CI: skip llvm backend tests in the script for testing x86 backend
2025-06-06 23:42:15 -07:00
Andrew Kelley
125a9aa82b
restore debug llvm CI coverage
...
and reduce redundant coverage in slow runs to save time
2025-06-06 23:42:15 -07:00
Alex Rønne Petersen
e28b4027ee
ci: Skip building non-native tests on aarch64-linux.
...
Because we don't pass -fqemu and -fwasmtime on aarch64-linux, we're just
spending a bunch of time compiling all these module tests only to not even run
them. x86_64-linux already covers both compiling and running them.
2025-05-28 11:03:39 +02:00
Andrew Kelley
35ba8d95a1
CI: bump maxrss for aarch64 linux
...
Reduced number of runners from 9 to 6.
This number is the total physical memory (251G) divided by the number of
runners we have active (6).
see previous commit 5b9e528bc5
2025-05-24 11:36:30 -07:00
Andrew Kelley
cefe65c1b8
ci: update tarballs to 0.15.0-dev.203+53270f008
...
these have assertions enabled
2025-04-04 15:28:18 -07:00
Alex Rønne Petersen
4b360a1ff0
ci: Update tarballs to 0.15.0-dev.203+53270f008.
2025-04-04 06:08:10 +02:00
Alex Rønne Petersen
09783b8544
ci: Build stage4 and run behavior tests with it on aarch64-linux-debug.
...
This ensures that we at least have some relatively lightweight coverage of
building and using stage4 from a newly built stage3.
2025-03-27 00:22:54 +01:00
Alex Rønne Petersen
27108cc99e
ci: Don't do the update-zig1 test steps on aarch64-linux.
...
We already do these on the x86_64-linux machines. They're fairly costly, and it
seems very unlikely to me that they'll uncover issues that wouldn't be uncovered
on x86_64-linux.
2025-03-26 16:30:21 +01:00