aboutsummaryrefslogtreecommitdiff
path: root/ci
AgeCommit message (Collapse)Author
2021-01-12ci: stop directly pushing web page stuff to s3Andrew Kelley
This is now handled by the www.ziglang.org repo deploy script.
2021-01-12ci: give the updated website content to the website repoAndrew Kelley
and use master branch not hugo-redesign branch
2021-01-12ci: add stdDocs to downloads/index.json for master branchAndrew Kelley
2021-01-07ci: import the update-download-page from www repoAndrew Kelley
2021-01-07ci: fix path to update-download-page.zig scriptAndrew Kelley
2021-01-07ci: add github.com's public key for the ssh cloneAndrew 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-06Azure CI: update MSYS versionFrank Denis
2021-01-04ci: omit stage2 backend from stage1 on WindowsAndrew Kelley
to avoid out-of-memory on the CI runs.
2021-01-03drone ci: skip compile error tests to save timeAndrew Kelley
These are covered by other CI scripts and we're up against Drone CI time limits.
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-31ci: freebsd: use py37-s3cmdLuna
2020-12-26ci: put Drone CI back to normalAndrew Kelley
Surely this time all the problems have been fixed
2020-12-25ci: build in Debug mode to help find the deadlockAndrew Kelley
2020-12-20add an option to compile zig in single-threaded modeAndrew Kelley
And enable it for Drone CI. I hate to do this, but I need to make progress on other fronts.
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-15Azure Pipelines CI: update msys2 to the current versionFrank Denis
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-28ci: freebsd: skip non-native tests to save timeAndrew Kelley
2020-10-28ci: macos: rebuild zig1.o with stage1Andrew Kelley
see #6830 for details.
2020-10-26ci: still build zig even though we are using (older) zig ccAndrew Kelley
2020-10-25ci: skip compile error tests on freebsd to save timeAndrew Kelley
2020-10-22ci: fix regression from not building docsAndrew Kelley
0e4f7a8e3f94f0e799280d7e7836d67d776cbca6 forgot to build the docs, causing CI failures
2020-10-21MSVC CI: run tests individually (#6751)Frank Denis
This slightly reduces the amount of peak RSS needed, buying us more time until stage2 is shipping.
2020-10-14ci: macos: unset ZIG_LIBC before testingAndrew Kelley
otherwise cross compiling gets incorrectly affected by the environment variable.
2020-10-14ci: macos: update to new cache tarballAndrew Kelley
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-14ci: macos: take advantage of zig-bootstrapAndrew Kelley
2020-10-12ci: macos: set the cross compile cmake optionAndrew Kelley
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-12ci: no space in vmImage I guessAndrew Kelley
2020-10-12ci: update to macos 10.15 imageAndrew Kelley
2020-10-12CI: enable all the freebsd testsAndrew Kelley
2020-10-12disable the failing std lib freebsd testsAndrew Kelley
enable std lib freebsd tests on the CI See #1759
2020-10-12ci: update llvm 10 => 11Andrew Kelley
2020-10-04ci: stop testing mingw buildsAndrew Kelley
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-04Revert back to original Win CI install scriptJakub Konka
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-03ci: update azure msys base installerAndrew Kelley
hopefully resolves the CI failures
2020-09-29CI: TERM=dumb to source hutAndrew 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-09-16ci: undo mangled autocrlf files before buildingAndrew Kelley
2020-09-16ci: disable git autocrlfAndrew Kelley
See also commit 2c8495b4bb261d440bc6d1a6b0415a64c8d99222
2020-09-16stage2: building glibc shared objectsAndrew Kelley
* 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-15ci: update the on_master_success secret to lavatechAndrew Kelley
2020-09-14ci: disable some freebsd tests to save timeAndrew Kelley