ggerganov commited on
Commit
48d2c3e
·
1 Parent(s): 57a7bac

ci : add Windows build

Browse files
Files changed (1) hide show
  1. .github/workflows/build.yml +29 -0
.github/workflows/build.yml CHANGED
@@ -113,3 +113,32 @@ jobs:
113
  run: |
114
  make
115
  ctest -L gh --output-on-failure
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  run: |
114
  make
115
  ctest -L gh --output-on-failure
116
+
117
+ windows:
118
+ runs-on: windows-latest
119
+
120
+ strategy:
121
+ matrix:
122
+ arch: ["Win32", "x64"]
123
+
124
+ steps:
125
+ - name: Clone
126
+ uses: actions/checkout@v1
127
+
128
+ - name: Add msbuild to PATH
129
+ uses: microsoft/setup-msbuild@v1
130
+
131
+ - name: CMake
132
+ shell: powershell
133
+ run: cmake -S . -B ./build_${{matrix.arch}} -A ${{matrix.arch}} -DCMAKE_BUILD_TYPE=Release
134
+
135
+ - name: MSBuild
136
+ run: |
137
+ cd ./build_${{matrix.arch}}
138
+ msbuild INSTALL.vcxproj /t:build /p:configuration=Release /p:platform=${{matrix.arch}} -maxcpucount
139
+
140
+ - name: Upload binaries
141
+ uses: actions/upload-artifact@v1
142
+ with:
143
+ name: whisper-bin-${{matrix.arch}}
144
+ path: build_${{matrix.arch}}/bin/Release