|
66 | 66 | CIBW_TEST_REQUIRES: pytest |
67 | 67 | CIBW_TEST_COMMAND: py.test -v {project}/tests/ |
68 | 68 |
|
69 | | - - uses: actions/upload-artifact@v3 |
70 | | - with: |
71 | | - name: python-package-distributions |
72 | | - path: wheelhouse/ |
73 | | - |
74 | 69 | build-wheels-macos: |
75 | 70 | name: ${{ matrix.os }} |
76 | 71 | strategy: |
@@ -129,22 +124,16 @@ jobs: |
129 | 124 | CIBW_TEST_REQUIRES: pytest |
130 | 125 | CIBW_TEST_COMMAND: py.test -v {project}/tests/ |
131 | 126 |
|
132 | | - - uses: actions/upload-artifact@v3 |
133 | | - with: |
134 | | - name: python-package-distributions |
135 | | - path: wheelhouse/ |
136 | | - |
137 | 127 | build-wheels-windows: |
138 | 128 | name: ${{ matrix.os }} ( ${{ matrix.platform }} ) |
139 | 129 |
|
140 | 130 | strategy: |
141 | 131 | matrix: |
142 | 132 | os: |
143 | | - - windows-2019 |
| 133 | + - windows-2022 |
144 | 134 | platform: |
145 | 135 | # For presubmit, just build / test the most common platform |
146 | 136 | - x64 |
147 | | - #- Win32 |
148 | 137 |
|
149 | 138 | runs-on: ${{ matrix.os }} |
150 | 139 |
|
@@ -175,7 +164,7 @@ jobs: |
175 | 164 | python -m pip install cmake |
176 | 165 | echo "::endgroup::" |
177 | 166 | echo "::group::Run cmake to initialze build tree" |
178 | | - cmake -S google_crc32c -B build -G "Visual Studio 16 2019" -A ${{ matrix.platform }} -DCRC32C_BUILD_BENCHMARKS=no -DCRC32C_BUILD_TESTS=no -DBUILD_SHARED_LIBS=no -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=yes -DCRC32C_USE_GLOG=0 |
| 167 | + cmake -S google_crc32c -B build -G "Visual Studio 17 2022" -A ${{ matrix.platform }} -DCRC32C_BUILD_BENCHMARKS=no -DCRC32C_BUILD_TESTS=no -DBUILD_SHARED_LIBS=no -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=yes -DCRC32C_USE_GLOG=0 |
179 | 168 | echo "::endgroup::" |
180 | 169 | echo "::group::Run cmake to build library" |
181 | 170 | cmake --build build --verbose --config Release |
@@ -212,8 +201,3 @@ jobs: |
212 | 201 | CIBW_BUILD_VERBOSITY: 3 |
213 | 202 | CIBW_TEST_REQUIRES: pytest |
214 | 203 | CIBW_TEST_COMMAND: py.test -v {project}/tests |
215 | | - |
216 | | - - uses: actions/upload-artifact@v3 |
217 | | - with: |
218 | | - name: python-package-distributions |
219 | | - path: wheelhouse/ |
0 commit comments