Skip to content

Commit e88f57e

Browse files
authored
PYTHON-1386 Download libev for Windows builds and use them to build libevwrapper code in wheels (#12)
1 parent 8e2fc03 commit e88f57e

2 files changed

Lines changed: 13 additions & 7 deletions

File tree

.github/workflows/build_wheels_win.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,20 @@ jobs:
99
env:
1010
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-*
1111
CIBW_SKIP: "*musllinux*"
12-
CIBW_TEST_REQUIRES: pynose mock pure-sasl eventlet
12+
CIBW_TEST_REQUIRES: pytest mock pure-sasl eventlet
1313
CIBW_TEST_COMMAND: echo "wheel is installed"
14+
CASS_DRIVER_LIBEV_INCLUDES: C:\vcpkg\packages\libev_x64-windows\include\libev
15+
CASS_DRIVER_LIBEV_LIBS: C:\vcpkg\packages\libev_x64-windows\lib
1416
steps:
15-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1618
with:
1719
submodules: true
18-
- name: Build wheels
19-
run: cd python-driver && pipx run cibuildwheel==2.16.2
20-
- uses: actions/upload-artifact@v3
20+
- name: Install libev
21+
run: vcpkg install libev
22+
- uses: pypa/cibuildwheel@v2.19.2
2123
with:
22-
path: python-driver/wheelhouse/*.whl
24+
package-dir: ./python-driver
25+
- uses: actions/upload-artifact@v4
26+
with:
27+
name: cibw-wheels-win
28+
path: ./wheelhouse/*.whl

python-driver

0 commit comments

Comments
 (0)