Skip to content

Commit 9193ac6

Browse files
committed
fix(ci): run standard macos tests on apple silicon
1 parent b1a8a61 commit 9193ac6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/test.yaml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
9797
build-macos:
9898
needs: download-model
99-
runs-on: macos-15-intel
99+
runs-on: macos-15
100100
strategy:
101101
matrix:
102102
python-version: ["3.9", "3.10", "3.11", "3.12"]
@@ -128,16 +128,16 @@ jobs:
128128
python3 -m pip install --upgrade pip
129129
python3 -m pip install uv
130130
python3 -m uv pip install -e .[all] --verbose
131-
CMAKE_ARGS="-DLLAMA_METAL=off" python3 -m uv pip install .[all] --verbose
131+
CMAKE_ARGS="-DGGML_METAL=on" python3 -m uv pip install .[all] --verbose
132132
shell: bash
133133

134134
- name: Test with pytest
135135
run: |
136136
python3 -m pytest
137137
138-
build-macos-metal:
138+
build-macos-intel:
139139
needs: download-model
140-
runs-on: macos-15
140+
runs-on: macos-15-intel
141141
steps:
142142
- uses: actions/checkout@v4
143143
with:
@@ -163,7 +163,7 @@ jobs:
163163
- name: Install dependencies
164164
run: |
165165
python3 -m pip install --upgrade pip
166-
CMAKE_ARGS="-DLLAMA_METAL=on" python3 -m pip install .[all] --verbose
166+
python3 -m pip install .[all] --verbose
167167
shell: bash
168168

169169
- name: Test with pytest

0 commit comments

Comments
 (0)