about summary refs log tree commit diff
path: root/src/ci/docker
AgeCommit message (Collapse)AuthorLines
2022-03-25Update browser-ui-test version to 0.8.4Guillaume Gomez-1/+1
2022-03-20Auto merge of #94976 - jclulow:solaris-festival, r=Mark-Simulacrumbors-8/+12
solaris build environment should include libsendfile/liblgrp As of version 0.2.120 of the libc crate, the solaris target now requires some additional libraries to be present in the sysroot. Note that the solaris target doesn't really build against files from Solaris, but rather against some files from DilOS (a platform similar to both Solaris and illumos). Pull in the extra libraries and their compilation links from that apt repository. This aims to assist with rust-lang/rust#94052.
2022-03-18Compare installed browser-ui-test version to the one used in CIGuillaume Gomez-2/+9
2022-03-18Rollup merge of #95013 - GuillaumeGomez:browser-ui-test-v, r=notriddleMatthias Krüger-1/+1
Update browser-ui-test version to 0.8.2 It brings mostly debugging improvements: it doesn't stop at the first failing command but rather at the first "fatal error". r? `@notriddle`
2022-03-17Fix cmake build.Eric Huss-3/+3
2022-03-16Update browser-ui-test version to 0.8.3Guillaume Gomez-1/+1
2022-03-15solaris build environment should include libsendfile/liblgrpJoshua M. Clulow-8/+12
As of version 0.2.120 of the libc crate, the solaris target now requires some additional libraries to be present in the sysroot. Note that the solaris target doesn't really build against files from Solaris, but rather against some files from DilOS (a platform similar to both Solaris and illumos). Pull in the extra libraries and their compilation links from that apt repository.
2022-03-12Update browser-ui-test version used in CIGuillaume Gomez-1/+1
2022-03-10Update browser-ui-test versionGuillaume Gomez-1/+1
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-10Update dist-armhf-linux to Ubuntu 20.04Nikita Popov-13/+0
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-04Update browser-ui-test versionGuillaume Gomez-1/+1
2022-01-29Update browser-ui-test version to 0.5.8Guillaume Gomez-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-30Update browser-ui-test version to have assert-position commandGuillaume Gomez-1/+1
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-13Change paths for `dist` command to match the components they generateJoshua Nelson-1/+1
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-24Auto merge of #89776 - rusticstuff:ci-overflow-checks, r=Mark-Simulacrumbors-0/+2
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-4/+5
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-3/+3
2021-10-22Update the minimum external LLVM to 11Josh Stone-4/+5
2021-10-21Time out docker load after 10 minutes, kill after 12 due to CI hangs.Hans Kratz-1/+4
2021-10-21CI: Enable overflow checks for test (non-dist) buildsHans Kratz-0/+2
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-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-1/+1
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-14Switch to clang v13 as the C/C++ compiler used for bootstrapMark Rousskov-1/+1
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-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