Skip to content

Commit

Permalink
fix Python version when building with Cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
LegrandNico committed Dec 12, 2024
1 parent 61c1205 commit 9fde504
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ jobs:
target: s390x
- runner: ubuntu-22.04
target: ppc64le
python:
- "3.12"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: ${{ matrix.python }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -67,11 +69,13 @@ jobs:
target: aarch64
- runner: ubuntu-22.04
target: armv7
python:
- "3.12"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: ${{ matrix.python }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -94,11 +98,13 @@ jobs:
target: x64
- runner: windows-latest
target: x86
python:
- "3.12"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: ${{ matrix.python }}
architecture: ${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
Expand All @@ -121,11 +127,13 @@ jobs:
target: x86_64
- runner: macos-14
target: aarch64
python:
- "3.12"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: ${{ matrix.python }}
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down

0 comments on commit 9fde504

Please sign in to comment.