Skip to content

Commit 21482b7

Browse files
committed
attempt to fix whisper build in macos15 machine
1 parent 74f36f3 commit 21482b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/desktop_cd.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ jobs:
149149
VITE_APP_URL: "https://hyprnote.com"
150150
VITE_API_URL: "https://api.hyprnote.com"
151151
VITE_PRO_PRODUCT_ID: ${{ secrets.VITE_PRO_PRODUCT_ID }}
152+
CFLAGS: ${{ matrix.arch == 'aarch64' && '-mcpu=apple-m1' || '' }}
153+
CXXFLAGS: ${{ matrix.arch == 'aarch64' && '-mcpu=apple-m1' || '' }}
152154
- run: |
153155
mkdir -p target/release/
154156
find target/${{ matrix.target }}/release -type f -not -path "*/\.*" -exec cp {} target/release/ \;

0 commit comments

Comments
 (0)