Commit Graph

740 Commits

Author SHA1 Message Date
Andrew Kelley 02456a32ad CI: make Windows build from source like everybody else
Now that OOM is no longer a problem, the Windows CI can do the same
process every other system does instead of building from a recent Zig
binary.
2022-12-06 12:15:04 -07:00
Andrew Kelley bdb6fb5763 CI: use cache directories local to the CI run
Override the cache directories because they won't actually help other CI
runs which will be testing alternate versions of zig, and ultimately
would just fill up space on the hard drive for no reason.

In practice we did see one of the CI servers fill up too many files
inside ~/.cache/zig, which caused certain file system operations to
start returning ENOSPC, despite the hard drive having plenty of space
left.
2022-12-04 15:45:15 -07:00
Andrew Kelley af4361f57a CI: update tarballs to 0.11.0-dev.448+e6e459e9e
Notably this contains a fix to zig cc that enables the syntax
`-Wl,-z,stack-size=0x10000`.
2022-12-02 17:31:33 -05:00
Andrew Kelley 9f9f1aadc7 CI: add aarch64-linux-debug job and flatten dirs 2022-12-01 00:37:47 -07:00
Andrew Kelley deda6b5146 LLVM: fix canElideLoad behavior with loops
closes #13546
2022-11-30 00:20:49 -05:00
Loris Cro 52e1be9c68 Revert "ci: add markers for collapsing log sections in GH web UI"
This reverts commit 6028adda4b.
2022-11-29 22:55:04 +01:00
Loris Cro 6028adda4b ci: add markers for collapsing log sections in GH web UI 2022-11-29 22:03:30 +01:00
Jakub Konka 1829b6eab8 Merge pull request #13625 from kcbanner/windows_disable_symlink_tests
Skip linker tests requiring symlinks on Windows
2022-11-29 02:57:37 +01:00
Andrew Kelley 2df47df390 CI: move some stuff to the website repo 2022-11-26 15:34:35 -07:00
kcbanner 57bc61ab26 test-link: add -Denable-symlinks-windows to opt-in to using symlinks
Adds a way for standalone tests to declare they need symlinks, and these
tests won't be run on windows unless -Denable-symlinks-windows is set
2022-11-26 14:26:26 -05:00
Loris Cro 7fd34f18c5 ci: windows: add missing check to last test 2022-11-25 19:41:37 +01:00
Andrew Kelley 984acae12d CI: use consistent relative/absolute paths for zig test commands
Standard library tests require the root source file to be the
corresponding file inside the Zig lib directory. In other words, there
may not be two copies of the standard library. After the changes in this
branch, Zig no longer notices that `../lib/std.zig` and
`$(pwd)/../lib/std.zig` are the same file because one is relative and
one is absolute.
2022-11-22 21:08:09 -07:00
Andrew Kelley 32ce2f91a9 CI: fix wrong path name in x86_64-linux release script
I verified that the script will pass with this change.
2022-11-22 20:54:30 -07:00
Andrew Kelley c24c6fe210 CI: disable building docs on x86_64-linux debug
See tracking issue #13546
2022-11-22 15:15:04 -07:00
Andrew Kelley b3b507ad8f CI: disable building tarballs; x86 self-hosted 2022-11-22 14:13:58 -07:00
Loris Cro 671fb4ac47 ci: move tarball creation and publishing to github-hosted runners 2022-11-22 13:40:31 -07:00
Andrew Kelley 283c92e362 CI: add missing backslash 2022-11-22 01:28:08 -08:00
Andrew Kelley 936b44e50a CI: fix wrong directory paths 2022-11-22 01:20:22 -08:00
Andrew Kelley ab680250e1 CI: fix wrong lib dir path 2022-11-22 01:05:59 -07:00
Andrew Kelley e18d310afd CI: build from old zig on x86_64-linux debug
This is to work around OOM on the CI server. Once #13560 is complete,
we can avoid having to replace the tarballs so often.
2022-11-22 00:56:44 -07:00
Andrew Kelley 0912f1d1f9 CI: fix wrong tarball name for aarch64-linux 2022-11-21 20:19:44 -07:00
Andrew Kelley e21b6a712d CI: switch to GitHub Actions 2022-11-21 20:16:08 -07:00
Andrew Kelley f3d987dc87 CI: start moving tarball generation to github actions 2022-11-21 20:16:08 -07:00
Andrew Kelley c822da7121 CI: aarch64-linux: support older cmake 2022-11-21 20:16:08 -07:00
Andrew Kelley 5d7efa6d82 CI: aarch64-linux: init 2022-11-14 16:04:01 -07:00
Andrew Kelley e14d135881 macos: x86_64: fix wrong path to cmake 2022-11-14 15:17:41 -07:00
Andrew Kelley 27e63bb59f CI: aarch64-macos: set PATH env var for cmake 2022-11-14 15:15:12 -07:00
Andrew Kelley 37402e4d17 CI: separate aarch64 and x86_64 macos scripts 2022-11-14 15:10:05 -07:00
Loris Cro bbd0775d77 ci: init github actions support 2022-11-14 22:41:36 +01:00
Andrew Kelley a65ba6c85a CI: stop using cloud.drone.io
This service stopped working two days ago for unknown reasons. Until it
is determined how to get it working again, or we switch to a different
CI provider for aarch64, this CI test coverage is disabled so that
we can continue to use the CI for other targets.
2022-11-08 11:04:33 -07:00
Andrew Kelley e9a12491f6 CI: add stage3/stage4 determinism check
Makes sure that #12183 will not regress.
2022-11-04 20:33:37 -07:00
Veikka Tuominen 8c4faa5f3f Merge pull request #13338 from Vexu/stage2-compile-errors
Improve some error messages
2022-11-04 16:04:31 +02:00
Veikka Tuominen 577daab08c CI: windows: update tarball 2022-11-03 22:11:25 +02:00
Andrew Kelley 0bbb000359 ci: add 0.10.0 release data 2022-10-31 14:21:52 -07:00
Andrew Kelley 17df35025b CI: disable failing C backend test
See #13357
2022-10-30 03:21:18 -07:00
Andrew Kelley fbd1390f80 CI: drone: shuffle some tests around
We have to balance the timings to end up below the two hour mark.
2022-10-29 23:10:49 -07:00
Andrew Kelley c8f1ea46b5 ci: enable aarch64-linux test coverage
closes #12689
2022-10-29 23:07:16 -07:00
Andrew Kelley 3e926d868e CI: update freebsd tarball 2022-10-29 12:15:47 -07:00
Andrew Kelley 23878aec4a CI: azure: fix upload script
Partial revert of changes made in
398a3aae40, fixes regression.
2022-10-27 20:57:21 -07:00
Eric Joldasov 398a3aae40 CI: make directory structure in releases consistent 2022-10-27 20:53:11 -04:00
Andrew Kelley e490d9e517 CI: update drone and zinc tarballs 2022-10-25 19:22:34 -07:00
Andrew Kelley 0010288dae CI: update macos and windows tarballs 2022-10-25 17:16:36 -07:00
Andrew Kelley f82a82f889 Revert "fix CI failures with commit "ci: make directory structure in releases consistent""
This reverts commit 54c8861bc4.

This caused CI failure.
2022-10-22 20:29:24 -07:00
Eric Joldasov 54c8861bc4 fix CI failures with commit "ci: make directory structure in releases consistent" 2022-10-22 16:43:35 -07:00
Andrew Kelley 10b8c4d8f0 CI: drone: skip some ReleaseFast and ReleaseSmall std lib tests
Follow-up commit to b9103bd514.
2022-10-22 09:19:05 -07:00
Andrew Kelley b9103bd514 CI: drone: skip ReleaseSafe std lib tests that link libc
To save a little bit of time and keep under the 2 hour mark.
2022-10-21 19:28:46 -07:00
Andrew Kelley 3b2f0c3eee Revert "ci: make directory structure in releases consistent"
This reverts commit 28054d96f0.

This caused CI failures.
2022-10-21 13:18:37 -07:00
Eric Joldasov 28054d96f0 ci: make directory structure in releases consistent 2022-10-21 12:51:04 -04:00
Andrew Kelley 14c173b200 ci: windows: update tarball
This has the `@max`/`@maximum`, `@min`/`@minimum` update.
2022-10-18 15:30:44 -07:00
Andrew Kelley b47e54ed3f CI: windows: update tarball
Needed due to the --strip/-fstrip breaking changes.
2022-10-12 02:34:26 -07:00