|
34 | 34 | fail-fast: false |
35 | 35 | matrix: |
36 | 36 | python: [39, 310, 311, 312, 313] |
37 | | - os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, macos-13] |
| 37 | + os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, macos-13, windows-latest] |
38 | 38 | arch: [auto64] |
39 | 39 |
|
40 | 40 | steps: |
|
51 | 51 | brew install m4 make automake autoconf libtool swig boost cgal --ignore-dependencies |
52 | 52 | echo "PATH=/opt/homebrew/opt/make/libexec/gnubin:/opt/homebrew/opt/libtool/libexec/gnubin:$PATH" >> "$GITHUB_ENV" |
53 | 53 |
|
| 54 | + - name: Install compiler tools on windows |
| 55 | + if: runner.os == 'windows' |
| 56 | + run: | |
| 57 | + choco install boost-msvc-14.1 |
| 58 | + vcpkg.exe install cgal getopt |
| 59 | +
|
54 | 60 | - name: Clone gmp |
55 | 61 | if: runner.os == 'macOS' |
56 | 62 | uses: actions/checkout@v4 |
@@ -95,7 +101,16 @@ jobs: |
95 | 101 | env: |
96 | 102 | CIBW_ARCHS: ${{ matrix.arch }} |
97 | 103 | CIBW_BUILD: cp${{ matrix.python }}-* |
98 | | - CIBW_BUILD_VERBOSITY: 2 |
| 104 | + CIBW_BUILD_VERBOSITY: 1 |
| 105 | + CIBW_CONFIG_SETTINGS_WINDOWS: > |
| 106 | + "cmake.define.GMP_DLL_TO_COPY"="C:\\vcpkg\\packages\\gmp_x64-windows\\bin\\gmp-10.dll" |
| 107 | + "cmake.define.unofficial-getopt-win32_DIR"="C:\\vcpkg\\packages\\getopt-win32_x64-windows\\share\\unofficial-getopt-win32" |
| 108 | + CIBW_ENVIRONMENT_WINDOWS: > |
| 109 | + CGAL_DIR='C:\vcpkg\packages\cgal_x64-windows\share\cgal' |
| 110 | + GMP_INC_DIR='C:\vcpkg\packages\gmp_x64-windows\include' |
| 111 | + GMP_LIB_DIR='C:\vcpkg\packages\gmp_x64-windows\lib' |
| 112 | + MPFR_INC_DIR='C:\vcpkg\packages\mpfr_x64-windows\include' |
| 113 | + MPFR_LIB_DIR='C:\vcpkg\packages\mpfr_x64-windows\lib' |
99 | 114 |
|
100 | 115 | - name: Upload wheels |
101 | 116 | uses: actions/upload-artifact@v4 |
|
0 commit comments