From 4f6edcd739fb4727f59d805f86fe61d377d8e07d Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sat, 11 May 2024 10:49:20 -0400 Subject: [PATCH] ci: Add pypy on macOS & linux (#5) * ci: try adding pypy Signed-off-by: Henry Schreiner * ci: try getting pypy before hand on Windows Signed-off-by: Henry Schreiner * ci: try dropping pypy 3.8 on Windows Signed-off-by: Henry Schreiner * ci: drom windows pypy --------- Signed-off-by: Henry Schreiner --- .github/workflows/release.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9512145..1f6202d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,7 @@ jobs: platform: - runner: ubuntu-latest target: x86_64 + interpreter: "3.8 pypy3.8 pypy3.9 pypy3.10" - runner: ubuntu-latest target: x86 - runner: ubuntu-latest @@ -41,14 +42,11 @@ jobs: target: ppc64le steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.12' - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist + args: --release --out dist --interpreter ${{ matrix.platform.interpreter || '3.8' }} sccache: 'true' manylinux: ${{ matrix.platform.manylinux || 'auto' }} - name: Upload wheels @@ -68,15 +66,11 @@ jobs: target: x86 steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.12' - architecture: ${{ matrix.platform.target }} - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist + args: --release --out dist --interpreter ${{ matrix.platform.interpreter || '3.8' }} sccache: 'true' - name: Upload wheels uses: actions/upload-artifact@v4 @@ -95,14 +89,11 @@ jobs: target: aarch64 steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.12' - name: Build wheels uses: PyO3/maturin-action@v1 with: target: ${{ matrix.platform.target }} - args: --release --out dist + args: --release --out dist --interpreter "3.8 pypy3.8 pypy3.9 pypy3.10" sccache: 'true' - name: Upload wheels uses: actions/upload-artifact@v4