MacOs Native build #52
This file contains 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: MacOs Native build | |
on: | |
workflow_dispatch: | |
jobs: | |
intel-build: | |
runs-on: macos-13 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
ref: ${{ github.head_ref }} | |
- name: Run apple coreml build for x64 | |
run: make apple_coreml_x64 | |
- name: Run apple build for x64 | |
run: make apple_x64 | |
- name: Upload Mac Intel Build Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: mac-intel-build | |
path: | | |
Whisper.net.Run*/*/* | |
Whisper.net.Run*/*.metal | |
arm-build: | |
needs: intel-build | |
runs-on: macos-14 | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
ref: ${{ github.head_ref }} | |
- name: Run apple build for arm | |
run: make apple_arm | |
- name: Run apple coreml build for arm | |
run: make apple_coreml_arm | |
- name: Upload Mac Arm Build Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: mac-arm-build | |
path: | | |
Whisper.net.Run*/*/* | |
Whisper.net.Run*/*.metal |