From 44cc00564a822e49346a37fb3fdc09e786adcb61 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Thu, 24 Aug 2023 23:21:03 -0400 Subject: ci: pin musl to 1.71.0 for now when building releases (#1282) --- .github/workflows/build_releases.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml index 252a2903..e1acbd74 100644 --- a/.github/workflows/build_releases.yml +++ b/.github/workflows/build_releases.yml @@ -61,6 +61,7 @@ jobs: os: "ubuntu-20.04", target: "x86_64-unknown-linux-musl", cross: false, + rust: "1.71.0", } - { os: "ubuntu-20.04", @@ -130,7 +131,7 @@ jobs: if: matrix.info.container == '' uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d with: - toolchain: stable + toolchain: ${{ matrix.info.rust || 'stable' }} target: ${{ matrix.info.target }} - name: Set up Rust toolchain (non-GitHub container) @@ -289,7 +290,7 @@ jobs: matrix: info: - { target: "x86_64-unknown-linux-gnu", cross: false, dpkg: amd64 } - - { target: "x86_64-unknown-linux-musl", cross: false, dpkg: amd64 } + - { target: "x86_64-unknown-linux-musl", cross: false, dpkg: amd64, rust: "1.71.0" } - { target: "aarch64-unknown-linux-gnu", cross: true, @@ -323,7 +324,7 @@ jobs: - name: Set up Rust toolchain uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d with: - toolchain: stable + toolchain: ${{ matrix.info.rust || 'stable' }} target: ${{ matrix.info.target }} # TODO: Could I use the previous jobs to skip this call? @@ -411,7 +412,7 @@ jobs: matrix: info: - { target: "x86_64-unknown-linux-gnu" } - - { target: "x86_64-unknown-linux-musl" } + - { target: "x86_64-unknown-linux-musl", rust: "1.71.0" } steps: - name: Checkout repository uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 @@ -421,7 +422,7 @@ jobs: - name: Set up Rust toolchain uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d with: - toolchain: stable + toolchain: ${{ matrix.info.rust || 'stable' }} target: ${{ matrix.info.target }} # TODO: Could I use the previous jobs to skip this call? -- cgit v1.2.3