@@ -141,61 +141,59 @@ jobs:
141141 # amd-smi static
142142 # GG_BUILD_ROCM=1 GG_BUILD_AMDGPU_TARGETS="gfx1101" bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp
143143
144- # TODO: sandbox Mac runners
145- # ggml-ci-mac-metal:
146- # runs-on: [self-hosted, macOS, ARM64]
147- #
148- # steps:
149- # - name: Clone
150- # id: checkout
151- # uses: actions/checkout@v6
152- #
153- # - name: Test
154- # id: ggml-ci
155- # run: |
156- # GG_BUILD_METAL=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
157- #
158- # ggml-ci-mac-webgpu:
159- # runs-on: [self-hosted, macOS, ARM64]
160- #
161- # steps:
162- # - name: Clone
163- # id: checkout
164- # uses: actions/checkout@v6
165- #
166- # - name: Dawn Dependency
167- # id: dawn-depends
168- # run: |
169- # DAWN_VERSION="v2.0.0"
170- # DAWN_OWNER="reeselevine"
171- # DAWN_REPO="dawn"
172- # DAWN_ASSET_NAME="Dawn-5e9a4865b1635796ccc77dd30057f2b4002a1355-macos-latest-Release"
173- # echo "Fetching release asset from https://github.com/${DAWN_OWNER}/${DAWN_REPO}/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.zip"
174- # curl -L -o artifact.zip \
175- # "https://github.com/${DAWN_OWNER}/${DAWN_REPO}/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.zip"
176- # mkdir dawn
177- # unzip artifact.zip
178- # tar -xvf ${DAWN_ASSET_NAME}.tar.gz -C dawn --strip-components=1
179- #
180- # - name: Test
181- # id: ggml-ci
182- # run: |
183- # GG_BUILD_WEBGPU=1 GG_BUILD_WEBGPU_DAWN_PREFIX="$GITHUB_WORKSPACE/dawn" \
184- # bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
185- #
186- # ggml-ci-mac-vulkan:
187- # runs-on: [self-hosted, macOS, ARM64]
188- #
189- # steps:
190- # - name: Clone
191- # id: checkout
192- # uses: actions/checkout@v6
193- #
194- # - name: Test
195- # id: ggml-ci
196- # run: |
197- # vulkaninfo --summary
198- # GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
144+ ggml-ci-mac-metal :
145+ runs-on : [self-hosted, macOS, ARM64]
146+
147+ steps :
148+ - name : Clone
149+ id : checkout
150+ uses : actions/checkout@v6
151+
152+ - name : Test
153+ id : ggml-ci
154+ run : |
155+ GG_BUILD_METAL=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
156+
157+ ggml-ci-mac-webgpu :
158+ runs-on : [self-hosted, macOS, ARM64]
159+
160+ steps :
161+ - name : Clone
162+ id : checkout
163+ uses : actions/checkout@v6
164+
165+ - name : Dawn Dependency
166+ id : dawn-depends
167+ run : |
168+ DAWN_VERSION="v20260317.182325"
169+ DAWN_OWNER="google"
170+ DAWN_REPO="dawn"
171+ DAWN_ASSET_NAME="Dawn-18eb229ef5f707c1464cc581252e7603c73a3ef0-macos-latest-Release"
172+ echo "Fetching release asset from https://github.com/google/dawn/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.tar.gz"
173+ curl -L -o artifact.tar.gz \
174+ "https://github.com/google/dawn/releases/download/${DAWN_VERSION}/${DAWN_ASSET_NAME}.tar.gz"
175+ mkdir dawn
176+ tar -xvf artifact.tar.gz -C dawn --strip-components=1
177+
178+ - name : Test
179+ id : ggml-ci
180+ run : |
181+ GG_BUILD_WEBGPU=1 GG_BUILD_WEBGPU_DAWN_PREFIX="$GITHUB_WORKSPACE/dawn" \
182+ bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
183+
184+ ggml-ci-mac-vulkan :
185+ runs-on : [self-hosted, macOS, ARM64]
186+
187+ steps :
188+ - name : Clone
189+ id : checkout
190+ uses : actions/checkout@v6
191+
192+ - name : Test
193+ id : ggml-ci
194+ run : |
195+ vulkaninfo --summary
196+ GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp
199197
200198 ggml-ci-linux-intel-vulkan :
201199 runs-on : [self-hosted, Linux, Intel]
0 commit comments