forked from ggerganov/whisper.cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (25 loc) · 919 Bytes
/
build.yml
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
name: CI
on: [workflow_dispatch]
jobs:
windows:
runs-on: windows-latest
strategy:
matrix:
arch: ["Win32", "x64"]
steps:
- name: Clone
uses: actions/checkout@v1
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1
- name: CMake
shell: powershell
run: cmake -S . -B ./build_${{matrix.arch}} -A ${{matrix.arch}} -DCMAKE_BUILD_TYPE=Release
- name: MSBuild
run: |
cd ./build_${{matrix.arch}}
msbuild INSTALL.vcxproj /t:build /p:configuration=Release /p:platform=${{matrix.arch}} -maxcpucount
- name: Upload binaries
uses: actions/upload-artifact@v1
with:
name: whisper-bin-${{matrix.arch}}
path: build_${{matrix.arch}}/bin/Release