Commit Graph

32 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 a85495ca22 ci: update more system deps comments 2026-03-27 05:11:53 +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
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 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 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
Jacob Young 6ef3af4c1c ci: remove hardcoded paths in aarch64-macos scripts 2025-11-25 22:24:19 +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 b43bb3a32a ci: set unit test timeouts 2025-10-18 09:28:42 +01: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 8896046b11 ci: update tarballs to 0.16.0-dev.104+689461e31 2025-08-30 13:27:25 +02: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 1cbfdb4244 ci: Set ZIG_GLOBAL_CACHE_DIR and ZIG_LOCAL_CACHE_DIR earlier.
Otherwise the disk just keeps getting filled up.

Also remove some pointless cleanup commands since the actions/checkout workflow
step already cleans the repository by default.
2025-01-29 11:46:53 -08:00
Andrew Kelley 38af1b7ed1 CI: update tarballs to 0.14.0-dev.1622+2ac543388 2024-09-19 18:20:22 -07:00
Andrew Kelley 0d7a9c4806 CI: update tarballs
This time the LLVM builds have assertions enabled.

Also the zig builds support `-rtlib=none` for disabling compiler-rt.
2024-09-19 18:20:21 -07:00
Andrew Kelley c234655e35 CI: update tarballs to LLVM 19.1.0rc4
oops, I forgot to enable LLVM assertions though
2024-09-19 18:20:21 -07:00
Alex Rønne Petersen 1045537141 Revert "ci: Enable -Dtest-slow-targets."
This reverts commit 55cc9dda66.
2024-08-18 12:35:57 -04:00
Alex Rønne Petersen 55cc9dda66 ci: Enable -Dtest-slow-targets. 2024-08-14 07:03:23 +02:00
Jacob Young 8ab70f80cb ci: update aarch64-macos for a persistent work dir 2024-07-17 21:52:28 -04:00
Andrew Kelley 74f52954b9 update tarballs to 0.13.0-dev.130+98a30acad 2024-05-08 23:17:08 -07:00
Andrew Kelley b018f2bae1 CI: download tarball if not already present on macos runners 2024-05-08 19:37:29 -07: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
Andrew Kelley f545fc28b3 build: pass --abbrev to git rather than relying on global config
For computing the zig version number, pass --abbrev=9 rather than
requiring the user to set their git configuration in order to make zig
versions match the standard.
2023-12-19 00:54:48 -08: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 fe63d15d07 CI: update all tarball URLs
These contain LLVM 17 as well as a fix to zig to add
`-fno-sanitize=function` to the clang command line.
2023-09-19 09:37:53 -07:00
Andrew Kelley 6e4fff6ba6 move installation logic to the build script where it belongs
* build.zig: introduce `-Dflat` option which makes the installation
  match what we want to ship for our download tarballs. This allows
  deleting a bunch of shell script logic from the CI.
  - for example it puts the executable directly in prefix/zig rather
    than prefix/bin/zig and it additionally includes prefix/LICENSE.
* build.zig: by default also install std lib documentation to doc/std/
  - this can be disabled by `-Dno-autodocs` similar to how there is
    already `-Dno-langref`.
* build.zig: add `std-docs` and `langref` steps which build and install
  the std lib autodocs and langref to prefix/doc/std and
  prefix/doc/langref.html, respectively.

* std.Build: implement proper handling of `-femit-docs` using the
  LazyPath system. This is a breaking change.
  - this is a partial implementation of #16351
* frontend: fixed the handling of Autodocs with regards to caching and
  putting the artifacts in the proper location to integrate with the
  build system.
  - closes #15864

* CI: delete the logic for autodocs since it is now handled by build.zig
  and is enabled by default.
  - in the future we should strive to have nearly all the CI shell
    script logic deleted in favor of `zig build` commands.
* CI: pass `-DZIG_NO_LIB=ON`/`-Dno-lib` except for the one command where
  we want to actually generate the langref and autodocs. Generating the
  langref takes 14 minutes right now (why?!) so we don't want to do that
  more times than necessary.

* Autodoc: fixed use of a global variable. It works fine as a local
  variable instead.
  - note that in the future we will want to make Autodoc run
    simultaneously using the job system, but for now the principle of
    YAGNI dictates that we don't have an init()/deinit() API and instead
    simply call the function that does the things.
* Autodoc: only do it when there are no compile errors
2023-07-22 00:16:27 -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