diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3996e0a5..70495a0d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -89,9 +89,15 @@ jobs: strategy: fail-fast: false matrix: - target: [i686-musl, armv7-musleabihf, aarch64-musl, x86_64-musl] + target: + [ + i686-unknown-linux-musl, + armv7-unknown-linux-musleabihf, + aarch64-unknown-linux-musl, + x86_64-unknown-linux-musl, + ] container: - image: docker://benfred/rust-musl-cross:${{ matrix.target }} + image: ghcr.io/benfred/rust-musl-cross:${{ matrix.target }} env: RUSTUP_HOME: /root/.rustup CARGO_HOME: /root/.cargo @@ -101,13 +107,13 @@ jobs: - name: Build run: | python3 -m pip install --upgrade maturin - maturin build --release -o dist --target $RUST_MUSL_CROSS_TARGET --features unwind + maturin build --release -o dist --target ${{ matrix.target }} --features unwind maturin sdist -o dist if: matrix.target == 'x86_64-musl' - name: Build run: | python3 -m pip install --upgrade maturin - maturin build --release -o dist --target $RUST_MUSL_CROSS_TARGET + maturin build --release -o dist --target ${{ matrix.target }} maturin sdist -o dist if: matrix.target != 'x86_64-musl' - name: Rename Wheels