about summary refs log tree commit diff
path: root/src/ci/azure-pipelines/auto.yml
AgeCommit message (Collapse)AuthorLines
2022-06-05remove azure pipelines configurationPietro Albini-26/+0
2020-10-02ci: stop running macOS builds on Azure PipelinesPietro Albini-39/+3
2020-09-18Make sure we build target-only things (e.g., docs) for host platforms tooMark Rousskov-1/+1
2020-09-12Add host= configuration for msvc/darwinMark Rousskov-1/+1
2020-08-26Disable ninja on macOS CIJosh Triplett-3/+3
Should be re-enabled when we have a recipe for installing ninja on macOS.
2020-07-27Use --stage 2 explicitly in CIJoshua Nelson-1/+1
- expand yaml anchors - don't use --stage 2 for dist; that's already the default
2020-07-22ci: disable Azure Pipelines except for macOSPietro Albini-168/+1
2020-07-20ci: upload non-macOS from GHA instead of Azure PipelinesPietro Albini-1/+4
2020-07-15Rollup merge of #72973 - msizanoen1:riscv-host, r=pietroalbiniManish Goregaokar-0/+1
RISC-V GNU/Linux as host platform This PR add a new builder named `dist-riscv64-linux` that builds the compiler toolchain for RISC-V 64-bit GNU/Linux. r? @alexcrichton
2020-07-11RISC-V GNU/Linux as host platformmsizanoen1-0/+1
2020-07-08build dist for x86_64-unknown-illumosJoshua M. Clulow-0/+1
This change creates a new Docker image, "dist-x86_64-illumos", and sets things up to build the full set of "dist" packages for illumos hosts, so that illumos users can use "rustup" to install packages. It also adjusts the manifest builder to expect complete toolchains for this platform.
2020-07-03ci: move all x86_64 runners to the host-x86_64 directoryPietro Albini-1/+1
We need to add runners designed for an aarch64 host system, and it'd be nice to return an error message if someone tries to run an image designed for an host architecture in another one. To start the work on this, this commit moves all the existing builders in the host-x86_64 directory, and changes the run.sh script to look up the image in the correct directory based on the host architecture.
2020-06-12Remove vestigial CI job msvc-aux.Eric Huss-4/+0
2020-06-04Enable lld for Cargo tests on Windows.Eric Huss-1/+1
2020-04-14Update the minimum external LLVM to 8Josh Stone-1/+1
LLVM 8 was released on March 20, 2019, over a year ago.
2020-03-24ci: add notice on top of the azure pipelines configurationPietro Albini-0/+11
This will inform contributors tweaking the Azure Pipelines configuration that they also need to tweak the GitHub Actions setup.
2020-03-13fix a glaring typoMatt Cooper-1/+1
2020-03-10establish immutable source for RUST_CONFIGURE_ARGSMatt Cooper-19/+19
2020-02-17ci: switch macOS builders to 10.15Pietro Albini-1/+1
2019-12-30ci: remove 32-bit apple targetsPietro Albini-20/+1
2019-12-10Move CI to new builtin check-toolstateMark Rousskov-1/+1
2019-12-02Update the minimum external LLVM to 7Josh Stone-1/+1
LLVM 7 is over a year old, which should be plenty for compatibility. The last LLVM 6 holdout was llvm-emscripten, which went away in #65501. I've also included a fix for LLVM 8 lacking `MemorySanitizerOptions`, which was broken by #66522.
2019-11-22ci: guess some environment variables based on builder name and osPietro Albini-133/+35
Some environment variables (like DEPLOY or DEPLOY_ALT for dist builders, or IMAGE on Linux builders) are set on a lot of builders, and whether they should be present or not can be detected automatically based on the builder name and the platform. This commit simplifies the CI configuration by automatically setting those environment variables.
2019-11-12ci: remove the MSYS_BITS env varPietro Albini-17/+0
2019-11-12ci: remove the MINGW_DIR and MINGW_ARCHIVE env varsPietro Albini-12/+0
2019-11-12ci: replace MINGW_URL with CUSTOM_MINGW=1Pietro Albini-6/+6
This commit replaces the mirrors base URL contained in the MINGW_URL with a CUSTOM_MINGW=1 environment variable. The mirrors base URL will be fetched instead through the MIRRORS_BASE environment variable, defined in src/ci/shared.sh.
2019-11-07Attempt to fix *.yml confguration on AzureAlex Crichton-2/+2
Currently the `RUST_CONFIGURE_ARGS` variable apparently has a trailing newline at the end of it due to the way it's configured in yaml. This causes issues with MSVC's `install-clang.sh` step where the way the bash syntax works out means that we drop the arg we're trying to add and it doesn't actually get added! The hopeful fix here is to tweak how we specify the yaml syntax to not have a trailing newline, we'll see what CI says about this...
2019-10-30ci: move toolstates.json to /tmp/toolstate/ and docker mount itPietro Albini-2/+2
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-29ci: upload toolstates.json to rust-lang-ci2Pietro Albini-0/+2
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-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-16Remove PR runs, enable wasm32 CI, and move asmjs to disabledThomas Lively-2/+2
2019-09-19ci: split aws credentials in two separate users with scoped permsPietro Albini-1/+1
This commit changes our CI to use two separate IAM users to authenticate with AWS: * ci--rust-lang--rust--sccache: has access to the rust-lang-ci-sccache2 S3 bucket and its credentials are available during the whole build. * ci--rust-lang--rust--upload: has access to the rust-lang-ci2 S3 bucket and its credentials are available just during the upload step. The new tokens are available in the `prod-credentials` library.
2019-09-16azure: Disable more LLVM/debug assertions inAlex Crichton-0/+9
This commit disables LLVM/debug assertions in our 5 slowest builders: * i686-gnu * i686-gnu-nopt * i686-msvc-1 * i686-msvc-2 * x86_64-msvc-cargo This is reducing the amount of test coverage for LLVM/debug assertions, but we're just unfortunately running out of time on CI too many times. Some test builds have shown that i686-gnu drops nearly an hour of CI time by disabling these two assertions. Perhaps when we eventually get 4-core machines we can reenable these, but for now turn them off and hook them up to the tracking issue at #59637 which will ideally be repurposes to tracking all of these.
2019-08-16ci: move linkcheck from mingw-2 to mingw-1Pietro Albini-4/+4
Running UI tests now takes a huge amount of time on mingw builders (between 40 and 50 minutes), with mingw-1 builders taking even an hour less to finish than mingw-2. This PR moves linkcheck from mingw-2 to mingw-1, removing between 10 and 20 minutes of runtime on the -2 builders.
2019-08-12ci: move mirrors to their standalone bucketPietro Albini-6/+6
Currently mirrors are stored in the rust-lang-ci2 S3 bucket along with CI toolchains. This is problematic for multiple reasons: - CI IAM credentials are allowed to both edit and delete those files. A malicious user gaining access to those credentials would be able to change our mirrored dependencies, possibly backdooring the compiler. - Contents of the rust-lang-ci2 bucket are disposable except for the mirrors' content. When we implement backups for S3 buckets we'd have to replicate just that part of the bucket, complicating the backup logic and increasing the chance of mistakes. A standalone bucket will be way easier to backup. This commit switches our CI to use the new rust-lang-ci-mirrors bucket.
2019-08-08remove test-miri flag from bootstrapRalf Jung-1/+1
2019-08-03ci: move .azure-pipelines to src/ci/azure-pipelinesPietro Albini-0/+350