about summary refs log tree commit diff
path: root/src/ci/scripts
AgeCommit message (Collapse)AuthorLines
2025-07-19Initialize mingw for the runner's userChris Denton-0/+5
2025-06-13DRAFT: Add an aarch64-msvc build running on ARM64 WindowsDaniel Paoliello-3/+28
2025-06-09Do not checkout GCC submodule for the tidy jobJakub Beránek-0/+4
2025-06-02Fix `create-docs-artifacts.sh` with new borsJakub Beránek-1/+2
2025-05-20Auto merge of #140757 - dpaoliello:llvm20, r=Kobzolbors-2/+2
[win][ci] Update LLVM toolchain used to build LLVM to 20 While trying to get the aarch64-msvc build working correctly (#140136), I needed to update the version of LLVM used to build LLVM in Windows CI runners to 20 (as this has improved support for Arm64 and Arm64EC on Windows). This catches Windows up to Linux which was updated to 20 by #137189 try-job: `x86_64-apple-*` try-job: `aarch64-apple` try-job: `x86_64-msvc-*` try-job: `i686-msvc-*` try-job: `x86_64-mingw-*`
2025-05-15[win][CI] Convert paths to Windows format before adding to PATHDaniel Paoliello-3/+3
2025-05-07[win] Update LLVM toolchain used to build LLVM to 20Daniel Paoliello-2/+2
2025-04-27ci: clean more disk space in codebuildMarcoIeni-49/+74
2025-04-25Rollup merge of #140148 - marcoieni:ci-aws-codebuild, r=KobzolMatthias Krüger-9/+34
CI: use aws codebuild for job dist-arm-linux try-job: dist-arm-linux
2025-04-23CI: use aws codebuild for job dist-arm-linuxMarcoIeni-9/+34
2025-04-20Remove `setup-upstream-remote.sh` and upstream handling.Jakub Beránek-24/+0
It shouldn't be needed anymore.
2025-03-12Update sccache to 0.10.0Jakub Beránek-2/+4
This time, does it also for Windows and macOS.
2025-03-05Remove Python metric upload script and package.jsonJakub Beránek-86/+0
2025-02-19Rollup merge of #136815 - ChrisDenton:fix-mingw-ci, r=KobzolMatthias Krüger-0/+6
CI: Stop /msys64/bin from being prepended to PATH in msys2 shell We used to do this along time ago but we stopped doing it when we started installing msys2 manually. https://github.com/rust-lang/rust/blob/4fd3cf96a1db7771ef4f332b9eb1ad17fa0fd091/src/ci/scripts/install-msys2.sh#L11-L13 Fixes #136795 try-job: dist-i686-mingw
2025-02-15Rollup merge of #137070 - Kobzol:ci-summary-invalid-link, r=marcoieniMatthias Krüger-5/+10
Do not generate invalid links in job summaries Avoid [this](https://github.com/rust-lang-ci/rust/actions/runs/13341911341#summary-37267605606). It has bugged me for quite some time :) When a directory is empty, the `*.xz` bash glob "expands" to a file called `*.xz`. r? `@marcoieni`
2025-02-15Do not generate invalid links in job summariesJakub Beránek-5/+10
2025-02-14Don't error if stopping mysql fails in CIChris Denton-5/+0
2025-02-11ci: remove more unused files and directories in free runnersMarcoIeni-21/+63
2025-02-10Prevent /msys64/bin from being prepended to PATHChris Denton-0/+6
2025-02-03ci: stop mysql before removing itMarcoIeni-0/+3
2025-01-30ci: refactor how directories are removed in free-disk-space diskMarcoIeni-30/+64
2025-01-21CI: free disk with in-tree script instead of GitHub ActionMarcoIeni-0/+142
Co-authored-by: whiteio <chriswhiteiodev@gmail.com>
2024-12-31Reformat Python fileJakub Beránek-2/+12
2024-12-30chore: fix typosHoru-1/+1
2024-12-16[CI] Use a lockfile for installing the `datadog` packageJakub Beránek-8/+6
Without a lockfile, it could fail to compile when the dependencies have changed.
2024-12-04Reformat Python code with `ruff`Jakub Beránek-12/+9
2024-10-12add new CI step: "setup upstream remote"onur-ozkan-0/+24
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-10-02Auto merge of #125771 - Kobzol:ci-datadog-metrics, r=jdnobors-0/+81
[CI] Upload average CPU utilization of CI jobs to DataDog This PR adds a new CI step that uploads the average CPU utilization of the current GH job to Datadog. I want to add more metrics in follow-up PRs. r? `@jdno` try-job: dist-i686-msvc try-job: aarch64-apple try-job: x86_64-gnu-llvm-18
2024-09-27Partially revert "ci: Use mv instead of cp in upload step"Jubilee Young-3/+3
This partially reverts commit fe7c97c2e732de8dfc93ef21ee84ccfbc04c7d0c. I kept a mv, not a cp, for the one that shuffles major artifacts around, because the size of those artifacts are big enough to matter, sometimes. I don't think the diagnostic info will be that heavy, by comparison.
2024-09-27Revert "ci: Try to remove unused Xcode dirs"Jubilee Young-17/+0
This reverts commit 06f49f6d5326440192b8d31d69fa490dbfe01cfe.
2024-09-27Upload average CPU consumption of CI jobs to DataDogJakub Beránek-1/+82
2024-09-01Upgrade CI's mingw-w64 toolchainMateusz Mikuła-2/+2
2024-08-30ci: Take tail instead of head to avoid broken pipesJubilee Young-3/+1
2024-08-30ci: Avoid legacy backticks in upload-artifacts.shJubilee Young-1/+1
2024-08-30ci: Use mv instead of cp in upload stepJubilee Young-4/+4
2024-08-30ci: Try to remove unused Xcode dirsJubilee Young-0/+17
2024-07-07use "bootstrap" instead of "rustbuild" in comments and docsonur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-05-28Rollup merge of #125590 - ChrisDenton:mingw-ci-3, r=KobzolMatthias Krüger-42/+5
Add a "Setup Python" action for github-hosted runners and remove unnecessary `CUSTOM_MINGW` environment variable The Setup Python action isn't strictly necessary ([even on Windows](https://github.com/rust-lang/rust/pull/125584)) but it is [recommend by GitHub](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#specifying-a-python-version). The `CUSTOM_MINGW` environment variable is redundant now as it's always set for mingw and always unset otherwise. try-job: x86_64-mingw try-job: x86_64-mingw try-job: dist-x86_64-msvc try-job: dist-x86_64-mingw
2024-05-27Use grep to implement verify-line-endingsChris Denton-11/+11
2024-05-27Update description of install-mingwChris Denton-2/+1
2024-05-26Cleanup custom mingw in CIChris Denton-40/+4
2024-05-26Do less reinstalling in mingw CIChris Denton-41/+4
2024-05-09Upgrade the version of Clang used in the build, move MSVC builds to Server 2022Daniel Paoliello-5/+11
2024-04-24Remove `should-skip-this.sh`Jakub Beránek-21/+0
2024-04-20Move calculate-job-matrix.py to `ci/github-actions`Jakub Beránek-25/+0
2024-04-15Auto merge of #123451 - Kobzol:arbitrary-try-build, r=pietroalbinibors-0/+25
CI: add a script for dynamically computing CI job matrix It would be great if was easier to run specific CI workflows locally, and also to allow us to spawn a specific CI workflow by bors, to enable running arbitrary try builds. See discussion [here](https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/CI.20workflows.20refactoring). This PR is a first step in that direction. - Moves the definition of CI runners and (for now) PR jobs into a separate `jobs.yml` file. - Adds a simple Python script that reads the file, decides which jobs should be active for the current CI workflow, and prints them as JSON to their output. - The PR job then reads this output and generates its job matrix based on it. By moving the job definitions from `ci.yml` into a separate file, we can handle it programmatically, which should make it easier to both do local execution of CI jobs and also to do arbitrary try builds.
2024-04-04Generate CI job matrix for PR jobs in PythonJakub Beránek-0/+25
2024-04-03Output URLs of CI artifacts to GitHub summaryJakub Beránek-0/+14
2024-03-28Update ninja on WindowsNilstrieb-1/+1
Errors started showing up, and I read somewhere that this might be because of old ninja versions. This ninja version is indeed *ancient*. ``` multiple outputs aren't (yet?) supported by depslog; bring this up on the mailing list if it affects you ```
2024-03-17Auto merge of #122321 - majaha:mingw_ci_new, r=Mark-Simulacrumbors-10/+13
`mv` tools off the path instead of `rm -r`-ing them in `install-msys2.sh` This is a follow up patch to https://github.com/rust-lang/rust/pull/121182 r? `@Mark-Simulacrum`