Skip to content

Commit 71701ff

Browse files
committed
try some stuff from drjit
1 parent d58699a commit 71701ff

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/wheels.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,22 @@ jobs:
4848
with:
4949
python-version: '3.13'
5050
- run: pip install cibuildwheel==2.23.0
51+
52+
################################################################
53+
# Set up envvars to build the correct wheel (stable ABI or not)
54+
################################################################
55+
- name: Prepare cibuildwheel environment (UNIX)
56+
if: ${{ runner.os != 'Windows' }}
57+
run: |
58+
echo "CIBW_BUILD=${{ matrix.pybuilds }}-*" >> $GITHUB_ENV
59+
60+
- name: Prepare cibuildwheel environment (Windows)
61+
if: ${{ runner.os == 'Windows' }}
62+
run: |
63+
echo "CIBW_BUILD=${{ matrix.pybuilds }}-*" >> $env:GITHUB_ENV
64+
5165
- run: python -m cibuildwheel --output-dir wheelhouse
5266
env:
53-
CIBW_BUILD: "${{ matrix.pybuilds }}-*" # Use matrix.pybuilds and matrix.arch
5467
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
5568
CIBW_SKIP: "cp*-manylinux_i686 cp*-musllinux* cp*-win32"
5669
- name: Upload Artifact

0 commit comments

Comments
 (0)