Skip to content

Commit

Permalink
🔧 presence of PYO3_CROSS makes crash?
Browse files Browse the repository at this point in the history
  • Loading branch information
Ousret committed Dec 29, 2024
1 parent 1244be4 commit f0de47e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,21 @@ jobs:
with:
python-version: 3.13t
architecture: x64
- name: Build wheels
- name: Build wheels wo/ PYO3_CROSS
uses: PyO3/maturin-action@v1
if: matrix.target != 'aarch64'
env:
UNSAFE_PYO3_SKIP_VERSION_CHECK: 1
with:
target: ${{ matrix.target }}
args: --release --out dist
sccache: 'true'
- name: Build wheels w/ PYO3_CROSS
uses: PyO3/maturin-action@v1
if: matrix.target == 'aarch64'
env:
UNSAFE_PYO3_SKIP_VERSION_CHECK: 1
PYO3_CROSS: ${{ matrix.target == 'aarch64' && '1' || '0' }}
PYO3_CROSS: 1
with:
target: ${{ matrix.target }}
args: --release --out dist
Expand Down

0 comments on commit f0de47e

Please sign in to comment.