Build wheels (Windows) #33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build wheels (Windows) | |
| on: [workflow_dispatch] | |
| jobs: | |
| build_wheels_win: | |
| name: Build wheels on windows-2022 | |
| runs-on: windows-2022 | |
| env: | |
| CIBW_BUILD: cp39-* cp310-* cp311-* cp312-* cp313-* | |
| CIBW_SKIP: "*musllinux*" | |
| CIBW_TEST_REQUIRES: pytest mock pure-sasl eventlet | |
| CIBW_TEST_COMMAND: echo "wheel is installed" | |
| CASS_DRIVER_LIBEV_INCLUDES: C:\vcpkg\packages\libev_x64-windows\include\libev | |
| CASS_DRIVER_LIBEV_LIBS: C:\vcpkg\packages\libev_x64-windows\lib | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Install libev | |
| run: vcpkg install libev | |
| - uses: pypa/[email protected] | |
| with: | |
| package-dir: ./python-driver | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: cibw-wheels-win | |
| path: ./wheelhouse/*.whl |