about summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
2022-07-20skip some testsMilo-10/+1
2022-07-20test stage-1 in ciMilo-0/+56
2022-07-18Revert "Use ICF (identical code folding) for building rustc"Jakub Beránek-6/+1
2022-07-18check REUSE compliance in CIPietro Albini-0/+176
2022-07-17Use LLD linker for compiling rustc on Linux x64 and use ICF for binary size ↵Jakub Beránek-1/+6
optimization
2022-07-17Auto merge of #99040 - gimbles:ci-std-tests, r=pietroalbinibors-0/+1
Run stage 0 std tests in CI Fixes https://github.com/rust-lang/rust/issues/95996
2022-07-11Auto merge of #96978 - lqd:win_pgo2, r=Mark-Simulacrumbors-51/+117
Utilize PGO for windows x64 rustc dist builds This PR adds PGO support for the CI x64 windows dist builds. These are the results from running the rustc-perf benchmarks: ![image](https://user-images.githubusercontent.com/247183/177662869-683a8034-7c95-42bf-9900-9ffd66677fcf.png) Thanks to `@Kobzol,` `@michaelwoerister,` `@wesleywiser,` `@Mark-Simulacrum` for their precious help.
2022-07-11introduce PGO on the `dist-x86_64-msvc` builderRémy Rakic-13/+47
This adds windows-specific behavior into the PGO script, and enables it on CI.
2022-07-11make linux PGO script more genericRémy Rakic-39/+70
This extracts the linux-isms into variables, so that the script can be extended to do PGO on windows. These variables will be overriden in a few spots, in windows-specific blocks.
2022-07-11bump CI LLVM to 14.0.5Rémy Rakic-2/+3
The version 14.0.2 we currently use is busted on windows at the very least.
2022-07-11Auto merge of #98369 - jyn514:configure.py, r=Mark-Simulacrumbors-3/+2
Remove unsupported options in configure.py I've seen people using `optimize = false` and `full-bootstrap = true` in the past, without knowing that they're not recommended. Remove `optimize` and a few other options that are always a bad idea, and document that full-bootstrap is only for testing reproducible builds.
2022-07-10Remove unsupported options in configure.pyJoshua Nelson-3/+2
I've seen people using `optimize = false` and `full-bootstrap = true` in the past, without knowing that they're not recommended. Remove `optimize` and a few other options that are always a bad idea, and document that full-bootstrap is only for testing reproducible builds.
2022-07-08Update src/ci/docker/host-x86_64/mingw-check/DockerfileGimgim-1/+1
Co-authored-by: Joshua Nelson <github@jyn.dev>
2022-07-08Run std tests in CIGimgim-0/+1
2022-07-03Auto merge of #98439 - ehuss:cleanup-ci-script, r=Mark-Simulacrumbors-104/+63
Clean up submodule checkout scripts This is just some small cleanup: * Removed unused CACHE_DIR stuff * Removed duplicate fetch_github_commit_archive function which is no longer used * Combined init_repo.sh and checkout-submodules.sh, as checkout-submodules.sh was doing nothing but calling init_repo.sh
2022-06-29Update browser-ui-test version to 0.9.7Guillaume Gomez-1/+1
2022-06-23Move init_repo.sh to checkout-submodules.shEric Huss-76/+65
checkout-submodules.sh is no longer serving any purpose other than to run init_repo.
2022-06-23Rollup merge of #98422 - GuillaumeGomez:browser-ui-test-update, r=Dylan-DPCMichael Goulet-1/+1
Update browser-ui-test version to 0.9.6 This update provides a better error message when chromium crashes. cc ``@jsha`` r? ``@Dylan-DPC``
2022-06-23Remove duplicated fetch_github_commit_archive in CI scripts.Eric Huss-13/+0
The code using `fetch_github_commit_archive` was removed in #72937.
2022-06-23Remove unused CACHE_DIR in init_repo.Eric Huss-18/+1
This was used long ago in Travis/Appveyor, but is no longer used.
2022-06-23Temporarily disable submodule archive downloads.Eric Huss-8/+11
2022-06-23Update browser-ui-test version to 0.9.6Guillaume Gomez-1/+1
This update provides a better error message when chromium crashes
2022-06-10Update FreeBSD toolchain to 12.3Nikita Popov-10/+10
2022-06-05update commentPietro Albini-1/+1
2022-06-05remove azure pipelines-specific debug statementPietro Albini-4/+0
2022-06-05remove clean-disk scriptPietro Albini-16/+0
The script wasn't referenced anywhere, and it's not useful anymore: /opt/ghc is not present in new images, while /usr/share/dotnet is only 2.3 GB rather than 16 GB.
2022-06-05remove azure pipelines configurationPietro Albini-106/+7
2022-06-05Auto merge of #93717 - pietroalbini:pa-ci-profiler, r=Mark-Simulacrumbors-4/+10
Add build metrics to rustbuild This PR adds a new module of rustbuild, `ci_profiler`, whose job is to gather as much information as possible about the CI build as possible and store it in a JSON file uploaded to `ci-artifacts`. Right now for each step it collects: * Type name and debug representation of the `Step` object. * Duration of the step (excluding child steps). * Systemwide CPU stats for the duration of the step (both single core and all cores). * Which child steps were executed. This is capable of replacing both the scripts to collect CPU stats and the `[TIMING]` lines in build logs (not yet removed, until we port our tooling to use the CI profiler). The format is also extensible to be able in the future to collect more information. r? `@Mark-Simulacrum`
2022-06-04Auto merge of #97137 - Kobzol:ci-llvm-pgo-pid, r=Mark-Simulacrumbors-10/+36
Add PID to LLVM PGO profile path This is a continuation of https://github.com/rust-lang/rust/pull/97110, which adds PID to the filename pattern of LLVM profiles. It also adds some metrics to the pgo.sh script, so that we can observe how many profiles there are and how large are they. r? `@lqd`
2022-05-28Add PID to LLVM PGO profiles generated in CI and measure PGO statisticsJakub Beránek-10/+36
2022-05-26Rollup merge of #97317 - GuillaumeGomez:gui-settings-text-click, r=jshaGuillaume Gomez-1/+1
Allow to click on setting text You can test it [here](https://rustdoc.crud.net/imperio/gui-settings-text-click/doc/foo/index.html). This PR allows to click on the text alongside the toggle to change it. r? `@jsha`
2022-05-24Update browser-ui-test version to 0.9.5Guillaume Gomez-1/+1
2022-05-23Add bitmaps and diesel to `rustc` PGO benchmarksJakub Beránek-3/+4
2022-05-22fix uploading build metrics on ciPietro Albini-5/+7
2022-05-19Rollup merge of #97139 - GuillaumeGomez:move-dom-settings-generation, ↵Yuki Okushi-1/+1
r=notriddle Move some settings DOM generation out of JS The first commit reduce the JS size a bit by moving some DOM content generation into the HTML file directly. The second commit is an update of the `browser-ui-test` version which improves `wait-for-*` command (if the element doesn't exist, it'll wait for it instead of failing). r? ``@notriddle``
2022-05-19Rollup merge of #96866 - Mark-Simulacrum:intelligent-tiering-ci, r=pietroalbiniYuki Okushi-1/+2
Switch CI bucket uploads to intelligent tiering We currently upload approximately 166 GB/day into this bucket (estimate based on duration of storage and total current size). My estimate is that this change should decrease our costs (which are currently in credits) and is in the worst case (if all objects are brought into hot storage due to unanticipated frequent access) only going to add an additional ~$4 to the monthly bill. If access is rare (as expected) to most objects then we expect to save approximately ~$350/month (after this change takes full effect in ~168 days). r? ``@pietroalbini``
2022-05-18Auto merge of #97110 - Kobzol:pgo-pid-in-profile, r=lqdbors-1/+5
Add PID to PGO profile data filename After experimenting with PGO, it looks like the generated profile data files can be sometimes overwritten if there is a race condition, because multiple `rustc` processes are usually invoked in parallel by `cargo`. Adding the PID to the resulting profile filename pattern makes sure that the profiles will be stored in separate files. This generates ~20 GiB more space on disk on the CI run, but that seems harmless (?). Merging the profiles is not a bottleneck, the perf. run took the same amount of time as usually (~1h 24m). r? `@lqd`
2022-05-18Update browser-ui-test versionGuillaume Gomez-1/+1
2022-05-18Rollup merge of #97113 - GuillaumeGomez:search-ui-fixes, r=notriddleYuki Okushi-1/+1
Search GUI fixes The first fix is about the duplicated "in": ![Screenshot from 2022-05-17 13-25-53](https://user-images.githubusercontent.com/3050060/168814186-a4e9064f-4325-469c-8bf6-46ea2737a24f.png) The second fix is about the `<select>` broken style: ![Screenshot from 2022-05-17 13-37-03](https://user-images.githubusercontent.com/3050060/168814182-b1c5ae66-d8cf-4fd5-a227-5aa8cd8453ab.png) ![Screenshot from 2022-05-17 13-36-55](https://user-images.githubusercontent.com/3050060/168814184-be9e56f8-fad4-477c-899e-9abff4d4910c.png) You can test it [here](https://rustdoc.crud.net/imperio/search-ui-fixes/doc/foo/index.html?search=test). r? `@notriddle`
2022-05-17Add PID to rustc PGO profiles generated in CIJakub Beránek-1/+5
2022-05-17Update browser-ui-test version to 0.9.2Guillaume Gomez-1/+1
2022-05-17Auto merge of #96907 - sunfishcode:sunfishcode/update-wasi, r=Mark-Simulacrumbors-5/+10
Update the wasi toolchain. Update the WASI build to LLVM 14.0 and the wasi-libc version from wasi-sdk-15. This will require a ci-mirrors.rust-lang.org file load. Specifically, we need [this LLVM release tarball] uploaded to be downloadable from [this URL]. [this LLVM release tarball]: https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz [this URL]: https://ci-mirrors.rust-lang.org/rustc/2022-05-10-clang%2Bllvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
2022-05-16Update how CC etc. are set in the wasi-libc Makefile.Dan Gohman-2/+7
wasi-libc's Makefile changed how it detects the compiler to use; update Rust's script to set `CC` directly to the compiler it installs.
2022-05-13Update browser-ui-test versionGuillaume Gomez-1/+1
2022-05-10Update the wasi toolchain.Dan Gohman-4/+4
Update the WASI build to LLVM 14.0 and the wasi-libc version from wasi-sdk-15. This will require a ci-mirrors.rust-lang.org file load. Specifically, we need [this LLVM release tarball] uploaded to be downloadable from [this URL]. [this LLVM release tarball]: https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz [this URL]: https://ci-mirrors.rust-lang.org/rustc/2022-05-10-clang%2Bllvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
2022-05-08Switch CI bucket to intelligent tieringMark Rousskov-1/+2
We currently upload approximately 166 GB/day into this bucket (estimate based on duration of storage and total current size). My estimate is that this change should decrease our costs (which are currently in credits) and is in the worst case (if all objects are brought into hot storage due to unanticipated frequent access) only going to add an additional ~$4 to the monthly bill. If access is rare (as expected) to most objects then we expect to save approximately ~$350/month (after this change takes full effect in ~168 days).
2022-05-08Auto merge of #96689 - gimbles:campfire, r=Mark-Simulacrumbors-2/+0
Move check-bootstrap from a makefile rule to test::Bootstrap Fixes #96688
2022-05-07Rollup merge of #96805 - Folyd:eslint, r=GuillaumeGomezGuillaume Gomez-1/+1
Change eslint rules from configuration comments to configuration file Repeatedly declaring eslint rules in source files is an annoying thing, we should move those rules into the eslint configuration file. r? ``@GuillaumeGomez``
2022-05-07Change eslint rules from configuration comments to configuration filesFolyd-1/+1
2022-05-07Move check-bootstrap from a makefile rule to test::Bootstrapgimbles-2/+0