Skip to content

Commit 1a2b05d

Browse files
authored
Fix CI for Windows x64 (k2-fsa#3123)
1 parent a61e3cc commit 1a2b05d

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/windows-x64.yaml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
9191
- uses: actions/upload-artifact@v4
9292
with:
93-
name: sherpa-onnx-vcxproj-release-windows-x64-${{ matrix.shared_lib }}-${{ matrix.with_tts }}-static-crt-${{ matrix.use_static_crt }}-${{ matrix.build_type }}
93+
name: sherpa-onnx-vcxproj-windows-x64-${{ matrix.shared_lib }}-${{ matrix.with_tts }}-static-crt-${{ matrix.use_static_crt }}-${{ matrix.build_type }}
9494
path: build/sherpa-onnx/csrc/sherpa-onnx.vcxproj
9595

9696
- name: Check 3
@@ -109,7 +109,7 @@ jobs:
109109
110110
- uses: actions/upload-artifact@v4
111111
with:
112-
name: vad-whisper-c-api-vcxproj-release-windows-x64-${{ matrix.shared_lib }}-${{ matrix.with_tts }}-static-crt-${{ matrix.use_static_crt }}-${{ matrix.build_type }}
112+
name: vad-whisper-c-api-vcxproj-windows-x64-${{ matrix.shared_lib }}-${{ matrix.with_tts }}-static-crt-${{ matrix.use_static_crt }}-${{ matrix.build_type }}
113113
path: build/c-api-examples/vad-whisper-c-api.vcxproj
114114

115115
- name: Build sherpa-onnx for windows
@@ -136,7 +136,7 @@ jobs:
136136
137137
- uses: actions/upload-artifact@v4
138138
with:
139-
name: release-windows-x64-${{ matrix.shared_lib }}-${{ matrix.with_tts }}-static-crt-${{ matrix.use_static_crt }}-${{ matrix.build_type }}
139+
name: windows-x64-${{ matrix.shared_lib }}-${{ matrix.with_tts }}-static-crt-${{ matrix.use_static_crt }}-${{ matrix.build_type }}
140140
path: build/install/*
141141

142142
- name: Copy files
@@ -238,15 +238,15 @@ jobs:
238238
- name: Test offline Moonshine for windows x64
239239
shell: bash
240240
run: |
241-
export PATH=$PWD/build/bin/Release:$PATH
241+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
242242
export EXE=sherpa-onnx-offline.exe
243243
244244
.github/scripts/test-offline-moonshine.sh
245245
246246
- name: Test C++ API
247247
shell: bash
248248
run: |
249-
export PATH=$PWD/build/bin/Release:$PATH
249+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
250250
export CXX_STREAMING_ZIPFORMER_EXE=streaming-zipformer-cxx-api.exe
251251
export CXX_WHISPER_EXE=whisper-cxx-api.exe
252252
export CXX_SENSE_VOICE_EXE=sense-voice-cxx-api.exe
@@ -256,31 +256,31 @@ jobs:
256256
- name: Test offline speaker diarization
257257
shell: bash
258258
run: |
259-
export PATH=$PWD/build/bin/Release:$PATH
259+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
260260
export EXE=sherpa-onnx-offline-speaker-diarization.exe
261261
262262
.github/scripts/test-speaker-diarization.sh
263263
264264
- name: Test online punctuation
265265
shell: bash
266266
run: |
267-
export PATH=$PWD/build/bin/Release:$PATH
267+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
268268
export EXE=sherpa-onnx-online-punctuation.exe
269269
270270
.github/scripts/test-online-punctuation.sh
271271
272272
- name: Test offline punctuation
273273
shell: bash
274274
run: |
275-
export PATH=$PWD/build/bin/Release:$PATH
275+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
276276
export EXE=sherpa-onnx-offline-punctuation.exe
277277
278278
.github/scripts/test-offline-punctuation.sh
279279
280280
- name: Test C API
281281
shell: bash
282282
run: |
283-
export PATH=$PWD/build/bin/Release:$PATH
283+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
284284
export SLID_EXE=spoken-language-identification-c-api.exe
285285
export SID_EXE=speaker-identification-c-api.exe
286286
export AT_EXE=audio-tagging-c-api.exe
@@ -291,23 +291,23 @@ jobs:
291291
- name: Test Audio tagging
292292
shell: bash
293293
run: |
294-
export PATH=$PWD/build/bin/Release:$PATH
294+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
295295
export EXE=sherpa-onnx-offline-audio-tagging.exe
296296
297297
.github/scripts/test-audio-tagging.sh
298298
299299
- name: Test spoken language identification (C++ API)
300300
shell: bash
301301
run: |
302-
export PATH=$PWD/build/bin/Release:$PATH
302+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
303303
export EXE=sherpa-onnx-offline-language-identification.exe
304304
305305
.github/scripts/test-spoken-language-identification.sh
306306
307307
- name: Test online CTC
308308
shell: bash
309309
run: |
310-
export PATH=$PWD/build/bin/Release:$PATH
310+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
311311
export EXE=sherpa-onnx.exe
312312
313313
.github/scripts/test-online-ctc.sh
@@ -316,55 +316,55 @@ jobs:
316316
if: matrix.with_tts == 'ON'
317317
shell: bash
318318
run: |
319-
export PATH=$PWD/build/bin/Release:$PATH
319+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
320320
export EXE=sherpa-onnx-offline-tts.exe
321321
322322
.github/scripts/test-offline-tts.sh
323323
324324
- name: Test online paraformer for windows x64
325325
shell: bash
326326
run: |
327-
export PATH=$PWD/build/bin/Release:$PATH
327+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
328328
export EXE=sherpa-onnx.exe
329329
330330
.github/scripts/test-online-paraformer.sh
331331
332332
- name: Test offline Whisper for windows x64
333333
shell: bash
334334
run: |
335-
export PATH=$PWD/build/bin/Release:$PATH
335+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
336336
export EXE=sherpa-onnx-offline.exe
337337
338338
.github/scripts/test-offline-whisper.sh
339339
340340
- name: Test offline CTC for windows x64
341341
shell: bash
342342
run: |
343-
export PATH=$PWD/build/bin/Release:$PATH
343+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
344344
export EXE=sherpa-onnx-offline.exe
345345
346346
.github/scripts/test-offline-ctc.sh
347347
348348
- name: Test offline transducer for Windows x64
349349
shell: bash
350350
run: |
351-
export PATH=$PWD/build/bin/Release:$PATH
351+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
352352
export EXE=sherpa-onnx-offline.exe
353353
354354
.github/scripts/test-offline-transducer.sh
355355
356356
- name: Test online transducer for Windows x64
357357
shell: bash
358358
run: |
359-
export PATH=$PWD/build/bin/Release:$PATH
359+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
360360
export EXE=sherpa-onnx.exe
361361
362362
.github/scripts/test-online-transducer.sh
363363
364364
- name: Test online transducer (C API)
365365
shell: bash
366366
run: |
367-
export PATH=$PWD/build/bin/Release:$PATH
367+
export PATH=$PWD/build/bin/${{ matrix.build_type }}:$PATH
368368
export EXE=decode-file-c-api.exe
369369
370370
.github/scripts/test-online-transducer.sh

0 commit comments

Comments
 (0)