aboutsummaryrefslogtreecommitdiff
path: root/ci/azure/linux_script
AgeCommit message (Collapse)Author
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
2020-03-22ci: again fix the cache tarball URLsAndrew Kelley
2020-03-22ci: update cache tarball URLsAndrew Kelley
2020-01-22ci: update to llvm 10Andrew Kelley
2019-12-20CI: update llvm apt sources to correct ubuntu versionAndrew Kelley
In the pipelines.yml file we request Ubuntu 18.04 Bionic Beaver, but in the script we were still using the Xenial apt.llvm.org sources.
2019-11-03ci: stop assuming that azure will complete lastAndrew Kelley
Each of the 3 CI services now trigger a sr.ht build via the on_master_success script. The sr.ht build checks if all builds have completed successfully by trying to download the JSON file for the particular version. If all builds have completed successfully then this sr.ht job will update the download page.
2019-10-25ci: force git name-rev to be 9 on all targetsAndrew Kelley
2019-10-24ci: use x86_64 namespaced docker imageAndrew Kelley
I took a risk that docker had implemented namespacing with regards to architectures correctly, but of course they didn't. So the CI docker image for x86_64 was clobbered by an aarch64 image with the same name. Now we're doing arch namespaces with the tag name, so here's the x86_64 one.
2019-09-22significantly increase test coverageAndrew Kelley
* add zig build option `-Dskip-libc` to skip tests that build libc (e.g. if you don't want to wait for musl to build) * add `-Denable-wine` option which uses wine to run cross compiled windows tests on non-windows hosts * add `-Denable-qemu` option which uses qemu to run cross compiled foreign architecture tests * add `-Denable-foreign-glibc=path` option which combined with `-Denable-qemu` enables running cross compiled tests that link against glibc. See https://github.com/ziglang/zig/wiki/Updating-libc#glibc for how to produce this directory. * the test matrix is done manually. release test builds are only enabled by default for the native target. this should save us some CI time, while still providing decent coverage of release builds. - add test coverage for `x86_64-linux-musl -lc` (building musl libc) - add test coverage for `x86_64-linux-gnu -lc` (building glibc) - add test coverage for `aarch64v8_5a-linux-none` - add test coverage for `aarch64v8_5a-linux-musl -lc` (building musl libc) - add test coverage for `aarch64v8_5a-linux-gnu -lc` (building glibc) - add test coverage for `arm-linux-none` - test coverage for `arm-linux-musleabihf -lc` (building musl libc) is disabled due to #3286 - test coverage for `arm-linux-gnueabihf -lc` (building glibc) is disabled due to #3287 - test coverage for `x86_64-windows-gnu -lc` (building mingw-w64) is disabled due to #3285 * enable qemu testing on the Linux CI job. There's not really a good reason to enable wine, since we have a Windows CI job as well. * remove the no longer needed `--build-file ../build.zig` from CI scripts * fix bug in glibc compilation where it wasn't properly reading the abi list txt files, resulting in "key not found" error. * std.build.Target gains: - isNetBSD - isLinux - osRequiresLibC - getArchPtrBitWidth - getExternalExecutor * zig build system gains support for enabling wine and enabling qemu. `artifact.enable_wine = true;`, `artifact.enable_qemu = true;`. This communicates that the system has these tools installed and the build system will use them to run tests. * zig build system gains support for overriding the dynamic linker of an executable artifact. * fix std.c.lseek prototype. makes behavior tests for arm-linux-musleabihf pass. * disable std lib tests that are failing on ARM. See #3288, #3289 * provide `std.os.off_t`. * disable some of the compiler_rt symbols for arm 32 bit. Fixes compiler_rt tests for arm 32 bit * add __stack_chk_guard when linking against glibc. Fixes std lib tests for aarch64-linux-gnu * workaround for "unable to inline function" using `@inlineCall`. Fixes compiler_rt tests for arm 32 bit.
2019-09-19update CI scripts llvm 8 to 9Andrew Kelley
2019-06-04add cache-control headers to tarballs on cimrkishi
2019-04-05ci: stop doing the branch redirect thingAndrew Kelley
Now that we have https://ziglang.org/download/index.json See #1046
2019-04-03ci: add missing cache control headers and update download/index.jsonAndrew Kelley
2019-03-20ci: add FreeBSD to download pageAndrew Kelley
2018-12-23Merge remote-tracking branch 'origin/master' into llvm8Andrew Kelley
2018-11-29ci: workaround azure quirk with set -xAndrew Kelley
2018-11-05update ci scripts for llvm 8Andrew Kelley
2018-11-05ci: full test suiteAndrew Kelley
2018-11-05ci: display environment variablesAndrew Kelley
2018-11-04ci: fix shasum commandsAndrew Kelley
2018-11-04ci: use azure for all CIAndrew Kelley
* appveyor and travis are removed * add a job to update the download page when all targets pass. closes #1046