about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-23 07:37:54 +0000
committerbors <bors@rust-lang.org>2024-03-23 07:37:54 +0000
commit903158268aabf6141086e4ae427e91d56144ca97 (patch)
treed7731bf47ee2b0beeb56bb0d1cad5e8e006bd141
parent6e54d41d5a710e286e081860c86e8e93bf81b0b2 (diff)
parent6ee3f663861bd2f4818d0965ad3cd4e8534e5578 (diff)
downloadrust-903158268aabf6141086e4ae427e91d56144ca97.tar.gz
rust-903158268aabf6141086e4ae427e91d56144ca97.zip
Auto merge of #16928 - lnicola:rocky-8, r=lnicola
internal: Build x86_64-unknown-linux-gnu releases on Rocky Linux 8
-rw-r--r--.github/workflows/release.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index dc0a6c2d91f..dd9a7b7bc33 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -36,6 +36,7 @@ jobs:
           - os: ubuntu-20.04
             target: x86_64-unknown-linux-gnu
             code-target: linux-x64
+            container: rockylinux:8
           - os: ubuntu-20.04
             target: aarch64-unknown-linux-gnu
             code-target: linux-arm64
@@ -62,6 +63,14 @@ jobs:
         with:
           fetch-depth: ${{ env.FETCH_DEPTH }}
 
+      - name: Install toolchain dependencies
+        if: matrix.container == 'rockylinux:8'
+        shell: bash
+        run: |
+          dnf install -y gcc
+          curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --profile minimal --default-toolchain none -y
+          echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
+
       - name: Install Rust toolchain
         run: |
           rustup update --no-self-update stable