about summary refs log tree commit diff
path: root/src/ci
AgeCommit message (Collapse)AuthorLines
2023-01-12Auto merge of #106711 - albertlarsan68:use-ci-llvm-when-lld, r=jyn514bors-4/+0
Use CI LLVM in `test-various` builder It was disabled because it needs `lld`, but since #104748 was merged it is no longer needed. This will speed this test, since it no longer needs to build LLVM.
2023-01-11Change `src/test` to `tests` in source files, fix tidy and testsAlbert Larsan-17/+17
2023-01-11Use CI LLVM in `test-various` builderAlbert Larsan-4/+0
It was disabled because it needs lld, but since 104748 was merged it is no longer needed.
2023-01-10disable fast submodule checkout due to spurious ci failuresPietro Albini-7/+8
2023-01-06Update browser-ui-test versionGuillaume Gomez-1/+1
2023-01-05Add vendor to Fuchsia's target tripleDavid Koloski-23/+23
Historically, Rust's Fuchsia targets have been labeled x86_64-fuchsia and aarch64-fuchsia. However, they should technically contain vendor information. This CL changes Fuchsia's target triples to include the "unknown" vendor since Clang now does normalization and handles all triple spellings. This was previously attempted in #90510, which was closed due to inactivity.
2023-01-01Cleanup `mingw-tidy` docker jobJoshua Nelson-3/+2
- Avoid `/checkout/src/ci/run.sh: line 187: [: =: unary operator expected`: https://github.com/rust-lang/rust/actions/runs/3809902408/jobs/6481611301#step:26:1701 - Avoid running `x check` in the tidy test, to get faster feedback. It's already run on the normal `mingw-check` job.
2022-12-31Run `cargo test` on tidy itself.Eric Huss-1/+1
2022-12-31Revert "Auto merge of #105058 - ↵Joshua Nelson-6/+0
Nilstrieb:no-merge-commits-for-you-only-bors-is-allowed-to-do-that, r=jyn514" This reverts commit 4839886f0abe208ab8f2bb73a3076a59fe2ab60c, reversing changes made to ce85c98575e3016cf2007d90a85be321e592aa96.
2022-12-30Checkout `master` branch in CINilstrieb-0/+6
2022-12-26readme: update section on how to run x.pyKaDiWa-9/+1
2022-12-22Run `tidy` in its own job in PR CIDeadbeef-2/+45
This duplicates mingw-check into two jobs where one job runs `tidy` only while the other job does not. The tidy job will not cancel other jobs on failure.
2022-12-19Auto merge of #105845 - lqd:revert-thinlto-revert, r=Mark-Simulacrumbors-1/+1
Re-enable ThinLTO for rustc on `x86_64-apple-darwin` ThinLTO was disabled on x64 mac in https://github.com/rust-lang/rust/pull/105646 because of the https://github.com/rust-lang/rust/issues/105637 regression. It was later discovered that the issue was present on other targets as well, as the mac revert was already landing. The linux/win reverts, however, did not land before the root cause was identified. https://github.com/rust-lang/rust/pull/105800 fixed the underlying issue in `-Zdylib-lto` handling, and the x64 msvc and linux targets are now fixed, ICEs are using the correct `rustc_driver` panic hook. This PR re-enables ThinLTO on mac for improved perf now that the issue should be fixed everywhere.
2022-12-18Rollup merge of #105863 - GuillaumeGomez:update-browser-ui-test, r=notriddleMatthias Krüger-1/+1
Update browser-ui-test version to reduce GUI tests flakyness Part of https://github.com/rust-lang/rust/issues/93784. r? `@notriddle`
2022-12-18Update browser-ui-test version to reduce GUI tests flakynessGuillaume Gomez-1/+1
2022-12-18Auto merge of #105714 - jyn514:tidy-first, r=Mark-Simulacrumbors-8/+19
Run `x test tidy` sooner in mingw-check It takes less time to run than the other tests and is more likely to fail. `expand-yaml-anchors` is still run first to make sure the CI files are internally consistent. Note that changing to `--stage 0` doesn't actually do anything since bootstrap tools are always built with the bootstrap compiler, this just makes it less confusing. cc https://github.com/rust-lang/rust/pull/105058/commits/83bab41b5b2d4752d187dd91b05c88ac74cf3783
2022-12-17Re-enable ThinLTO for rustc on x86_64-apple-darwin dist buildsRémy Rakic-1/+1
This reverts commit ddb6fe2e1d270d23ec09c2cb435c22229830e97c.
2022-12-17Make `RUN_CHECK_WITH_PARALLEL_QUERIES` the last thing to runJoshua Nelson-7/+18
This takes a long time and rarely fails. It also interferes with `retry make prepare`, the retry is unhelpful since `make prepare` turns into a no-op
2022-12-16Test documentation of hidden items in stdChris Denton-1/+1
2022-12-14Run `x test tidy` sooner in mingw-checkJoshua Nelson-1/+1
It takes less time to run than the other tests and is more likely to fail. `expand-yaml-anchors` is still run first to make sure the CI files are internally consistent.
2022-12-14Rollup merge of #105663 - andrewpollack:patch-1, r=tmandryMatthias Krüger-1/+1
Adjust log line in `fuchsia-test-runner.py` * Adjusting log line in `fuchsia-test-runner.py` to refer to self r? ``@tmandry``
2022-12-13Adjust log line in `fuchsia-test-runner.py`Andrew Pollack-1/+1
* Adjusting log line in `fuchsia-test-runner.py` to refer to self
2022-12-13Revert "enable ThinLTO for rustc on x86_64-apple-darwin dist builds"Rémy Rakic-1/+1
This reverts commit 3a085f769545e5f3327d29460060520d59766ba7.
2022-12-11Auto merge of #103647 - lqd:osx-x64-lto, r=Mark-Simulacrumbors-1/+1
Enable ThinLTO for rustc on `x86_64-apple-darwin` Local measurements seemed to show an improvement on a couple benchmarks, so I'd like to test real CI builds, and see if the builder doesn't timeout with the expected slight increase in build times. Let's start with x64 rustc ThinLTO, and then figure out the file structure to configure LLVM ThinLTO. Maybe we'll then try `aarch64` builds since that also looked good locally.
2022-12-11Auto merge of #103591 - lqd:win-lto, r=Mark-Simulacrumbors-0/+1
Enable ThinLTO for rustc on x64 msvc This applies the great work from `@bjorn3` and `@Kobzol` in https://github.com/rust-lang/rust/pull/101403 to x64 msvc. Here are the local results for the try build `68c5c85ed759334a11f0b0e586f5032a23f85ce4`, compared to its parent `0a6b941df354c59b546ec4c0d27f2b9b0cb1162c`. Looking better than my previous local builds. ![image](https://user-images.githubusercontent.com/247183/198158039-98ebac0e-da0e-462e-8162-95e88345edb9.png) (I can't show cycle counts, as that option is failing on the windows version of the perf collector, but I'll try to analyze and debug this soon) This will be the first of a few tests for rustc / llvm / both ThinLTO on the windows and mac targets.
2022-12-09Rollup merge of #105389 - ogarokpeter:patch-1, r=Mark-SimulacrumMatthias Krüger-1/+1
Enable profiler in dist-powerpc64le-linux Build the profiler runtime to allow using -C profile-generate and -C instrument-coverage on POWER little endian systems. I have verified locally that the runtime builds and the profiler is working fine on the platform. Similar pull request for a different system: https://github.com/rust-lang/rust/pull/104304
2022-12-07CI: add missing line continuation markerDan Johnson-2/+2
Resolves this docker warning: ``` [WARNING]: Empty continuation line found in: RUN apt-get update && apt-get install -y --no-install-recommends g++ gcc-multilib make ninja-build file curl ca-certificates python2.7 python3.9 git cmake sudo gdb llvm-13-tools llvm-13-dev libedit-dev libssl-dev pkg-config zlib1g-dev xz-utils nodejs apt-transport-https software-properties-common && curl -s "https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb" > packages-microsoft-prod.deb && dpkg -i packages-microsoft-prod.deb && apt-get update && apt-get install -y powershell && rm -rf /var/lib/apt/lists/* Warning: : Empty continuation lines will become errors in a future release. ```
2022-12-06Update the wasi toolchain.Dan Gohman-4/+4
Update the WASI build to LLVM 15.0 and the wasi-libc version from [wasi-sdk-17]. 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-15.0.6/clang+llvm-15.0.6-x86_64-linux-gnu-ubuntu-18.04.tar.xz [this URL]: https://ci-mirrors.rust-lang.org/rustc/2022-12-06-clang%2Bllvm-15.0.6-x86_64-linux-gnu-ubuntu-18.04.tar.xz [wasi-sdk-17]: https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-17
2022-12-06Enable profiler in dist-powerpc64le-linuxPetr Ogarok-1/+1
Build the profiler runtime to allow using -C profile-generate and -C instrument-coverage on POWER systems. I have verified locally that the runtime builds and the profiler is working fine on the platform.
2022-12-05Auto merge of #105328 - matthiaskrgr:rollup-qnfksmq, r=matthiaskrgrbors-1/+1
Rollup of 8 pull requests Successful merges: - #104912 (PartialEq: PERs are homogeneous) - #104952 (Streamline the user experience for `x.py setup`) - #104953 (Ensure required submodules at the same time as updating existing submodules) - #105180 (Use proper HirId for async track_caller attribute check) - #105222 (std update libc version and freebsd image build dependencies) - #105223 (suggest parenthesis around ExprWithBlock BinOp ExprWithBlock) - #105230 (Skip recording resolution for duplicated generic params.) - #105301 (update Miri) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2022-12-05Rollup merge of #105222 - devnexen:fbsd_update_img, r=petrochenkovMatthias Krüger-1/+1
std update libc version and freebsd image build dependencies
2022-12-05Auto merge of #105176 - klensy:docker-smol, r=Mark-Simulacrumbors-27/+43
CI: reduce docker image sizes Reduces docker image sizes by using simple tips like: cleaning packet managers cache, squashing sequential installation steps into one. For some images this gives ~40mb for apt-based images (not so much), but ~200mb(!) for centos one.
2022-12-03std update libc version and freebsd image build dependenciesDavid CARLIER-1/+1
2022-12-03switch to the macos-12-xl builderPietro Albini-1/+1
2022-12-02reduce docker image sizes by cleaning cache/squashing stepsklensy-27/+43
2022-11-29Auto merge of #105041 - matthiaskrgr:rollup-7ffry90, r=matthiaskrgrbors-0/+0
Rollup of 10 pull requests Successful merges: - #104465 (Document more settings for building rustc for Fuchsia) - #104951 (Simplify checking for `GeneratorKind::Async`) - #104959 (Revert #104269 (to avoid spurious hang/test failure in CI)) - #104978 (notify the rust-analyzer team on changes to the rust-analyzer subtree) - #105010 (Fix documentation of asymptotic complexity for rustc_data_structures::SortedMap) - #105016 (Add sentence when rustdoc search is running) - #105020 (rustdoc: merge background-image rules in rustdoc-toggle CSS) - #105024 (rustdoc: remove `fnname` CSS class that's styled exactly like `fn`) - #105027 (Rustdoc-Json: Add tests for linking to foreign variants.) - #105038 (Clean up pr 104954) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2022-11-29Rollup merge of #104465 - djkoloski:improve_fuchsia_testing_docs, r=tmandryMatthias Krüger-0/+0
Document more settings for building rustc for Fuchsia This documents that you need to link for Fuchsia with `lld` and provides configuration settings for both `clang` and `lld`. It also adjusts the documentation for running the test suite to recommend installing to a prefix. r? ``@tmandry``
2022-11-28test-various: Add tests for {i686,aarch64}-unknown-uefiNicholas Bishop-17/+74
This extends the existing test for x86_64-unknown-uefi to test the other two UEFI targets as well.
2022-11-26Auto merge of #104431 - alistair23:alistair/rv64-profiler, r=Mark-Simulacrumbors-1/+1
Enable profiler in dist-riscv64-linux Build the profiler runtime to allow using -C profile-generate and -C instrument-coverage on riscv64-linux. Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2022-11-25Auto merge of #104650 - BlackHoleFox:stuck-with-xcode-13, r=Mark-Simulacrumbors-0/+21
Build macOS distribution artifacts with XCode 13 After all of the `rust-lang/rust` Apple runners started using macOS 12, the builds created by CI began to use XCode 14.0.1. Due to this (as far as we can tell), XCode's build tools started to ignore the `MACOSX_DEPLOYMENT_TARGET` being defined by us for the distributed builds that let both `rustc` and `libstd` work on older versions. The current idea is that since XCode 14's macOS SDK doesn't support deployment targets before 10.13, it uses some default of its own. You can see the difference between stable's and the most recent nighty's supported versions [here](https://github.com/rust-lang/rust/issues/104570#issuecomment-1321225907). I wasn't able to confirm my SDK versioning hypothesis locally since I think there's something jammed with my XCode installation, but hopefully this should still fix it for releases. Closes https://github.com/rust-lang/rust/issues/104570 r? `@Mark-Simulacrum`
2022-11-22Rollup merge of #104622 - nicholasbishop:bishop-uefi-clang, r=Mark-SimulacrumManish Goregaokar-1/+10
Use clang for the UEFI targets This fixes an issue where the C and asm sources built by compiler_builtins were being compiled as ELF objects instead of PE objects. This wasn't noticed before because it doesn't cause compiler_builtins or rustc to fail to build. You only see a failure when a program is built that references one of the symbols in an ELF object. Compiling with clang fixes this because the cc crate converts the UEFI targets into Windows targets that clang understands, causing it to produce PE objects. Also update compiler_builtins to 0.1.84 to pull in some necessary fixes for compiling the UEFI targets with clang. Fixes https://github.com/rust-lang/rust/issues/104326
2022-11-20Use XCode 13.4 everywhere in dist CIBlackHoleFox-1/+4
Do this because XCode 14 no longer supports a macOS deployment target of anything before 10.13. We need 10.7+(-ish, really 10.9+) for now.
2022-11-20test-various: Use clang for the UEFI testNicholas Bishop-1/+4
This syncs it with how the UEFI targets are built in dist-various-2.
2022-11-19Revert "Update CI to use Android NDK r25b"Alex Pinkus-11/+36
This reverts commit bf7f1ca316a249cf99d722d79a0db12fef687142.
2022-11-20dist-various-2: Use clang for the UEFI targetsNicholas Bishop-0/+6
This fixes an issue where the C and asm sources built by compiler_builtins were being compiled as ELF objects instead of PE objects. This wasn't noticed before because it doesn't cause compiler_builtins or rustc to fail to build. You only see a failure when a program is built that references one of the symbols in an ELF object. Compiling with clang fixes this because the `cc` crate converts the UEFI targets into Windows targets that clang understands, causing it to produce PE objects. Note that this requires compiler_builtins >= 0.1.84. Fixes https://github.com/rust-lang/rust/issues/104326
2022-11-19Bring back XCode selection CI scriptBlackHoleFox-0/+18
This reverts commit 8514b0097b28f84ee5cfead059a5771c6a693fb0.
2022-11-19Rollup merge of #104577 - GuillaumeGomez:remove-focus-on-blur, r=notriddleMatthias Krüger-1/+1
Don't focus on notable trait parent when hiding it I clicked on a notable trait icon so the popup remained and then clicked on the settings menu. When the settings menu was blurred, it scrolled back to when the notable trait was, which isn't great. r? `@notriddle`
2022-11-19Update browser-ui-test version to 0.13.2Guillaume Gomez-1/+1
2022-11-17install the target g++ in armhf-gnuPietro Albini-1/+1
2022-11-16[fuchsia] Document more settings for building RustDavid Koloski-0/+0