aboutsummaryrefslogtreecommitdiff
path: root/ci/azure/linux_script
AgeCommit message (Collapse)Author
2021-12-02zig build: promote qemu, wine, wasmtime, darling, and rosettaAndrew Kelley
from zig-specific options to generally recognized zig build options that any project can take advantage of. See the updated usage text for more details.
2021-10-12Merge pull request #9878 from pfgithub/patch-4Andrew Kelley
Add line numbers to langref
2021-10-11update ci script to not error for empty elementspfg
2021-10-01ci: update tarballs for LLVM 13Andrew Kelley
NetBSD CI is disabled because it is not yet supported in zig-bootstrap. Once NetBSD has proper zig-bootstrap support, it can be re-enabled. Windows is not solved here yet; will be pushing a separate commit for that.
2021-09-28ci: fix typo introduced in earlier commitAndrew Kelley
c2a7542df5e9e93289a5d487ba3bbc37c12ffc11 introduced a typo in the linux CI script.
2021-09-27ci: azure: run build steps independently to save ramAndrew Kelley
Azure is hitting OOM on test-toolchain. This commit is trying to coast for another week until we switch to Drone CI for this job.
2021-09-23ci linux: bump qemu-6.1.0.1Michael Dusan
closes #8653
2021-09-16ci: go back to passing state for linuxAndrew Kelley
This commit reverts 6d37ae95edc06f15e4e77f64e8e637dd5d269183 and 8f8294a809f9d975735377e7bfcc2c47ccfc4cb7. I don't know why they caused a failure but that investigation can happen while the CI is green.
2021-09-16build.zig: support -Duse-zig-libcxxAndrew Kelley
This supports the case when it is known that LLVM, Clang, LLD were built with Clang (or `zig c++`). This commit updates the Linux CI script to pass this since we build using a zig tarball.
2021-09-16ci: linux: enable LLVM stage2 testsAndrew Kelley
2021-08-31CI: update Linux and macOS tarballs to LLVM 12.0.1Andrew Kelley
2021-07-28CI: enable stage2 behavior test coverageAndrew Kelley
2021-06-23ci: no need for --ast-checkAndrew Kelley
since zig will now run AstGen even when using the stage1 backend.
2021-06-15ci: remove confusing message now that --ast-check is addedAndrew Kelley
This extra message was intended to help contributors by clarifying what to do when they hit a `zig fmt` failure, but now AST errors are also emitted here and the message may actually introduce confusion. Remove it for now.
2021-06-14CLI: rename --override-lib-dir to --zig-lib-dirAndrew Kelley
This breaking change disambiguates between overriding the lib dir when performing an installation with the Zig Build System, and overriding the lib dir that the Zig installation itself uses.
2021-06-14add ast-check flag to zig fmt, fix found bugsVeikka Tuominen
2021-06-13format zig files and add formatting check to cijacob gw
2021-06-08wasi: always grant fd_readdir rightJakub Konka
Since v0.23 release of Wasmtime, if we want to iterate a directory Y then directory Y needed to have been granted `fd_readdir` right. However, it is now also required for directory X to carry `fd_readdir` right, and so on, up-chain all the way until we reach the preopen (which possesses all rights by default). This caused problems for us since our libstd implementation is more fine-grained and allowed for parent dirs not to carry the right while allow for iterating on its children. My proposal here is to always grant `fd_readdir` right as part of `std.fs.Dir.OpenDirOptions.access_sub_paths`. This seems to be the approach taken by Rust also, plus we should be justified to take this approach since WASI is experimental and snapshot1 will be discontinued eventually and replaced with a new approach to access management that will require a complete rewrite of our libstd anyhow.
2021-05-29ci: update x86_64-linux, aarch64-linux, and windows tarballsAndrew Kelley
to llvm 12.0.1-rc1, and -DLLVM_ENABLE_ZLIB=FORCE_ON
2021-05-17ci linux: bump qemu-5.2.0.1Michael Dusan
- apply patch for qemu-user syscall do_sendrecvmsg_locked - see #8750
2021-05-12Bump zig-bootstrap and wasmtime versions in linux CI (#8738)Jakub Konka
* Bump zig-bootstrap and wasmtime versions in linux CI * Revert wasm stage2 test fixup; point to issue
2021-05-02Restore the CI logging as beforeFrank Denis
2021-04-30Azure CI: Test std.* and the rest separatelyFrank Denis
On CI, we have been running into OOM issues when running the test suite on Windows for quite some time. Unfortunately, we are very close to having the same issues on Linux as well. Some additional comptime work immediately makes these builds fail as well. Add a new `test-toolchain` step, that tests everything except `std.*` and documentation. On CI, call `test-toolchain`, `test-std` and `docs` separately instead of the `test` big hammer that emcompasses all of them. Change the special case we made for Windows to the same code as other platforms. This is a stopgap measure that stage2 will eventually make useless. Until then, it gives us some headroom. Change `linux_script` by the way to only output the log of failing steps. This shrinks the Linux CI log from a bazilion lines down to something more humanely manageable.
2021-04-14ci: update linux to llvm12 tarballAndrew Kelley
2021-01-07ci: pass --override-lib-dir to emit std lib docsAndrew Kelley
Otherwise we get errors from conflicting std libs.
2021-01-07ci: don't use ninja on linuxAndrew Kelley
I got this error when re-running the cmake line setting -DZIG_EXECUTABLE: ``` ninja: warning: multiple rules generate zig1.o. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn] ``` But it works fine with make.
2021-01-07ci: add missing target/mcpu args to zig ccAndrew Kelley
In the previous commit, I forgot to add these.
2021-01-06ci: rework linux scriptAndrew Kelley
* no longer depend on apt.llvm.org, instead we rely on a zig-bootstrap tarball with pre-built Zig, LLVM, LLD, and Clang. Similar to the Windows Dev Kit but for Linux. This also makes the script no longer depend on Docker, libxml2, or GCC. * remove bash retry logic; it was only needed for flaky apt.llvm.org and isn't needed for the other resources we download. * build and upload the experimental std lib automatically generated docs. langref.html is moved to docs/langref.html because the std lib docs are in docs/std/. * the superfluous "zig" directory in $prefix/lib/zig/std/std.zig is removed from the tarball. * update_download_page makes a commit in the www.ziglang.org repository updating data/releases.json so that repository can manage deploys.
2021-01-01ci: fix `git describe`Jay Petacat
git describe is used for version string creation, but it had to be reverted in commit 69da6ba because it was broken in CI builds. Azure Pipelines and Drone perform shallow clones by default. This change reconfigures them to fetch history and tags. It adds tens of seconds, which is negligible compared to overall build and test time. Related: #6466, #6509, #7601
2020-12-09ci linux: bump qemu-5.2.0Michael Dusan
2020-12-04ci: Use eval to make retry() work for pipelines tooLemonBoy
2020-12-04ci: Use -nv flag for wgetLemonBoy
-nv, --no-verbose turn off verboseness, without being quiet
2020-12-04ci: Prevent some more CI failuresLemonBoy
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-02ci: Retry apt-get install at most three timesLemonBoy
Try harder instead of failing after the first invocation fails.
2020-11-04Update wasmtime to version 0.20Frank Denis
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-10-12ci: update llvm 10 => 11Andrew Kelley
2020-09-21ci: drop the cmake patch for linuxAndrew Kelley
hopefully they've solved the polly plugin thing by now on apt.llvm.org.
2020-08-14ci linux: bump qemu-5.1.0Michael Dusan
2020-07-08ci: check langref.html for html errorsxackus
2020-06-08ci linux: bump qemu-5.0.0-49ee115552Michael Dusan
update qemu to upstream with mremap patch
2020-05-29[CI] Use ninja on Azura and DroneNoam Preil
2020-05-18Disable tests requiring Wasmtime be default; require -Denable-wasmtime flag ↵Jakub Konka
otherwise
2020-05-18Download and unpack wasmtime on LinuxJakub Konka
2020-05-02ci linux: bump qemu-5.0.0-z2Michael Dusan
closes #5245 see https://github.com/ziglang/qemu-static/commit/1b41e31a5c013dea52774ba664230402eacbc75b
2020-04-29ci linux: bump qemu 5.0.0-rc4 → 5.0.0Michael Dusan
2020-04-22ci: bump static-qemu 5.0.0-rc3 → 5.0.0-rc4Michael Dusan
2020-04-08ci: bump static-qemu 5.0.0-rc1 → 5.0.0-rc2Michael Dusan
2020-04-02use static-qemu linux-x86_64 tarballMichael Dusan
- no longer install qemu via apt-get - wget hosted tarball, extract and prepend to path
2020-03-22ci: workaround for apt.llvm.org packaging bugAndrew Kelley
2020-03-22ci: fix ubuntu package name for lldAndrew Kelley