about summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
2022-02-26Update dist-s390x-dist imageNikita Popov-294/+475
Update to Ubuntu 20.04 and crosstool-ng 1.24.0. I've updated the ct-ng config and then manually reset the kernel and glibc versions to the oldest supported. Specifically, we're updating from kernel 2.6.32.68 to 2.6.32.71 and glibc 2.11.1 to 2.12.1 here. The compiler toolchain is also updated, but I don't think that's relevant for compatibility.
2022-02-17Rollup merge of #94064 - nikic:update-musl-image, r=Mark-SimulacrumMatthias Krüger-2/+2
Update dist-x86_64-musl to Ubuntu 20.04 This updates the dist-x86_64-musl image to use Ubuntu 20.04. The current Ubuntu 16.04 based image only works due to the Docker cache, it's not possible anymore to run it locally because of the usual certificate expiration issue. I believe updating the OS here is relatively safe because this targets musl, so there are no concerns about raising the glibc baseline. There is some risk here in that it updates the compiler toolchain used to produce artifacts, though I'm not aware of any specific issues that could cause. r? ``@Mark-Simulacrum``
2022-02-16Update dist-x86_64-musl to Ubuntu 20.04Nikita Popov-2/+2
2022-02-15Update browser-ui-test versionGuillaume Gomez-1/+1
2022-02-13Auto merge of #93837 - nikic:arm-update, r=Mark-Simulacrumbors-39/+0
Update dist-(arm|armv7|armhf)-linux to Ubuntu 20.04 I believe this should be safe, as actual artifacts will be produced by a cross toolchain. The build ran through cleanly locally. This came up in https://github.com/rust-lang/rust/pull/93577, where the host GCC ICEd during the LLD build. (Though I wonder why we build LLD for the host at all...) r? `@Mark-Simulacrum`
2022-02-10Update dist-armhf-linux to Ubuntu 20.04Nikita Popov-13/+0
2022-02-10Split x86_64 apple builder into twoMark Rousskov-3/+9
2022-02-10Update dist-armv7-linux to Ubuntu 20.04Nikita Popov-13/+0
2022-02-09Update dist-arm-linux to Ubuntu 20.04Nikita Popov-13/+0
I believe this should be safe, as actual artifacts will be produced by a cross toolchain. The build ran through cleanly locally.
2022-02-07Auto merge of #93719 - scottmcm:core-as-2021-everywhere, r=Mark-Simulacrumbors-8/+8
Build libcore as 2021 in a few more places The `Cargo.toml` has `edition = "2021"` (as of #92068), so that's what these command lines should use too.
2022-02-06Build libcore as 2021 in a few more placesScott McMurray-8/+8
The `Cargo.toml` has `edition = "2021"`, so that's what these command lines should use too.
2022-02-06Rollup merge of #93657 - Mark-Simulacrum:apple-measurement, r=pietroalbiniMatthias Krüger-22/+22
Update CPU idle tracking for apple hosts The previous setup did not properly consider hyperthreads (at least in local testing), which likely skews CI results as well. The new code is both simpler and hopefully will produce more accurate results; locally it matches behavior of the Linux version of this script.
2022-02-04Update CPU idle tracking for apple hostsMark Rousskov-22/+22
The previous setup did not properly consider hyperthreads (at least in local testing), which likely skews CI results as well. The new code is both simpler and hopefully will produce more accurate results.
2022-02-04Update browser-ui-test versionGuillaume Gomez-1/+1
2022-01-29Update browser-ui-test version to 0.5.8Guillaume Gomez-1/+1
2022-01-28Move target-only apple targets to separate builderMark Rousskov-4/+13
2022-01-21Auto merge of #92983 - pietroalbini:pa-bump-runner-images, r=Mark-Simulacrumbors-1/+1
Update Linux runners to Ubuntu 20.04 r? `@Mark-Simulacrum`
2022-01-20add script to prevent point releases with same number as existing onesPietro Albini-0/+34
2022-01-17Disable docs on aarch64-apple-darwin.Eric Huss-0/+1
This builder is the slowest in the fleet. This should cut a considerable amount of time. The manifest should now include the docs from x86_64-apple-darwin. Although those docs are slightly different, it should be close enough. When aarch64-apple-darwin heads towards tier 1, we can revisit whether or not to re-enable the docs.
2022-01-16update linux runners to ubuntu 20.04Pietro Albini-1/+1
2022-01-10Add note about upstream commit musl-patch-configure.diff is derived fromWesley Wiser-1/+3
2022-01-05Switch to es6 for eslintJacob Hoffman-Andrews-5/+5
Also update Node to v16.9.0, es-check to 6.1.1, and eslint to 8.6.0.
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