Skip to content

Commit 0447f1c

Browse files
committed
Add v3 metal workflow
1 parent e94b1ff commit 0447f1c

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/ci_metal.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI Metal for v3
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
macOS-metal-build:
8+
runs-on: macos-latest
9+
10+
steps:
11+
- uses: actions/checkout@v3
12+
with:
13+
submodules: true
14+
ref: 'v3'
15+
16+
- name: Dependencies
17+
run: |
18+
brew install cmake zip
19+
20+
- name: Install Python
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: '3.12'
24+
25+
- name: Configure + Build
26+
run: python -m scripts.build_all
27+
28+
- name: Test CPU build
29+
run: build/mac-arm64-cpu/bin/sdkit --help
30+
31+
- name: Test Metal build
32+
run: build/mac-arm64-metal/bin/sdkit --help
33+
34+
- name: Upload Artifact
35+
run: python -m scripts.upload_all --tag v3.0.0

0 commit comments

Comments
 (0)