Skip to content

Commit 9031582

Browse files
committed
Auto merge of rust-lang#16928 - lnicola:rocky-8, r=lnicola
internal: Build x86_64-unknown-linux-gnu releases on Rocky Linux 8
2 parents 6e54d41 + 6ee3f66 commit 9031582

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
- os: ubuntu-20.04
3737
target: x86_64-unknown-linux-gnu
3838
code-target: linux-x64
39+
container: rockylinux:8
3940
- os: ubuntu-20.04
4041
target: aarch64-unknown-linux-gnu
4142
code-target: linux-arm64
@@ -62,6 +63,14 @@ jobs:
6263
with:
6364
fetch-depth: ${{ env.FETCH_DEPTH }}
6465

66+
- name: Install toolchain dependencies
67+
if: matrix.container == 'rockylinux:8'
68+
shell: bash
69+
run: |
70+
dnf install -y gcc
71+
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --profile minimal --default-toolchain none -y
72+
echo "${CARGO_HOME:-$HOME/.cargo}/bin" >> $GITHUB_PATH
73+
6574
- name: Install Rust toolchain
6675
run: |
6776
rustup update --no-self-update stable

0 commit comments

Comments
 (0)