about summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
2019-10-31Rollup merge of #65274 - pietroalbini:ci-upload-toolstate, r=alexcrichtonMazdak Farrokhzad-35/+69
Upload toolstates.json to rust-lang-ci2 This PR does two things: * Following up with https://github.com/rust-lang/rust/pull/65202, it migrates deploying artifacts to CI in a script. Both uploading release artifacts and CPU stats were merged into the same script, designing it to be easily extended. * Uploads the toolstate JSON to `rust-lang-ci2` along with the release artifacts, both for Linux and Windows. This is needed because @RalfJung wants to stop shipping MIRI when its tests are failing, and the toolstate repo doesn't have entries for each commit. Having the toolstate data (just for that specific commit) on `rust-lang-ci2` will simplify the code a lot. r? @alexcrichton cc @RalfJung
2019-10-30ci: move toolstates.json to /tmp/toolstate/ and docker mount itPietro Albini-6/+9
Before this commit toolstates.json was stored in /tmp and it wasn't mounted outside the build container. That caused uploading the file in the upload-artifacts task to fail, as the file was missing on the host. Mounting /tmp/toolstates.json alone is not the best approach: if the file is missing when the container is started the Docker engine will create a *directory* named /tmp/toolstates.json. The Docker issue could be solved by pre-creating an empty file named /tmp/toolstates.json, but doing that could cause problems if bootstrap fails to generate the file and the toolstate scripts receive an empty JSON. The approach I took in this commit is to instead mount a /tmp/toolstate directory inside Docker, and create the toolstates.json file in it. That also required a small bootstrap change to ensure the directory is created if it's missing.
2019-10-30ci: revert msys2 ca-certificates hackPietro Albini-16/+0
The hack was added because upstream msys2 broke the ca-certificates package, but since then it has been fixed. This reverts CI to use the upstream package.
2019-10-29Rollup merge of #65843 - xen0n:mips64-musl-targets-with-ci, r=alexcrichtonTyler Mandry-0/+16
Enable dist for MIPS64 musl targets Continuing work in #63165, necessary libc changes are in place and published so here we go!
2019-10-29Apply suggestions from lzutaoPietro Albini-1/+1
Co-Authored-By: lzutao <taolzu@gmail.com>
2019-10-29Apply suggestions from lzutaoPietro Albini-3/+3
Co-Authored-By: lzutao <taolzu@gmail.com>
2019-10-29ci: upload toolstates.json to rust-lang-ci2Pietro Albini-0/+7
Uploading the toolstate data for each commit will help our release tooling understand which components are failing, to possibly skip shipping broken tools to users.
2019-10-29ci: extract uploading artifacts into a scriptPietro Albini-30/+54
2019-10-29ci: extract job skipping logic into a scriptPietro Albini-14/+21
2019-10-29ci: enable "run when submodule changes" with environment variablesPietro Albini-28/+15
We have a job in our CI (PR's x86_64-gnu-tools) that's supposed to run only when a submodule is changed in the PR, and it works by having a task at the start of the build that skips all the following tasks if the condition isn't met. Before this commit that task was gated with template parameters, which is a unique feature of Azure Pipelines. To make our CI more generic this commit switches the gate to use a simple environment variable plus a condition, which should be supported on more CI providers.
2019-10-28ci: fix wrong path for wix being setPietro Albini-2/+2
2019-10-28ci: fix execution condition for install-clangPietro Albini-1/+1
2019-10-26ci: add support for MIPS64 musl targetsWang Xuerui-0/+16
2019-10-25ci: fix tidyPietro Albini-0/+1
2019-10-25ci: set MSYS_BITS environment variable for all windows buildersPietro Albini-0/+2
A few dist builders lacked that variable, causing build failures.
2019-10-25ci: fix installation condition for MinGWPietro Albini-5/+5
I mistakenly inverted the "variable is not set" check in bash.
2019-10-25ci: split install-msys2 step into two separate scriptsPietro Albini-14/+32
2019-10-25ci: fix wrong path being set in install-msys2.shPietro Albini-1/+1
2019-10-25ci: fix innosetup installationPietro Albini-1/+1
2019-10-25ci: reuse the mirrors base url from shared.sh in scriptsPietro Albini-7/+5
2019-10-25ci: fix tidyPietro Albini-5/+10
2019-10-25ci: cleanup platform detectionPietro Albini-6/+6
2019-10-25ci: use shared.sh in scripts/install-awscli.shPietro Albini-1/+3
2019-10-25ci: extract verifying line endings into a scriptPietro Albini-21/+29
2019-10-25ci: extract checking out submodules into a scriptPietro Albini-11/+22
2019-10-25ci: extract enabling ipv6 on docker into a scriptPietro Albini-9/+19
2019-10-25ci: extract installing ninja into a scriptPietro Albini-14/+21
2019-10-25ci: extract installing mingw into a scriptPietro Albini-40/+51
2019-10-25ci: extract installing msys2 into a scriptPietro Albini-52/+47
2019-10-25ci: extract disabling git crlf handling into a scriptPietro Albini-5/+20
2019-10-25ci: extract parts of windows-build-deps into scriptsPietro Albini-35/+68
2019-10-25ci: extract switching xcode into a scriptPietro Albini-8/+18
2019-10-25ci: extract installing clang into a scriptPietro Albini-47/+58
2019-10-25ci: extract installing sccache into a scriptPietro Albini-22/+46
2019-10-25ci: extract dumping the environment into a scriptPietro Albini-10/+21
2019-10-25ci: move install-awscli.sh into scripts/Pietro Albini-1/+1
2019-10-24workaround msys2 bugMateusz Mikuła-0/+23
Co-Authored-By: Pietro Albini <pietro@pietroalbini.org>
2019-10-21Remove `src/llvm-emscripten` submoduleAlex Crichton-2/+1
With #65251 landed there's no need to build two LLVM backends and ship them with rustc, every target we have now uses the same LLVM backend! This removes the `src/llvm-emscripten` submodule and additionally removes all support from rustbuild for building the emscripten LLVM backend. Multiple codegen backend support is left in place for now, and this is intended to be an easy 10-15 minute win on CI times by avoiding having to build LLVM twice.
2019-10-20Auto merge of #65302 - msizanoen1:fix-armv7-segfault, r=alexcrichtonbors-366/+511
Upgrade GCC to 8.3.0, glibc to 1.17.0 and crosstool-ng to 1.24.0 for dist-armv7-linux #62896 was caused by the usage of the GCC 5.2.0 toolchain, which was released back in 2015 and may have bugs affecting LLVM 9. This PR upgrade GCC to 8.3.0 from 5.2.0, glibc from 1.16.0 to 1.17.0 and crosstool-ng to 1.24.0 only for dist-armv7-linux. Fixes #62896 r? @alexcrichton
2019-10-16Remove PR runs, enable wasm32 CI, and move asmjs to disabledThomas Lively-6/+2
2019-10-16User should not change between emcc install and useThomas Lively-12/+6
2019-10-16Update test and add -O1 to wasm32 DockerfileThomas Lively-2/+3
2019-10-16Temporarily enable asmjs and wasm32 on PR CIThomas Lively-0/+4
2019-10-16Upgrade Emscripten targets to use upstream LLVM backendThomas Lively-116/+31
- Compatible with Emscripten 1.38.46-upstream or later upstream. - Refactors the Emscripten target spec to share code with other wasm targets. - Replaces the old incorrect wasm32 C call ABI with the correct one, preserving the old one as wasm32_bindgen_compat for wasm-bindgen compatibility. - Updates the varargs ABI used by Emscripten and deletes the old one. - Removes the obsolete wasm32-experimental-emscripten target. - Uses EMCC_CFLAGS on CI to avoid the timeout problems with #63649.
2019-10-16Mirror crosstool-ng on rust-lang-ci-mirrorsmsizanoen-1/+2
2019-10-13Fix path to crosstool-ng.shqtmlabs-1/+1
2019-10-12Add crosstool-ng 1.24.0 unzip dependencyqtmlabs-0/+1
2019-10-11Revert "Remove reference to Ubuntu 15.10 ARM toolchain"qtmlabs-3/+5
This reverts commit 4f97e5d41160e256c9d76d26432831ece83ef480.
2019-10-11Remove reference to Ubuntu 15.10 ARM toolchainqtmlabs-5/+3
2019-10-11Upgrade GCC to 8.3.0, glibc to 1.17.0 and crosstool-ng to 1.24.0 for ↵qtmlabs-366/+509
dist-armv7-linux