CI Metal for v3 #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI Metal for v3 | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| macOS-metal-build: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| submodules: true | |
| ref: 'v3' | |
| - name: Dependencies | |
| run: | | |
| brew install cmake zip | |
| - name: Install Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.12' | |
| - name: Configure + Build | |
| run: python -m scripts.build_all | |
| - name: Test CPU build | |
| run: build/mac-arm64-cpu/bin/sdkit --help | |
| - name: Test Metal build | |
| run: build/mac-arm64-metal/bin/sdkit --help | |
| - name: Upload Artifact | |
| run: python -m scripts.upload_all --tag v3.0.0 |