Commit graph

24 commits

Author SHA1 Message Date
Alex Rønne Petersen
52b2ac31e3
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 03:46:36 +01:00
Matthew Lugg
8f86ed78da
ci: final bump to all unit test timeouts
The last commit passed CI, so this final bump is just to allow for
deviation caused by different loads on the runner machines. With this
change, I don't expect any current unit test to ever time out, even when
CI is under extreme load.
2025-10-18 09:32:49 +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
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
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
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
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
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
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