diff --git a/.github/workflows/build-python-package.yml b/.github/workflows/build-python-package.yml index b2565eb05..cf37e4a1e 100644 --- a/.github/workflows/build-python-package.yml +++ b/.github/workflows/build-python-package.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: true matrix: - os: [ubuntu-latest, macos-latest, macos-13] + os: [ubuntu-latest, macos-latest, macos-13, windows-latest] steps: - uses: actions/checkout@v4 @@ -47,6 +47,13 @@ jobs: run: | python -m cibuildwheel src/runtime/python --output-dir wheelhouse + - name: Build wheels on OSX + if: startsWith(matrix.os, 'windows') + env: + CIBW_BEFORE_BUILD: cd src/runtime/c && glibtoolize && autoreconf -i && ./configure && make && sudo make install + run: | + python -m cibuildwheel src/runtime/python --output-dir wheelhouse + - uses: actions/upload-artifact@v4 with: name: wheel-${{ matrix.os }}