Skip to content

Commit 1744df7

Browse files
authored
Use macos-15 for wheels build (#95)
* Use macos-15 for wheels build * Set CMAKE_POLICY_VERSION_MINIMUM=3.5
1 parent 66eb3a4 commit 1744df7

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/wheels.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ jobs:
241241
-DTESSERACT_PYTHON_BUILD_WHEEL=ON ^
242242
-DTESSERACT_ENABLE_EXAMPLES=OFF -DTESSERACT_PLUGIN_FACTORY_CALLBACKS=ON ^
243243
-DVCPKG_APPLOCAL_DEPS=OFF ^
244-
-DTESSERACT_BUILD_TRAJOPT_IFOPT=OFF
244+
-DTESSERACT_BUILD_TRAJOPT_IFOPT=OFF ^
245+
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
245246
if %ERRORLEVEL% GEQ 1 exit 1
246247
- name: test
247248
shell: cmd
@@ -289,22 +290,22 @@ jobs:
289290
- py_platform: macosx-12.0-x86_64
290291
python_version: "3.12"
291292
arch: x64
292-
runner: macos-13
293+
runner: macos-15-intel
293294
brew_prefix: /usr/local
294295
- py_platform: macosx-12.0-x86_64
295296
python_version: "3.13"
296297
arch: x64
297-
runner: macos-13
298+
runner: macos-15-intel
298299
brew_prefix: /usr/local
299300
- py_platform: macosx-12.0-arm64
300301
python_version: "3.12"
301302
arch: arm64
302-
runner: macos-14
303+
runner: macos-15
303304
brew_prefix: /opt/homebrew
304305
- py_platform: macosx-12.0-arm64
305306
python_version: "3.13"
306307
arch: arm64
307-
runner: macos-14
308+
runner: macos-15
308309
brew_prefix: /opt/homebrew
309310

310311
steps:
@@ -358,7 +359,8 @@ jobs:
358359
-Dtcmalloc_minimal_LIBRARY=${{ github.workspace }}/vcpkg/installed/${{ matrix.config.arch }}-osx-dynamic-release/lib/libtcmalloc_minimal.dylib \
359360
-DPYTHON_EXECUTABLE="${{ steps.setup-python.outputs.python-path }}" \
360361
-DTESSERACT_PYTHON_WHEEL_PLATFORM=${{ matrix.config.py_platform }} \
361-
-DTESSERACT_PYTHON_BUILD_WHEEL=ON
362+
-DTESSERACT_PYTHON_BUILD_WHEEL=ON \
363+
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
362364
- name: test
363365
shell: bash
364366
run: |

0 commit comments

Comments
 (0)