diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c45deb7..4ee639a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,23 +16,14 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.12 - architecture: x64 + architecture: arm64 - uses: dtolnay/rust-toolchain@stable - - name: "Build wheel: x86_64" - uses: PyO3/maturin-action@v1 - with: - target: x86_64 - args: --release --out dist --sdist - - name: "Install wheel: x86_64" - run: | - pip install dist/peppi_py-*.whl --force-reinstall - python -c "import peppi_py" - - name: "Build wheel: universal2" + - name: Build wheels uses: PyO3/maturin-action@v1 with: target: universal2-apple-darwin args: --release --out dist - - name: "Install wheel: universal2" + - name: Install wheels run: | pip install dist/peppi_py-*.whl --force-reinstall python -c "import peppi_py"