Commit Graph

235 Commits (master)

Author SHA1 Message Date
LemonBoy 55838bc291 ci: Use eval to make retry() work for pipelines too 2020-12-04 17:31:27 +01:00
LemonBoy 2282eb1be1 ci: Use -nv flag for wget
-nv, --no-verbose   turn off verboseness, without being quiet
2020-12-04 13:11:45 +01:00
LemonBoy 77031baf98 ci: Prevent some more CI failures
Many times the CI pipeline fails in the early stages because the APT
repo for LLVM is being updated.
Add a retry mechanism for some more APT commands.
2020-12-04 13:11:45 +01:00
LemonBoy 471e26425a ci: Retry apt-get install at most three times
Try harder instead of failing after the first invocation fails.
2020-12-02 12:14:11 +01:00
Frank Denis 7b9af0592d Azure Pipelines CI: update msys2 to the current version 2020-11-15 00:27:18 +01:00
Frank Denis bb14bd35bd Update wasmtime to version 0.20
The version we were using in CI is now getting quite old, and we
want to make sure that the code we produce is compatible with
current versions of Wasmtime.
2020-11-04 20:28:54 +01:00
Andrew Kelley 81f5e1e667 ci: freebsd: skip non-native tests to save time 2020-10-28 22:59:23 -07:00
Andrew Kelley fd3da3348c ci: macos: rebuild zig1.o with stage1
see #6830 for details.
2020-10-28 16:31:59 -07:00
Andrew Kelley a0f4606f32 ci: still build zig even though we are using (older) zig cc 2020-10-26 10:50:43 -07:00
Andrew Kelley bbd1e122d4 ci: skip compile error tests on freebsd to save time 2020-10-25 17:29:10 -07:00
Andrew Kelley 198d1438ea ci: fix regression from not building docs
0e4f7a8e3f forgot to build the docs,
causing CI failures
2020-10-22 01:18:55 -07:00
Frank Denis 0e4f7a8e3f
MSVC CI: run tests individually (#6751)
This slightly reduces the amount of peak RSS needed, buying us more time until stage2 is shipping.
2020-10-21 22:40:41 -04:00
Andrew Kelley 477798b37e ci: macos: unset ZIG_LIBC before testing
otherwise cross compiling gets incorrectly affected by the environment
variable.
2020-10-14 17:59:29 -07:00
Andrew Kelley 540364e6c1 ci: macos: update to new cache tarball
This tarball contains LLVM, Clang, LLD, Zig, and libz.a for macOS. This
is everything we need for the CI to produce a working Zig executable.
2020-10-14 17:36:43 -07:00
Andrew Kelley bf8cc73cf3 ci: macos: take advantage of zig-bootstrap 2020-10-14 02:25:51 -07:00
Andrew Kelley 9e05f42fee ci: macos: set the cross compile cmake option
This should avoid invoking llvm-config to work around a symbol
not found inside libstdc++, and plus it's technically more correct
anyway.
2020-10-12 22:32:14 -07:00
Andrew Kelley 92926c4331 ci: no space in vmImage I guess 2020-10-12 21:58:46 -07:00
Andrew Kelley 461792f9de ci: update to macos 10.15 image 2020-10-12 21:53:13 -07:00
Andrew Kelley 68e6da7c00 CI: enable all the freebsd tests 2020-10-12 20:51:16 -07:00
Andrew Kelley 27b04d5905 disable the failing std lib freebsd tests
enable std lib freebsd tests on the CI

See #1759
2020-10-12 20:08:23 -07:00
Andrew Kelley 74e3ffa9b4 ci: update llvm 10 => 11 2020-10-12 18:38:28 -07:00
Andrew Kelley 682a29aefd ci: stop testing mingw builds
Zig supports both Linux and Windows natively. Those are the main use
cases we are focusing on. Happy to accept mingw patches if they are
non-invasive, but we will not be hampering progress on the main use
cases with failing mingw CI builds.
2020-10-04 21:51:41 -07:00
Jakub Konka 0e2d858d69 Revert back to original Win CI install script
Since msys2/MSYS2-packages#2050 was fixed, we can now revert back to the
original install script.

Signed-off-by: Jakub Konka <kubkon@jakubkonka.com>
2020-10-04 11:53:07 +02:00
Andrew Kelley d1e779cea8 ci: update azure msys base installer
hopefully resolves the CI failures
2020-10-03 17:33:51 -07:00
Andrew Kelley 7c0ee42385 CI: TERM=dumb to source hut 2020-09-29 12:10:38 -07:00
Andrew Kelley 561ed38f12 ci: drop the cmake patch for linux
hopefully they've solved the polly plugin thing by now on apt.llvm.org.
2020-09-21 12:40:19 -07:00
Andrew Kelley a863d899e1 ci: undo mangled autocrlf files before building 2020-09-16 11:58:26 -07:00
Andrew Kelley 80d8515e3a ci: disable git autocrlf
See also commit
2c8495b4bb
2020-09-16 10:49:43 -07:00
Andrew Kelley 95941c4e70 stage2: building glibc shared objects
* caching system: use 16 bytes siphash final(), there was a bug in the
   std lib that wasn't catching undefined values for 18 bytes. fixed in
   master branch.
 * fix caching system unit test logic to not cause error.TextBusy on windows
 * port the logic from stage1 for building glibc shared objects
 * add is_native_os to the base cache hash
 * fix incorrectly freeing crt_files key (which is always a reference to
   global static constant data)
 * fix 2 use-after-free in loading glibc metadata
 * fix memory leak in buildCRTFile (errdefer instead of defer on arena)
2020-09-16 03:02:46 -07:00
Andrew Kelley 7ccfb08a93 ci: update the on_master_success secret to lavatech 2020-09-15 15:08:35 -07:00
Andrew Kelley 5e39ab4600 ci: disable some freebsd tests to save time 2020-09-14 21:11:34 -07:00
Andrew Kelley 44ef270de1 ci: use hut.lavatech.top for updating the download page 2020-09-14 19:37:59 -07:00
Andrew Kelley 01c24c4509 ci: enable std lib tests for freebsd 2020-09-14 18:22:16 -07:00
Andrew Kelley 8716fde7bc ci: skip non native builds on windows to save time 2020-09-08 09:53:41 -07:00
Andrew Kelley 26140678a5 ci: skip compile error tests on Windows
We're up against the 6 hour limit so this is a time-saving workaround.
Compile error tests are generally not OS-specific so the coverage from
the other platforms should be sufficient.
2020-08-31 14:54:05 -07:00
Michael Dusan 05f80311bc
ci linux: bump qemu-5.1.0 2020-08-14 14:38:54 -04:00
Andrew Kelley 9b75091fd4 ci: update msys2 installer 2020-07-25 22:21:52 -07:00
Jakub Konka a1d72fad81 Use -c flag in all s3cmd occurrences on Win 2020-07-24 14:35:48 +02:00
Jakub Konka 937c02f185 Re-apply temp msys2 python fix
Tweak `windows_upload` script to manually specify the config path
to `s3cmd`.
2020-07-24 09:19:51 +02:00
Jakub Konka b7353240c7 Refactor macOS build script in Azure
We don't really want to rebuild the cache in Azure...
2020-07-24 06:29:50 +00:00
Andrew Kelley 56a21b7ec3 ci: undo the recent changes. maybe upstream fixed it 2020-07-23 23:26:24 -07:00
Andrew Kelley b4d383a478 ci: looks like s3cmd wants a new path for the config file
Thanks Jakub Konka for exploring this.
2020-07-23 10:58:07 -07:00
Jakub Konka 9225763f8b Add temporary fix to the CI on Win
Here's the [thread](https://github.com/msys2/MSYS2-packages/issues/2050)
for reference.
2020-07-22 06:49:24 +00:00
xackus 2064e84cdd ci: check langref.html for html errors 2020-07-08 19:34:44 +00:00
Andrew Kelley 489c31b6f5 azure ci: install tar and xz with pacman 2020-06-24 14:52:34 -04:00
Jonathan Marler 3a2cc5decf azure-pipelines: fix msys2 install 2020-06-24 14:33:01 -04:00
Michael Dusan c2f547f91f
ci linux: bump qemu-5.0.0-49ee115552
update qemu to upstream with mremap patch
2020-06-08 16:20:39 -04:00
Noam Preil 3b4e29f1ad [CI] Use ninja on Azura and Drone 2020-05-29 13:34:15 -04:00
Jakub Konka 40812063cc Disable tests requiring Wasmtime be default; require -Denable-wasmtime flag otherwise 2020-05-18 16:12:03 +02:00
Jakub Konka bd9a616586 Skip WASI tests in drone and on FreeBSD 2020-05-18 16:10:54 +02:00