Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit11d28df

Browse files
committed
fix(ci): Remove macos-13 builds to fix cross compilation error
1 parent083fcf6 commit11d28df

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

‎.github/workflows/build-wheels-metal.yaml‎

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on:${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
os:[macos-13, macos-14, macos-15]
14+
os:[macos-14, macos-15]
1515

1616
steps:
1717
-uses:actions/checkout@v4
@@ -23,32 +23,21 @@ jobs:
2323
with:
2424
python-version:"3.12"
2525
cache:'pip'
26-
26+
2727
-name:Install dependencies (Linux/MacOS)
28-
if:runner.os != 'Windows'
2928
run:|
3029
python -m pip install --upgrade pip
3130
python -m pip install uv
3231
RUST_LOG=trace python -m uv pip install -e .[all] --verbose
3332
shell:bash
3433

35-
-name:Install dependencies (Windows)
36-
if:runner.os == 'Windows'
37-
env:
38-
RUST_LOG:trace
39-
run:|
40-
python -m pip install --upgrade pip
41-
python -m pip install uv
42-
python -m uv pip install -e .[all] --verbose
43-
shell:cmd
44-
4534
-name:Build wheels
4635
uses:pypa/cibuildwheel@v2.22.0
4736
env:
4837
# disable repair
4938
CIBW_REPAIR_WHEEL_COMMAND:""
5039
CIBW_ARCHS:"arm64"
51-
CIBW_ENVIRONMENT:CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_APPLE_SILICON_PROCESSOR=arm64 -DGGML_METAL=on"
40+
CIBW_ENVIRONMENT:CMAKE_ARGS="-DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_APPLE_SILICON_PROCESSOR=arm64 -DGGML_METAL=on -DCMAKE_CROSSCOMPILING=ON"
5241
CIBW_BUILD:"cp39-* cp310-* cp311-* cp312-*"
5342
with:
5443
package-dir:.
@@ -69,7 +58,7 @@ jobs:
6958
with:
7059
merge-multiple:true
7160
path:dist2
72-
61+
7362
-uses:softprops/action-gh-release@v2
7463
with:
7564
files:dist2/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp