Skip to content

Commit bd0001a

Browse files
committed
fix(workflow): add Ninja installation step for Windows CUDA build and set CMAKE_GENERATOR
1 parent 4d8e164 commit bd0001a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,16 @@ jobs:
216216
with:
217217
cuda_version: '12.4'
218218

219+
- name: windows install ninja for cuda
220+
if: matrix.name == 'windows-cuda'
221+
run: choco install ninja
222+
shell: pwsh
223+
219224
- name: windows build sqlite-ai with cuda
220225
if: matrix.name == 'windows-cuda'
221226
run: |
222227
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
228+
set CMAKE_GENERATOR=Ninja
223229
D:\a\_temp\msys64\usr\bin\make.exe extension ${{ matrix.make && matrix.make || ''}}
224230
shell: cmd
225231

0 commit comments

Comments
 (0)