-
Notifications
You must be signed in to change notification settings - Fork 16
39 lines (33 loc) · 951 Bytes
/
macos-native-build.yml
File metadata and controls
39 lines (33 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: MacOS Native Build
on:
workflow_dispatch:
workflow_call:
jobs:
macos-native-build:
strategy:
matrix:
include:
- runner: macos-13 # Intel
arch: x86_64
- runner: macos-14 # Apple Silicon
arch: arm64
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout whisper.cpp
uses: actions/checkout@v4
with:
repository: ggerganov/whisper.cpp
ref: v1.7.2
path: whisper.cpp
- name: Install build dependencies
run: brew install coreutils cmake libomp
- name: Build MacOS Libraries
run: make macos_${{ matrix.arch }}
- name: Upload Mac Build Artifacts
uses: actions/upload-artifact@v4
with:
name: mac-${{ matrix.arch }}-build
path: runtimes/macos-${{ matrix.arch }}/*
retention-days: 7