Skip to content

Commit 052c1ee

Browse files
fix: Try alternative windows build method
1 parent dbaaf6a commit 052c1ee

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/windows-native-build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,14 @@ jobs:
3232
# cd ${{ github.workspace }}\whisper.cpp\build\bin\Release
3333
# ren whisper.dll libwhisper.dll
3434
- name: Build Windows Native Libraries
35-
run: make windows
35+
run: |
36+
cd whisper.cpp
37+
cmake -S . -B ./build -A x64 -DCMAKE_BUILD_TYPE=Release -DWHISPER_BUILD_TESTS=OFF -DWHISPER_BUILD_EXAMPLES=OFF
38+
cd ./build
39+
msbuild ALL_BUILD.vcxproj -t:build -p:configuration=Release -p:platform=x64
3640
3741
- name: Upload Windows Build Artifacts
3842
uses: actions/upload-artifact@v4
3943
with:
4044
name: windows-build
41-
# path: whisper.cpp/build/bin/Release/libwhisper.dll
42-
path: runtimes/windows-*/*
45+
path: whisper.cpp/build/bin/Release/libwhisper.dll

0 commit comments

Comments
 (0)