Alex Rønne Petersen
9a69aede0e
ci: add riscv workflow with manual trigger for experimentation
2025-07-16 03:25:10 +02:00
Andrew Kelley
d4a191fc0a
CI: disable RISC-V runners for now
...
these are taking too long. let's use a different workflow for now until
these runs are not holding up the pipeline, then they can be
reintroduced on master branch
2025-07-15 13:54:12 -07:00
Alex Rønne Petersen
a885e8370a
ci: partial revert of f3f2a56859f96cee6f9bc8e8fe14b99ec653abaf
...
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
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
80f2aeb8be
ci: Bump x86_64-linux timeout from 8 hours to 9 hours.
...
The addition of FreeBSD and NetBSD targets to the test matrix in #24013 seems to
be causing timeouts under load. We might need to exclude some of those from CI,
but start by bumping the timeout so we can get a sense of how much more time is
actually needed.
2025-06-04 19:52:38 +02:00
Alex Rønne Petersen
1a08c83eb3
ci: Revert aarch64-linux timeout to GitHub's default 6 hours.
...
We don't seem to be getting non-deterministic hangs since 4f3b59f, and e28b402
cut the run times significantly on top of that. Runs now seem to take around 1-2
hours, so the default timeout should be plenty.
2025-05-30 11:59:33 +02:00
Alex Rønne Petersen
76da028239
ci: Bump aarch64-linux timeout to 9 hours.
...
These seem to be timing out under load lately.
2025-04-14 21:34:19 -04:00
Alex Rønne Petersen
85b3d02f76
ci: Bump x86_64-linux timeout to 8 hours.
...
We were really close to the timeout previously, and we recently added
hexagon-linux and loongarch64-linux to the test matrix.
2025-04-14 21:34:19 -04:00
Alex Rønne Petersen
50cb2fa0a2
ci: Stop triggering the workflow for llvm branches.
...
We usually do a PR for the llvm branches, so triggering a run for the branch
means we do extra work for no reason.
2025-04-04 06:06:39 +02:00
Andrew Kelley
ab381933c8
CI: bump timeout on windows to 7h
2025-02-26 22:29:41 -08:00
Andrew Kelley
c0448a6c7c
CI: remove aarch64-windows checks for now
...
The devkit is a pain in the ass to keep online, I'll add this back
later.
2025-02-09 20:21:42 -08:00
Andrew Kelley
21f0fce28b
CI: update macOS runner to 13
...
Apple has already dropped support for macOS 12.
GitHub Actions is dropping macOS 12 support now.
The Zig project is also dropping macOS 12 support now.
This commit also bumps default minimum macos version to 13.
2024-11-25 15:00:10 -08:00
Andrew Kelley
619e8a8957
CI: run tests in llvm19 branch
2024-09-19 18:20:21 -07:00
sobolevn
9a12905a2d
Only set contents: read permission in GitHub Action
2024-08-28 00:45:22 -07:00
Andrew Kelley
da7c48324b
CI: update macOS runner to 12
...
Apple has already dropped support for macOS 11.
GitHub Actions is dropping macOS 11 support now.
The Zig project is also dropping macOS 11 support now.
2024-07-02 02:04:10 -04:00
Andrew Kelley
e07ad33f1d
update CI tarballs for LLVM 18
...
Also makes the windows CI scripts fetch the tarballs from the network if
not already on disk.
2024-05-08 19:37:29 -07:00
Jacob Young
71ccdb5a66
ci: add self-hosted x86_64 windows
2024-04-14 21:26:09 -04:00
Minsoo Choo
4ba4f94c93
CI: update actions/checkout to v4 ( #19228 )
2024-03-09 16:37:57 -05:00
Andrew Kelley
5234b8be9c
CI: bump aarch64-linux-release timeout to 8 hours
...
Same as 0b8fca5a195278bb5d5fb1ea09a504c30f751415. Whne the system gets
busy, the runs take drastically longer.
2023-10-17 11:35:03 -07:00
Andrew Kelley
0b8fca5a19
CI: bump aarch64-linux-debug timeout to 8 hours
...
When the system gets busy, the runs take drastically longer.
2023-10-16 21:55:11 -07:00
Andrew Kelley
867e61e10b
CI: update macos tarballs
...
Updates from LLVM release/17.x to 17.0.1
2023-09-22 09:43:31 -07:00
Andrew Kelley
749b88c7f3
CI: enable for llvm17 branch
2023-09-19 09:37:32 -07:00
Andrew Kelley
128fd7dd02
CI: -x86_64-macos-debug, +aarch64-macos-debug
...
It's easier to get M1 hardware for testing than x86_64-macos. This
addresses the current bottleneck in our CI pipeline.
2023-06-21 00:37:58 -07:00
Andrew Kelley
fab9b7110e
Merge remote-tracking branch 'origin/master' into llvm16
2023-02-03 12:49:40 -07:00
Andrew Kelley
434124a476
CI: enable checks on llvm16 branch
2023-01-29 19:06:46 -07:00
Andrew Kelley
f68d3c63df
CI: give x86_64-linux-release a little more time
...
When the CPU cores are pegged, the thermal throttling kicks in and makes
jobs take significantly longer.
2023-01-27 14:53:17 -07:00
Andrew Kelley
3ff1f346b0
CI: give aarch64-linux-debug a little more time
2023-01-24 20:32:29 -07:00
Andrew Kelley
3df4707ea7
CI: also test x86_64-macos with a debug zig compiler
2023-01-22 12:14:25 -07:00
Andrew Kelley
73827d2ea9
CI: give x86_64-linux-debug a little more time
2023-01-17 17:21:22 -07:00
Andrew Kelley
7b68b76326
CI: additionally test debug builds on Windows
2023-01-17 13:06:07 -05:00
Andrew Kelley
c9231f0547
CI: add aarch64-windows coverage
2022-12-10 16:28:49 -07:00
Andrew Kelley
dc852f8226
CI: adjust logic for cancelling workflows
...
This prevents clobbering when two contributors' PRs have the same head
ref.
2022-12-05 15:51:10 -07:00
Andrew Kelley
9f9f1aadc7
CI: add aarch64-linux-debug job and flatten dirs
2022-12-01 00:37:47 -07:00
Loris Cro
a2403d354f
ci: remove manual run feature
2022-11-25 22:28:36 +01:00
Loris Cro
5b9d0a446a
ci: windows: fetch before checking out specific commit
2022-11-25 20:46:02 +01:00
Loris Cro
45120f929c
ci: windows: unshallow repository before checking specific commit
2022-11-25 20:41:33 +01:00
Loris Cro
f4c63400f0
ci: give name to manually run workflows
2022-11-25 20:37:15 +01:00
Loris Cro
c59d60893b
ci: windows: prevent del errors when the directory doesn't exist
2022-11-25 20:35:39 +01:00
Loris Cro
e096f972d0
ci: windows: use correct windows powershell syntax
2022-11-25 20:19:25 +01:00
Loris Cro
bc90f2ae3c
ci: when running the workflow manually, preserve newer ci folder
...
This is the main way this feature is supposed to work:
1. you discover that a test started failing at some point
but a misconfiguration in the CI script didn't catch that
causing a bunch of false negative (ie false green) CIs
over time
2. you fix the script and now want to figure out when the
test started failing
3. you want to rebuild older commits, potentially only on specific
targets, but with the new fixed CI script that correctly
catches failures
This is what this commit enables
2022-11-25 20:08:57 +01:00
Loris Cro
764651c840
ci: fix syntax error in workflow file
2022-11-25 20:02:51 +01:00
Loris Cro
f1ec438069
ci: introduce support for manual runs on specific commit & targets
2022-11-25 19:57:36 +01:00
Loris Cro
a3552a6c50
ci: remove gh action job output as it's not used anymore
2022-11-24 16:53:22 +01:00
Loris Cro
dcb16731cf
ci: cancel pending CI jobs when a PR gets updated
2022-11-24 00:07:58 +01:00
Loris Cro
bcb8ef50ff
ci: fix zig executable path to obtain zig version
2022-11-24 00:05:46 +01:00
Loris Cro
5453ec86eb
ci: only run CI on pull requests and master branch pushes
...
To get the CI to run on branches other than master, create a corresponding PR.
2022-11-23 03:00:39 +01:00
Andrew Kelley
b3b507ad8f
CI: disable building tarballs; x86 self-hosted
2022-11-22 14:13:58 -07:00
Loris Cro
942a104457
ci: use test a job to provide ZIG_VERSION to build-tarball job
2022-11-22 13:40:31 -07:00