Skip to content

Fix Windows MSVC build: use single shell command with vcvarsall #1

Fix Windows MSVC build: use single shell command with vcvarsall

Fix Windows MSVC build: use single shell command with vcvarsall #1

Workflow file for this run

name: Test wheel builds
on:
push:
branches: [ci]
jobs:
wheels:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: docker/setup-qemu-action@v3
if: runner.os == 'Linux'
with:
platforms: arm64
- uses: pypa/cibuildwheel@v3.3
env:
CIBW_BUILD: "cp312-*"
CIBW_ARCHS_LINUX: "x86_64 aarch64"
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_WINDOWS: "AMD64"
CIBW_REPAIR_WHEEL_COMMAND: ""
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}
path: wheelhouse/*.whl
- name: Verify wheel contents
shell: bash
run: |
for whl in wheelhouse/*.whl; do
echo "=== $whl ==="
python3 -m zipfile -l "$whl" | grep _bin || true
done