mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 22:55:46 +01:00
Fix for latest macos builds (#1227)
This commit is contained in:
parent
11429a612d
commit
08174301a5
1 changed files with 23 additions and 0 deletions
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
|
|
@ -80,6 +80,13 @@ jobs:
|
|||
poetry add torch==2.2.2 torchaudio==2.2.2
|
||||
if: "matrix.os == 'macos-13'"
|
||||
|
||||
# Should be removed with next update to whisper.cpp
|
||||
- name: Downgrade Xcode
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: '16.0.0'
|
||||
if: matrix.os == 'macos-latest'
|
||||
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
if: runner.os == 'Windows'
|
||||
|
|
@ -179,6 +186,13 @@ jobs:
|
|||
poetry add torch==2.2.2 torchaudio==2.2.2 ctranslate2==4.3.1
|
||||
if: "matrix.os == 'macos-13'"
|
||||
|
||||
# Should be removed with next update to whisper.cpp
|
||||
- name: Downgrade Xcode
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: '16.0.0'
|
||||
if: matrix.os == 'macos-latest'
|
||||
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
if: runner.os == 'Windows'
|
||||
|
|
@ -279,9 +293,18 @@ jobs:
|
|||
with:
|
||||
submodules: recursive
|
||||
|
||||
# Should be removed with next update to whisper.cpp
|
||||
- name: Downgrade Xcode
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: '16.0.0'
|
||||
if: matrix.os == 'macos-latest'
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.22.0
|
||||
env:
|
||||
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9,<3.13"
|
||||
CIBW_SKIP: "cp313-* cp314-*"
|
||||
CIBW_ARCHS_WINDOWS: "auto64"
|
||||
CIBW_ARCHS_MACOS: "auto64"
|
||||
CIBW_ARCHS_LINUX: "auto64"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue