diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ab82637d..7e7f87df 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -52,16 +52,18 @@ jobs: matrix: feature: [lua51, luajit] config: + - os: ubuntu-latest + os_name: linux + arch: aarch64 + rust_target: aarch64-unknown-linux-gnu + docker_platform: linux/aarch64 + container: quay.io/pypa/manylinux2014_aarch64 - os: ubuntu-latest os_name: linux arch: x86_64 rust_target: x86_64-unknown-linux-gnu docker_platform: linux/amd64 container: quay.io/pypa/manylinux2014_x86_64 # for glibc 2.17 - - os: ubuntu-latest - os_name: linux - arch: aarch64 - rust_target: aarch64-unknown-linux-gnu - os: macos-13 os_name: darwin arch: x86_64 @@ -84,6 +86,13 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4 + # Step 1: Set up QEMU for multi-architecture support + - name: Set up QEMU + if: ${{ matrix.config.docker_platform == 'linux/aarch64' }} + uses: docker/setup-qemu-action@v2 + with: + platforms: all + - uses: Swatinem/rust-cache@82a92a6e8fbeee089604da2575dc567ae9ddeaab # ratchet:Swatinem/rust-cache@v2 if: ${{ matrix.config.container == null }} - uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a # ratchet:dtolnay/rust-toolchain@master