Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
njroussel committed Sep 30, 2024
1 parent e834014 commit f6eace9
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:

name: >
${{ matrix.python }} wheel for ${{ matrix.os }}
${{ (startsWith(matrix.python, '_stable' && 'stable ABI' || '' }}
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -57,8 +58,16 @@ jobs:
run: |
python -m cibuildwheel --output-dir wheelhouse
- name: Build stable ABI wheel
if: ${{ endsWith(matrix.python, '_stable') }}
- name: Build stable ABI wheel (UNIX)
if: ${{ endsWith(matrix.python, '_stable') }} && runner.os != 'Windows'
run: |
stable_cp=$(echo ${{ matrix.python }} | cut -d_ -f1)
echo "CIBW_BUILD=$(stable_cp)" >> $GITHUB_ENV
echo "CIBW_CONFIG_SETTINGS=\"wheel.py-api=cp312 cmake.args=-DDRJIT_STABLE_ABI=ON\"" >> $GITHUB_ENV
python -m cibuildwheel --output-dir wheelhouse
- name: Build stable ABI wheel (Windows)
if: ${{ endsWith(matrix.python, '_stable') }} && runner.os == 'Windows'
run: |
stable_cp=$(echo ${{ matrix.python }} | cut -d_ -f1)
echo "CIBW_BUILD=$(stable_cp)" >> $GITHUB_ENV
Expand Down

0 comments on commit f6eace9

Please sign in to comment.