summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
2021-10-18switch release channel to stablePietro Albini-1/+1
2021-10-14Get rid of broken `ct-ng oldconfig` everywhere and directly provide a ↵Hans Kratz-20/+8
suitable .config file.
2021-10-14Switch to our own mirror of libislMark Rousskov-4/+4
2021-10-14CI: Use mirror for downloads.Hans Kratz-4/+8
Crosstool-ng 1.22 used by those docker dist builds only allows one mirror for all downloads.
2021-10-04Auto merge of #89380 - ehuss:fix-windows-llvm, r=Mark-Simulacrumbors-0/+6
Fix Windows LLVM issue. GitHub image 20210928.2 added LLVM 12.0.1 to the stock image. However, the `lldb` executable doesn't work, it fails with: > C:/Program Files/LLVM/bin/lldb.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory We probably don't want to start testing LLDB on windows anyways (at least not without intent). The hacky solution for now is to just delete the system LLVM.
2021-10-04Auto merge of #89486 - rusticstuff:docker_letsencrypt_ca_update, ↵bors-0/+41
r=Mark-Simulacrum Update Let's Encrypt ROOT CA certificate in dist-(i686|x86_64)-linux docker images The DST Root CA X3 used by Let's Encrypt has expired ([Let's Encrypt announcement](https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/)). This patch installs the new root certificate (ISRG Root X1) and disables the old one. Disabling the old one is necessary because otherwise curl still fails to download from servers with Let's Encrypt certs even though they are cross-signed. Fixes #89484.
2021-09-10Work around CI issue with windows sdk 10.0.20348.0.Mara Bos-0/+9
2021-09-06Do not unshallow -- already done by other codeMark Rousskov-8/+0
backport-of: none
2021-09-061.56.0 betaMark Rousskov-1/+1
backport-of: nothing
2021-08-25Bump sccache used in CI to v0.2.15Mark Rousskov-3/+6
This skips bumping Windows sccache because we run into compilation failures when doing so (-m32 not supported by clang-cl?). Not clear on cause, but seems easiest to just hold back. This should avoid PGO-related failures encountered on Linux, and more broadly seems like a good idea on other platforms as well (though it is likely not necessary right this moment).
2021-08-24PGO for LLVM builds on x86_64-unknown-linux-gnu in CIMark Rousskov-50/+58
This shows up to 5% less instruction counts on multiple benchmarks, and up to 19% wins on the -j1 wall times for rustc self-compilation. We can afford to spend the extra cycles building LLVM essentially once more for the x86_64-unknown-linux-gnu CI build today. The builder finishes in around 50 minutes on average, and this adds just 10 more minutes. Given the sizeable improvements in compiler performance, this is definitely worth it.
2021-08-20Add support for including non-backport commits.Mukund Lakshman-4/+24
2021-08-19CI: Verify commits in beta & stable are in upstream branches.Mukund Lakshman-0/+134
Closes #74721
2021-08-15Auto merge of #87792 - GuillaumeGomez:ci-fetch, r=pietroalbinibors-4/+6
Remove git fetch from CI https://github.com/rust-lang/rust/pull/86623 added a call to `git fetch`, which is problematic for releases. r? `@pietroalbini`
2021-08-13Update browser-ui-test package versionGuillaume Gomez-1/+1
2021-08-05Remove git fetch command callGuillaume Gomez-4/+6
2021-08-01Auto merge of #85782 - badboy:build-ios-sim-target, r=Mark-Simulacrumbors-1/+1
Build aarch64-apple-ios-sim as part of the full macOS build Part of the [MCP 428](https://github.com/rust-lang/compiler-team/issues/428) to promote this target to Tier 2. This adds the aarch64-apple-ios-sim target as a tier 2 target, currently cross-compiled from our x86_64 apple builders. The compiler team has approved the addition per the MCP noted above, and the infrastructure team has not raised concerns with this addition at this time (as the CI time impact is expected to be minimal; this is only building std).
2021-07-28add CI_ONLY_WHEN_CHANNEL and run x86_64-gnu-stable only on nightlyPietro Albini-25/+41
2021-07-14Rollup merge of #87130 - GuillaumeGomez:update-browser-ui-test, ↵Guillaume Gomez-1/+1
r=Mark-Simulacrum Update browser-ui-test package version It adds a check to prevent to have empty CSS values in `assert-css` command. r? `@Mark-Simulacrum`
2021-07-14Update browser-ui-test package versionGuillaume Gomez-1/+1
2021-07-10Use nproc instead of hardcoded 10 for build parallelismNikita Popov-7/+7
2021-07-10Update binutils versionNikita Popov-3/+5
This is needed to handle R_X86_64_REX_GOTPCRELX relocations.
2021-07-10Use clang 12.0.1 on dist-x86_64/i686-linuxNikita Popov-8/+4
The LLD + ThinLTO __morestack bug has been fixed in 12.0.1, so we can now update our clang version. This also means that we no longer need to build Python 2.
2021-07-08Build aarch64-apple-ios-sim as part of the full macOS buildJan-Erik Rediger-1/+1
2021-07-07Clean up rustdoc static filesGuillaume Gomez-2/+2
2021-07-06migrate cpu-usage-over-time.py to python 3Pietro Albini-3/+6
The only change here is a fix for `sys.platform` on Linux. Python 3.3 changed the API to return "linux" instead of "linux2"/"linux3", so this commit uses `.startswith("python")` to make the code work on Python 3 without breaking Python 2.
2021-07-03Only run error code explanation removal check if on CIGuillaume Gomez-4/+13
2021-07-02Add check to ensure error code explanations are not removed anymore even if ↵Guillaume Gomez-0/+22
not emitted
2021-07-01Update container browser-ui-test@0.4.1Stefan Schindler-1/+1
2021-06-29Auto merge of #86697 - jackh726:pgo, r=Mark-Simulacrumbors-3/+5
Add inflate to pgo
2021-06-28Add inflate to pgojackh726-3/+5
2021-06-28Install tidy on x86_64-gnu-aux target to run html checkGuillaume Gomez-1/+2
2021-06-28Add new tool to check HTML:Guillaume Gomez-1/+2
* Make html-checker run by default on rust compiler docs as well * Ensure html-checker is run on CI * Lazify tidy binary presence check
2021-06-26Auto merge of #86586 - Smittyvb:https-everywhere, r=petrochenkovbors-5/+6
Use HTTPS links where possible While looking at #86583, I wondered how many other (insecure) HTTP links were in `rustc`. This changes most other `http` links to `https`. While most of the links are in comments or documentation, there are a few other HTTP links that are used by CI that are changed to HTTPS. Notes: - I didn't change any to or in licences - Some links don't support HTTPS :( - Some `http` links were dead, in those cases I upgraded them to their new places (all of which used HTTPS)
2021-06-25Download the GCC sources insecurelySmitty-1/+2
This is needed as they are built on a long-outdated Debian version. :(
2021-06-25Fetch expat from github because the project switchedStefan Schindler-1/+2
2021-06-25Use https for sourceforge during CIStefan Schindler-6/+6
2021-06-23Use HTTPS links where possibleSmitty-6/+6
2021-06-23Bump expat to 2.4.1Mark Rousskov-1/+1
2021-06-23Rollup merge of #86542 - GuillaumeGomez:line-numbers-aligned-with-content, ↵Dylan DPC-1/+1
r=jyn514 Line numbers aligned with content We had the issue a few times in the past where the source code pages' content wasn't aligned with the line numbers but completely below. This test will prevent this change to go unnoticed. The first commit comes from https://github.com/rust-lang/rust/pull/86541 so it needs it to be merged first. r? `@jsha`
2021-06-22Update browser-ui-test versionGuillaume Gomez-1/+1
2021-06-22Rollup merge of #86472 - Mark-Simulacrum:fix-ci-beta, r=pietroalbiniYuki Okushi-6/+10
Fix CI to fetch master on beta channel This forward-ports a fix from the beta channel (landing in #86413, hopefully) to master so that we don't need to apply it on each round of backports. This bug also demonstrates that our channel-checking is a bit insufficient -- stable is checked, but beta has some of its own peculiarities currently and isn't checked. But this does not attempt to adjust for that; we likely can't afford to run both beta and stable channels by CI and the current state here seems OK for now. r? `@pietroalbini`
2021-06-20Fix CI to fetch master on beta channelMark Rousskov-6/+10
2021-06-19Update browser-ui-test versionGuillaume Gomez-1/+1
2021-06-13Update browser-ui-test versionGuillaume Gomez-1/+1
2021-06-07add the x86_64-gnu-stable job to test with stable channelPietro Albini-1/+17
During the 1.52 release process we had to deal with some commits that passed the test suite on the nightly branch but failed on the beta or stable branch. In that case it was due to some UI tests including the channel name in the output, but other changes might also be dependent on the channel. This commit adds a new CI job that runs the Linux x86_64 test suite with the stable branch, ensuring nightly changes also work as stable.
2021-05-31Auto merge of #85395 - 12101111:build-crt, r=petrochenkovbors-1/+5
Build crtbegin.o/crtend.o from source code Build crtbengin.o/crtend.o from source code instead of copying from gcc. The crtbegin and crtend implementation from llvm don't need `crtbeginS.o` for PIC. `crtbegin{,S,T}.o` is unified into one generic `crtbegin.o`. See the comments in https://reviews.llvm.org/D28791#1419436 and https://reviews.llvm.org/D28791#1420914 fix: https://github.com/rust-lang/rust/issues/85310 , fix: https://github.com/rust-lang/rust/issues/47551 , fix: https://github.com/rust-lang/rust/issues/84033
2021-05-31Build crtbengin.o/crtend.o from source code12101111-1/+5
2021-05-30Rollup merge of #85285 - GuillaumeGomez:eslint-check, r=jsha,Mark-SimulacrumGuillaume Gomez-1/+3
Add eslint checks to CI It also allowed me to fix some potential issues that went unnoticed. Having this process automated will hopefully prevent us to add more errors. :) cc `@Mark-Simulacrum` (for the add in the CI). r? `@jsha`
2021-05-30Add eslint checks in CIGuillaume Gomez-1/+3