diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-04-25 00:53:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-25 00:53:58 +0200 |
| commit | 7ba71d38d89641d42480ab512c1df0ccd8b43819 (patch) | |
| tree | 45b7a73e098304122cbdec1c76e4216f9e3f5e44 /.github | |
| parent | 610ed826e30c8f89d56275b5a1033de4b3fc4a38 (diff) | |
| parent | 18c3370e5d8fe47dfcbcca423544a26fb60553e4 (diff) | |
| download | rust-7ba71d38d89641d42480ab512c1df0ccd8b43819.tar.gz rust-7ba71d38d89641d42480ab512c1df0ccd8b43819.zip | |
Rollup merge of #140148 - marcoieni:ci-aws-codebuild, r=Kobzol
CI: use aws codebuild for job dist-arm-linux try-job: dist-arm-linux
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efe4157aae2..93316b9cff7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,6 +91,17 @@ jobs: # Check the `calculate_matrix` job to see how is the matrix defined. include: ${{ fromJSON(needs.calculate_matrix.outputs.jobs) }} steps: + - name: Install cargo in AWS CodeBuild + if: matrix.codebuild + run: | + # Check if cargo is installed + if ! command -v cargo &> /dev/null; then + echo "Cargo not found, installing Rust..." + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal + # Make cargo available in PATH + echo "$HOME/.cargo/bin" >> $GITHUB_PATH + fi + - name: disable git crlf conversion run: git config --global core.autocrlf false @@ -165,6 +176,8 @@ jobs: run: src/ci/scripts/install-ninja.sh - name: enable ipv6 on Docker + # Don't run on codebuild because systemctl is not available + if: ${{ !matrix.codebuild }} run: src/ci/scripts/enable-docker-ipv6.sh # Disable automatic line ending conversion (again). On Windows, when we're |
