about summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
2021-12-31Rollup merge of #92440 - GuillaumeGomez:fix-mobile-toggles, r=jshaMatthias Krüger-1/+1
Fix mobile toggles position Before: ![Screenshot from 2021-12-29 18-53-33](https://user-images.githubusercontent.com/3050060/147764842-082f6fa2-b631-4c47-ba34-ced76fe8494f.png) After: ![Screenshot from 2021-12-29 18-52-48](https://user-images.githubusercontent.com/3050060/147764853-13046330-2442-4fad-b26a-84c167711b54.png) r? `@jsha`
2021-12-30Update browser-ui-test version to have assert-position commandGuillaume Gomez-1/+1
2021-12-22Remove VCVARS_BATEric Huss-1/+0
2021-12-19Rollup merge of #91834 - GuillaumeGomez:improve-gui-test-readability, r=jshaMatthias Krüger-1/+1
Update browser-ui-test version and improve rustdoc-gui tests readability Since the `0.5.1`, we can use trailing commas. I also used the opportunity to clean up the existing tests. r? `@notriddle`
2021-12-15Pull in libdevstat on FreeBSDLaurențiu Nicola-1/+1
2021-12-12Update browser-ui-test version and improve rustdoc-gui tests readabilityGuillaume Gomez-1/+1
2021-12-08Rollup merge of #90550 - ehuss:update-ca, r=Mark-SimulacrumMatthias Krüger-0/+52
Update certificates in some Ubuntu 16 images. These images use crosstool-ng, which needs to download various things off the internet. The certificate for `www.kernel.org` no longer works with the ca-certificates in Ubuntu 16. This resolves the issue by grabbing from a newer image a certificate bundle from https://curl.se/ca/cacert.pem, which is usually somewhat up to date.
2021-11-25Update browser-ui-test version to enforce that text is displayed before ↵Guillaume Gomez-1/+1
checking colors
2021-11-16Rollup merge of #90733 - wesleywiser:musl_debuginfo, r=Mark-SimulacrumMatthias Krüger-1/+24
Build musl dist artifacts with debuginfo enabled Since our musl targets link to a version of musl we build and bundle with the targets, if users need to debug into musl or generate backtraces which contain parts of the musl library, they will be unable to do so unless we enable and ship the debug info. This patch changes our dist builds so they enabled debug info when building musl. This patch also includes a fix for CFI detection in musl's `configure` script which has been [posted upstream](https://www.openwall.com/lists/musl/2021/10/21/2). The net effect of this is that we now ship debug info for musl in those targets. This adds ~90kb to those artifacts but running `strip` on binaries produced removes all of that. For a "hello world" Rust binary on x86_64, the numbers are: | | debug | release | release + strip | | - | - | - | - | | without musl debuginfo | 507kb | 495kb | 410kb | | with musl debuginfo | 595kb | 584kb | 410kb | Once stripped, the final binaries are the same size (down to the byte). Fixes #90103 r? `@Mark-Simulacrum`
2021-11-15Use a different server for checking clock driftMark Rousskov-1/+1
The detectportal.firefox.com server seems to return a random-ish date; for example I see the following across 5 curl's done consecutively locally, where the real date is approximaly 15 Nov 2021 06:36 UTC. Date: Mon, 15 Nov 2021 13:34:53 GMT Date: Mon, 15 Nov 2021 12:20:21 GMT Date: Mon, 15 Nov 2021 00:06:47 GMT Date: Mon, 15 Nov 2021 17:14:33 GMT Date: Mon, 15 Nov 2021 13:33:21 GMT
2021-11-13Change paths for `dist` command to match the components they generateJoshua Nelson-2/+2
Before, you could have the confusing situation where the command to generate a component had no relation to the name of that component (e.g. the `rustc` component was generated with `src/librustc`). This changes the name to make them match up.
2021-11-12Build musl dist artifacts with debuginfo enabledWesley Wiser-1/+24
Since our musl targets link to a version of musl we build and bundle with the targets, if users need to debug into musl or generate backtraces which contain parts of the musl library, they will be unable to do so unless we enable and ship the debug info. This patch changes our dist builds so they enabled debug info when building musl. This patch also includes a fix for CFI detection in musl's `configure` script which has been posted upstream[1]. The net effect of this is that we now ship debug info for musl in those targets. This adds ~90kb to those artifacts but running `strip` on binaries produced removes all of that. For a "hello world" Rust binary on x86_64, the numbers are: | | debug | release | release + strip | | - | - | - | - | | without musl debuginfo | 507kb | 495kb | 410kb | | with musl debuginfo | 595kb | 584kb | 410kb | Once stripped, the final binaries are the same size (down to the byte). [1]: https://www.openwall.com/lists/musl/2021/10/21/2
2021-11-03Update certificates in some Ubuntu 16 images.Eric Huss-0/+52
2021-11-02Pull in libkvm on FreeBSDLaurențiu Nicola-1/+1
2021-11-01Ignore files copied from previous stage when generating hash.Hans Kratz-1/+2
2021-10-31Use ubuntu image to download openssl, curl sources, cacert.pemHans Kratz-67/+54
2021-10-25Move back to linux builder on try buildsMark Rousskov-11/+3
2021-10-24Rollup merge of #90100 - Mark-Simulacrum:speed-macos-ci, r=pietroalbiniMatthias Krüger-3/+15
Skip documentation for tier 2 targets on dist-x86_64-apple-darwin I don't have an easy way to test this locally, but I believe it should work. Based on one log result should shave ~14 minutes off the dist-x86_64-apple builder (doesn't help with aarch64 dist or x86_64 test builder, so not actually decreasing total CI time most likely). r? ```@pietroalbini```
2021-10-24Auto merge of #89776 - rusticstuff:ci-overflow-checks, r=Mark-Simulacrumbors-0/+11
CI: Enable overflow checks for test (non-dist) builds They stay disabled for Apple builds though, which take the most time already due to running on slow hw.
2021-10-23Auto merge of #90175 - cuviper:min-llvm-12, r=nagisabors-6/+7
Update the minimum external LLVM to 12 With this change, we'll have stable support for LLVM 12 and 13. For reference, the previous increase to LLVM 10 was #83387, and this replaces the pending increase to LLVM 11 in #90062. r? `@nagisa` `@nikic`
2021-10-23Rollup merge of #90122 - rusticstuff:ci_curl_max_time, r=Mark-SimulacrumMatthias Krüger-2/+7
CI: make docker cache download and `docker load` time out after 10 minutes Might help to prevent timeouts we have been seeing: * https://github.com/rust-lang-ci/rust/runs/3946294286?check_suite_focus=true#step:25:23 * https://github.com/rust-lang-ci/rust/runs/3956799200?check_suite_focus=true#step:25:22 * https://github.com/rust-lang-ci/rust/runs/3962928502?check_suite_focus=true#step:25:23 * https://github.com/rust-lang-ci/rust/runs/3967892291?check_suite_focus=true * https://github.com/rust-lang-ci/rust/runs/3971202204?check_suite_focus=true If the download or loading the images into docker times out the CI will still continue and rebuild the docker image from scratch.
2021-10-22Update the minimum external LLVM to 12Josh Stone-5/+5
2021-10-22Update the minimum external LLVM to 11Josh Stone-6/+7
2021-10-21Time out docker load after 10 minutes, kill after 12 due to CI hangs.Hans Kratz-1/+4
2021-10-21Print step timings for try buildsMark Rousskov-1/+1
2021-10-21CI: Enable overflow checks for test (non-dist) buildsHans Kratz-0/+11
2021-10-21Debug output before loading docker images as that might hang.Hans Kratz-0/+1
2021-10-21CI: make cache download attempt time out after 10 minutesHans Kratz-1/+2
2021-10-21Rollup merge of #90048 - GuillaumeGomez:line-number-setting, r=jshaYuki Okushi-1/+1
Add test for line-number setting The first commit updates the version of the package to be able to have multi-line commands (which looks much nicer for this test). r? ````@jsha````
2021-10-20[do not merge] try buildMark Rousskov-1/+11
2021-10-20Skip documentation for tier 2 targetsMark Rousskov-1/+3
2021-10-19Upgrade browser-ui-test version to 0.4.5 (it allows to have multi-line commands)Guillaume Gomez-1/+1
2021-10-17Auto merge of #89499 - Mark-Simulacrum:with-llvm-13, r=nikicbors-9/+31
Split out LLVM PGO step and use clang 13 to compile LLVM We're seeing a PGO version mismatch error in CI logs: LLVM Profile Error: Runtime and instrumentation version mismatch : expected 5, but get 7 which is likely due to the version bumped here differing from that used by rustc. This PR fixes this by splitting out the PGO step for LLVM into a separate phase of the pgo.sh script, which nets no change to performance (see [these results](https://perf.rust-lang.org/compare.html?start=c34ac8747ca96d09cb08b8f5adddead826e77c06&end=e272c2af45f40c74dab83948235903ffbe3ad57f)). Then, it follows that up with an upgrade to LLVM/clang version 13 as our bootstrap compiler, which yields the performance improvements for this PR -- around 5%. This depends on the first step here, because otherwise we end up somehow clobbering or otherwise hurting our ability to effectively collect performance data, yielding reductions in performance for a subset of benchmarks -- it is not clear what the cause here was precisely, but the split only costs ~10 minutes and seems worthwhile.
2021-10-17Rollup merge of #89886 - alexcrichton:update-wasi-libc, r=kennytmYuki Okushi-1/+1
Update the wasi-libc built with the wasm32-wasi target This commit updates the wasi-libc that we include with the wasm32-wasi target, which brings in various misc fixes such as musl updates and some math tweaks.
2021-10-14Switch to clang v13 as the C/C++ compiler used for bootstrapMark Rousskov-1/+1
2021-10-14Move LLVM profiling to a separate phase of compilationMark Rousskov-8/+30
2021-10-14Update the wasi-libc built with the wasm32-wasi targetAlex Crichton-1/+1
This commit updates the wasi-libc that we include with the wasm32-wasi target, which brings in various misc fixes such as musl updates and some math tweaks.
2021-10-14Selecting the Xcode version no longer needed with the macos-11 runners.Hans Kratz-18/+0
2021-10-08CI: 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-06Get rid of broken `ct-ng oldconfig` everywhere and directly provide a ↵Hans Kratz-20/+8
suitable .config file.
2021-10-06Switch to our own mirror of libislMark Rousskov-4/+4
2021-10-03Update Let's Encrypt ROOT CA certificate in dist-(i686|x86_64)-linux docker ↵Hans Kratz-0/+41
images
2021-09-29Fix Windows LLVM issue.Eric Huss-0/+6
2021-09-17ci: Add Dockerfile for dist-m68k-linuxJohn Paul Adrian Glaubitz-0/+26
2021-09-12Rollup merge of #88699 - Mark-Simulacrum:fixes-cherry-picker, r=pietroalbiniManish Goregaokar-8/+0
Remove extra unshallow from cherry-pick checker This is already done by https://github.com/rust-lang/rust/blob/13db8440bbbe42870bc828d4ec3e965b38670277/src/ci/init_repo.sh#L32-L36 on the beta channel, and git throws an error if you attempt to unshallow an already non-shallow repository. r? ```@pietroalbini```
2021-09-10Work around CI issue with windows sdk 10.0.20348.0.Mara Bos-0/+9
2021-09-08update of the CI freebsd toolchainDavid Carlier-1/+1
adding libproctsta, for the upcoming libc update.
2021-09-06Do not unshallow -- already done by other codeMark Rousskov-8/+0
backport-of: none
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.