@@ -48,11 +48,11 @@ jobs:
4848 - run : |
4949 python3 setup.py bdist_wheel
5050 ls -al dist/
51- - uses : actions/upload-artifact@v2
51+ - uses : actions/upload-artifact@v4
5252 with :
53- name : wheels
53+ name : wheels-macos
5454 path : dist/*
55-
55+
5656 build-linux :
5757 runs-on : ubuntu-18.04
5858 if : true
@@ -81,13 +81,13 @@ jobs:
8181 just build-dockcross $KALDI_BRANCH $MKL_URL
8282 # cp dist/* wheelhouse/
8383 ls -al wheelhouse/
84- - uses : actions/upload-artifact@v2
84+ - uses : actions/upload-artifact@v4
8585 with :
86- name : wheels
86+ name : wheels-linux
8787 path : wheelhouse/*
8888
8989 build-windows :
90- runs-on : windows-2019
90+ runs-on : windows-2025
9191 if : true
9292 env :
9393 MKL_URL : https://registrationcenter-download.intel.com/akdlm/irc_nas/tec/17173/w_mkl_2020.4.311.exe
@@ -119,13 +119,13 @@ jobs:
119119 run : |
120120 echo $GITHUB_WORKSPACE
121121 df -h
122- ls -al '/c/Program Files (x86)/Microsoft Visual Studio/2019 /Enterprise/VC/Redist/MSVC/'
123- # ls -al '/c/Program Files (x86)/Microsoft Visual Studio/2019 /Enterprise/VC/Redist/MSVC/14.26.28720'
124- ls -al '/c/Program Files (x86)/Microsoft Visual Studio/2019 /Enterprise/VC/Redist/MSVC/v142'
125- # ls -al '/c/Program Files (x86)/Microsoft Visual Studio/2019 /Enterprise/VC/Redist/MSVC/14.16.27012/x64/Microsoft.VC141.CRT'
126- ls -al '/c/Program Files (x86)/Microsoft Visual Studio/2019 /Enterprise/VC/Redist/MSVC/'*/x64/Microsoft.*.CRT
127- # ls -alR /c/Program\ Files\ \(x86\)/Microsoft Visual Studio/2019 /Enterprise/VC/Redist/MSVC/
128- # ls -alR '/c/Program Files (x86)/Microsoft Visual Studio/'2019 /Enterprise/VC/Redist/MSVC/
122+ ls -al '/c/Program Files (x86)/Microsoft Visual Studio/2022 /Enterprise/VC/Redist/MSVC/'
123+ # ls -al '/c/Program Files (x86)/Microsoft Visual Studio/2022 /Enterprise/VC/Redist/MSVC/14.26.28720'
124+ # ls -al '/c/Program Files (x86)/Microsoft Visual Studio/2022 /Enterprise/VC/Redist/MSVC/v142'
125+ # ls -al '/c/Program Files (x86)/Microsoft Visual Studio/2022 /Enterprise/VC/Redist/MSVC/14.16.27012/x64/Microsoft.VC141.CRT'
126+ ls -al '/c/Program Files (x86)/Microsoft Visual Studio/2022 /Enterprise/VC/Redist/MSVC/'*/x64/Microsoft.*.CRT
127+ # ls -alR /c/Program\ Files\ \(x86\)/Microsoft Visual Studio/2022 /Enterprise/VC/Redist/MSVC/
128+ # ls -alR '/c/Program Files (x86)/Microsoft Visual Studio/'2022 /Enterprise/VC/Redist/MSVC/
129129 vswhere
130130 vswhere -find 'VC\Redist\**\VC_redist.x64.exe'
131131 - name : Setup Kaldi build configuration
@@ -199,16 +199,26 @@ jobs:
199199 # ../openfst/build_output/x64/Release/bin/{fstarcsort,fstcompile,fstinfo}.exe ../kaldi/kaldiwin_vs2019_MKL/kaldiwin/compile-graph-agf/x64/Release/compile-graph-agf.exe ../kaldi/kaldiwin_vs2019_MKL/kaldiwin/fstaddselfloops/x64/Release/fstaddselfloops.exe
200200 env KALDIAG_SETUP_RAW=1 python setup.py bdist_wheel
201201 ls -al dist/
202- - uses : actions/upload-artifact@v2
202+ - uses : actions/upload-artifact@v4
203203 with :
204- name : wheels
204+ name : wheels-windows
205205 path : main/dist/*
206206 # - name: Copy Windows vc_redist
207207 # run: |
208208 # mkdir -p vc_redist
209- # cp '/c/Program Files (x86)/Microsoft Visual Studio/2019 /Enterprise/VC/Redist/MSVC/14.26.28720'/vc_redist.x64.exe vc_redist/
210- # cp '/c/Program Files (x86)/Microsoft Visual Studio/2019 /Enterprise/VC/Redist/MSVC/14.26.28720'/x64/Microsoft.*.CRT/* vc_redist/
211- # - uses: actions/upload-artifact@v2
209+ # cp '/c/Program Files (x86)/Microsoft Visual Studio/2022 /Enterprise/VC/Redist/MSVC/14.26.28720'/vc_redist.x64.exe vc_redist/
210+ # cp '/c/Program Files (x86)/Microsoft Visual Studio/2022 /Enterprise/VC/Redist/MSVC/14.26.28720'/x64/Microsoft.*.CRT/* vc_redist/
211+ # - uses: actions/upload-artifact@v4
212212 # with:
213213 # name: vc_redist
214214 # path: vc_redist/*
215+
216+ merge-wheels :
217+ runs-on : ubuntu-latest
218+ needs : [build-macos, build-linux, build-windows]
219+ steps :
220+ - uses : actions/upload-artifact/merge@v4
221+ with :
222+ name : wheels
223+ pattern : wheels-*
224+ delete-merged : true # Optional: removes the individual artifacts
0 commit comments