@@ -604,12 +604,19 @@ jobs:
604
604
name : ggml_cpu_${{ matrix.arch }}.dll
605
605
path : build/bin/${{ matrix.build }}/ggml-cpu.dll
606
606
607
+ - name : Pack bin artifacts
608
+ shell : pwsh
609
+ run : |
610
+ Compress-Archive -Path "build/bin/${{ matrix.build }}" -DestinationPath "whisper-bin-${{ matrix.arch }}.zip"
611
+
607
612
- name : Upload binaries
608
- if : matrix.sdl2 == 'ON'
613
+ if : matrix.sdl2 == 'ON' && ${{ (github.event_name == 'push' && github.ref == 'refs/heads/master') ||
614
+ github.event.inputs.create_release == 'true' ||
615
+ github.event.inputs.pre_release_tag != '' }}
609
616
uses : actions/upload-artifact@v4
610
617
with :
611
- name : whisper-bin-${{ matrix.arch }}
612
- path : build/ bin/ ${{ matrix.build }}
618
+ name : whisper-bin-${{ matrix.arch }}.zip
619
+ path : whisper- bin- ${{ matrix.arch }}.zip
613
620
614
621
windows-blas :
615
622
if : ${{ github.event_name == 'push' || github.event_name == 'pull_request' ||
@@ -679,12 +686,19 @@ jobs:
679
686
if : matrix.sdl2 == 'ON'
680
687
run : copy "$env:SDL2_DIR/../lib/${{ matrix.s2arc }}/SDL2.dll" build/bin/${{ matrix.build }}
681
688
689
+ - name : Pack bin artifacts
690
+ shell : pwsh
691
+ run : |
692
+ Compress-Archive -Path "build/bin/${{ matrix.build }}" -DestinationPath "whisper-blas-bin-${{ matrix.arch }}.zip"
693
+
682
694
- name : Upload binaries
683
- if : matrix.blas == 'ON' && matrix.sdl2 == 'ON'
695
+ if : matrix.blas == 'ON' && matrix.sdl2 == 'ON' && ${{ (github.event_name == 'push' && github.ref == 'refs/heads/master') ||
696
+ github.event.inputs.create_release == 'true' ||
697
+ github.event.inputs.pre_release_tag != '' }}
684
698
uses : actions/upload-artifact@v4
685
699
with :
686
- name : whisper-blas-bin-${{ matrix.arch }}
687
- path : build/ bin/ ${{ matrix.build }}
700
+ name : whisper-blas-bin-${{ matrix.arch }}.zip
701
+ path : whisper-blas- bin- ${{ matrix.arch }}.zip
688
702
689
703
windows-cublas :
690
704
if : ${{ github.event_name == 'push' || github.event_name == 'pull_request' ||
@@ -874,11 +888,19 @@ jobs:
874
888
if : matrix.sdl2 == 'ON'
875
889
run : copy "$env:SDL2_DIR/../lib/${{ matrix.arch }}/SDL2.dll" build/bin/${{ matrix.build }}
876
890
891
+ - name : Pack bin artifacts
892
+ shell : pwsh
893
+ run : |
894
+ Compress-Archive -Path "build/bin/${{ matrix.build }}" -DestinationPath "whisper-cublas-${{ matrix.cuda-toolkit }}-bin-${{ matrix.arch }}.zip"
895
+
877
896
- name : Upload binaries
897
+ if : ${{ (github.event_name == 'push' && github.ref == 'refs/heads/master') ||
898
+ github.event.inputs.create_release == 'true' ||
899
+ github.event.inputs.pre_release_tag != '' }}
878
900
uses : actions/upload-artifact@v4
879
901
with :
880
- name : whisper-cublas-${{ matrix.cuda-toolkit }}-bin-${{ matrix.arch }}
881
- path : build/ bin/ ${{ matrix.build }}
902
+ name : whisper-cublas-${{ matrix.cuda-toolkit }}-bin-${{ matrix.arch }}.zip
903
+ path : whisper-cublas-${{ matrix.cuda-toolkit }}- bin- ${{ matrix.arch }}.zip
882
904
883
905
emscripten :
884
906
if : ${{ github.event_name == 'push' || github.event_name == 'pull_request' ||
@@ -1140,6 +1162,9 @@ jobs:
1140
1162
needs :
1141
1163
- determine-tag
1142
1164
- ios-xcode-build
1165
+ - windows
1166
+ - windows-blas
1167
+ - windows-cublas
1143
1168
1144
1169
steps :
1145
1170
- name : Clone
0 commit comments