Fix CI warnings (#590)
This commit is contained in:
@@ -50,7 +50,7 @@ jobs:
|
|||||||
|
|
||||||
- name: cache-qemu
|
- name: cache-qemu
|
||||||
id: cache-qemu
|
id: cache-qemu
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: qemu-install
|
path: qemu-install
|
||||||
key: qemu-aarch64-install-20220908
|
key: qemu-aarch64-install-20220908
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
|
|
||||||
- name: cache-toolchain
|
- name: cache-toolchain
|
||||||
id: cache-toolchain
|
id: cache-toolchain
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: toolchain
|
path: toolchain
|
||||||
key: gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
|
key: gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
|
||||||
@@ -170,7 +170,7 @@ jobs:
|
|||||||
|
|
||||||
tar cjvf ${dst}.tar.bz2 $dst
|
tar cjvf ${dst}.tar.bz2 $dst
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sherpa-onnx-linux-aarch64-shared
|
name: sherpa-onnx-linux-aarch64-shared
|
||||||
path: sherpa-onnx-*linux-aarch64-shared.tar.bz2
|
path: sherpa-onnx-*linux-aarch64-shared.tar.bz2
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
|
|
||||||
- name: cache-qemu
|
- name: cache-qemu
|
||||||
id: cache-qemu
|
id: cache-qemu
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: qemu-install
|
path: qemu-install
|
||||||
key: qemu-aarch64-install-20220908
|
key: qemu-aarch64-install-20220908
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
|
|
||||||
- name: cache-toolchain
|
- name: cache-toolchain
|
||||||
id: cache-toolchain
|
id: cache-toolchain
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: toolchain
|
path: toolchain
|
||||||
key: gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
|
key: gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz
|
||||||
@@ -161,7 +161,7 @@ jobs:
|
|||||||
|
|
||||||
tar cjvf ${dst}.tar.bz2 $dst
|
tar cjvf ${dst}.tar.bz2 $dst
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sherpa-onnx-linux-aarch64-static
|
name: sherpa-onnx-linux-aarch64-static
|
||||||
path: sherpa-onnx-*linux-aarch64-static.tar.bz2
|
path: sherpa-onnx-*linux-aarch64-static.tar.bz2
|
||||||
|
|||||||
2
.github/workflows/android.yaml
vendored
2
.github/workflows/android.yaml
vendored
@@ -103,7 +103,7 @@ jobs:
|
|||||||
|
|
||||||
ls -lh
|
ls -lh
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sherpa-onnx-android-libs
|
name: sherpa-onnx-android-libs
|
||||||
path: ./jniLibs
|
path: ./jniLibs
|
||||||
|
|||||||
2
.github/workflows/apk-kws.yaml
vendored
2
.github/workflows/apk-kws.yaml
vendored
@@ -61,7 +61,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ls -lh ./apks/
|
ls -lh ./apks/
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./apks/*.apk
|
path: ./apks/*.apk
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/apk-tts-engine.yaml
vendored
2
.github/workflows/apk-tts-engine.yaml
vendored
@@ -84,7 +84,7 @@ jobs:
|
|||||||
ls -lh ./apks/
|
ls -lh ./apks/
|
||||||
du -h -d1 .
|
du -h -d1 .
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
if: false
|
if: false
|
||||||
with:
|
with:
|
||||||
name: tts-engine-apk
|
name: tts-engine-apk
|
||||||
|
|||||||
2
.github/workflows/apk-tts.yaml
vendored
2
.github/workflows/apk-tts.yaml
vendored
@@ -85,7 +85,7 @@ jobs:
|
|||||||
ls -lh ./apks/
|
ls -lh ./apks/
|
||||||
du -h -d1 .
|
du -h -d1 .
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
if: false
|
if: false
|
||||||
with:
|
with:
|
||||||
name: tts-apk
|
name: tts-apk
|
||||||
|
|||||||
2
.github/workflows/apk.yaml
vendored
2
.github/workflows/apk.yaml
vendored
@@ -63,7 +63,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
ls -lh ./apks/
|
ls -lh ./apks/
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./apks/*.apk
|
path: ./apks/*.apk
|
||||||
|
|
||||||
|
|||||||
8
.github/workflows/arm-linux-gnueabihf.yaml
vendored
8
.github/workflows/arm-linux-gnueabihf.yaml
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
|
|
||||||
- name: cache-qemu
|
- name: cache-qemu
|
||||||
id: cache-qemu
|
id: cache-qemu
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: qemu-install
|
path: qemu-install
|
||||||
key: qemu-arm-install-20220907
|
key: qemu-arm-install-20220907
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
|
|
||||||
- name: cache-toolchain
|
- name: cache-toolchain
|
||||||
id: cache-toolchain
|
id: cache-toolchain
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: toolchain
|
path: toolchain
|
||||||
key: gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf
|
key: gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf
|
||||||
@@ -177,13 +177,13 @@ jobs:
|
|||||||
|
|
||||||
tar cjvf ${dst}.tar.bz2 $dst
|
tar cjvf ${dst}.tar.bz2 $dst
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
if: matrix.lib_type == 'shared'
|
if: matrix.lib_type == 'shared'
|
||||||
with:
|
with:
|
||||||
name: sherpa-onnx-linux-arm-gnueabihf-shared
|
name: sherpa-onnx-linux-arm-gnueabihf-shared
|
||||||
path: sherpa-onnx-*linux-arm-gnueabihf-shared.tar.bz2
|
path: sherpa-onnx-*linux-arm-gnueabihf-shared.tar.bz2
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
if: matrix.lib_type == 'static'
|
if: matrix.lib_type == 'static'
|
||||||
with:
|
with:
|
||||||
name: sherpa-onnx-linux-arm-gnueabihf-static
|
name: sherpa-onnx-linux-arm-gnueabihf-static
|
||||||
|
|||||||
2
.github/workflows/build-wheels-aarch64.yaml
vendored
2
.github/workflows/build-wheels-aarch64.yaml
vendored
@@ -88,7 +88,7 @@ jobs:
|
|||||||
git commit -m "add more wheels"
|
git commit -m "add more wheels"
|
||||||
git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-wheels main
|
git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-wheels main
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./wheelhouse/*.whl
|
path: ./wheelhouse/*.whl
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/build-wheels-armv7l.yaml
vendored
2
.github/workflows/build-wheels-armv7l.yaml
vendored
@@ -113,7 +113,7 @@ jobs:
|
|||||||
git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-wheels main
|
git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-wheels main
|
||||||
|
|
||||||
- name: Upload wheel
|
- name: Upload wheel
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sherpa_onnx-${{ env.SHERPA_ONNX_VERSION }}-cp${{ env.PYTHON_VERSION }}-cp${{ env.PYTHON_VERSION }}-linux_armv7l.whl.zip
|
name: sherpa_onnx-${{ env.SHERPA_ONNX_VERSION }}-cp${{ env.PYTHON_VERSION }}-cp${{ env.PYTHON_VERSION }}-linux_armv7l.whl.zip
|
||||||
path: ./wheelhouse/*.whl
|
path: ./wheelhouse/*.whl
|
||||||
|
|||||||
2
.github/workflows/build-wheels-linux.yaml
vendored
2
.github/workflows/build-wheels-linux.yaml
vendored
@@ -71,7 +71,7 @@ jobs:
|
|||||||
rm -rf ./wheelhouse
|
rm -rf ./wheelhouse
|
||||||
mv ./wheels ./wheelhouse
|
mv ./wheels ./wheelhouse
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./wheelhouse/*.whl
|
path: ./wheelhouse/*.whl
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
|
|
||||||
ls -lh ./wheelhouse/*.whl
|
ls -lh ./wheelhouse/*.whl
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./wheelhouse/*.whl
|
path: ./wheelhouse/*.whl
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
|
|
||||||
ls -lh ./wheelhouse/*.whl
|
ls -lh ./wheelhouse/*.whl
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./wheelhouse/*.whl
|
path: ./wheelhouse/*.whl
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/build-wheels-win32.yaml
vendored
2
.github/workflows/build-wheels-win32.yaml
vendored
@@ -45,7 +45,7 @@ jobs:
|
|||||||
|
|
||||||
ls -lh ./wheelhouse/*.whl
|
ls -lh ./wheelhouse/*.whl
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./wheelhouse/*.whl
|
path: ./wheelhouse/*.whl
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/build-wheels-win64.yaml
vendored
2
.github/workflows/build-wheels-win64.yaml
vendored
@@ -44,7 +44,7 @@ jobs:
|
|||||||
|
|
||||||
ls -lh ./wheelhouse/*.whl
|
ls -lh ./wheelhouse/*.whl
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: ./wheelhouse/*.whl
|
path: ./wheelhouse/*.whl
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/build-xcframework.yaml
vendored
2
.github/workflows/build-xcframework.yaml
vendored
@@ -57,7 +57,7 @@ jobs:
|
|||||||
|
|
||||||
ls -lh
|
ls -lh
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sherpa-onnx-ios-libs
|
name: sherpa-onnx-ios-libs
|
||||||
path: ./build-ios
|
path: ./build-ios
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
@@ -77,17 +77,17 @@ jobs:
|
|||||||
python3 ./test.py
|
python3 ./test.py
|
||||||
ls -lh *.wav
|
ls -lh *.wav
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-0.wav
|
name: test-0.wav
|
||||||
path: scripts/vits/test-0.wav
|
path: scripts/vits/test-0.wav
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-1.wav
|
name: test-1.wav
|
||||||
path: scripts/vits/test-1.wav
|
path: scripts/vits/test-1.wav
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: test-2.wav
|
name: test-2.wav
|
||||||
path: scripts/vits/test-2.wav
|
path: scripts/vits/test-2.wav
|
||||||
|
|||||||
2
.github/workflows/export-wenet-to-onnx.yaml
vendored
2
.github/workflows/export-wenet-to-onnx.yaml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
4
.github/workflows/linux.yaml
vendored
4
.github/workflows/linux.yaml
vendored
@@ -129,7 +129,7 @@ jobs:
|
|||||||
ls -lh build/bin/sherpa-onnx
|
ls -lh build/bin/sherpa-onnx
|
||||||
readelf -d build/bin/sherpa-onnx
|
readelf -d build/bin/sherpa-onnx
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
if: matrix.shared_lib == 'OFF' && matrix.build_type == 'Release'
|
if: matrix.shared_lib == 'OFF' && matrix.build_type == 'Release'
|
||||||
with:
|
with:
|
||||||
name: release-static
|
name: release-static
|
||||||
@@ -234,7 +234,7 @@ jobs:
|
|||||||
overwrite: true
|
overwrite: true
|
||||||
file: sherpa-onnx-*linux-x64.tar.bz2
|
file: sherpa-onnx-*linux-x64.tar.bz2
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: tts-generated-test-files
|
name: tts-generated-test-files
|
||||||
path: tts
|
path: tts
|
||||||
|
|||||||
6
.github/workflows/mfc.yaml
vendored
6
.github/workflows/mfc.yaml
vendored
@@ -104,19 +104,19 @@ jobs:
|
|||||||
ls -lh
|
ls -lh
|
||||||
|
|
||||||
- name: Upload artifact tts
|
- name: Upload artifact tts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: non-streaming-tts-${{ matrix.arch }}
|
name: non-streaming-tts-${{ matrix.arch }}
|
||||||
path: ./mfc-examples/${{ matrix.arch }}/sherpa-onnx-non-streaming-tts-*.exe
|
path: ./mfc-examples/${{ matrix.arch }}/sherpa-onnx-non-streaming-tts-*.exe
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: streaming-speech-recognition-${{ matrix.arch }}
|
name: streaming-speech-recognition-${{ matrix.arch }}
|
||||||
path: ./mfc-examples/${{ matrix.arch }}/Release/sherpa-onnx-streaming-asr-*.exe
|
path: ./mfc-examples/${{ matrix.arch }}/Release/sherpa-onnx-streaming-asr-*.exe
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: non-streaming-speech-recognition-${{ matrix.arch }}
|
name: non-streaming-speech-recognition-${{ matrix.arch }}
|
||||||
path: ./mfc-examples/${{ matrix.arch }}/Release/sherpa-onnx-non-streaming-asr-*.exe
|
path: ./mfc-examples/${{ matrix.arch }}/Release/sherpa-onnx-non-streaming-asr-*.exe
|
||||||
|
|||||||
2
.github/workflows/npm.yaml
vendored
2
.github/workflows/npm.yaml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/pkg-config.yaml
vendored
2
.github/workflows/pkg-config.yaml
vendored
@@ -127,7 +127,7 @@ jobs:
|
|||||||
|
|
||||||
.github/scripts/test-online-transducer.sh
|
.github/scripts/test-online-transducer.sh
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: tts-generated-test-files
|
name: tts-generated-test-files
|
||||||
path: tts
|
path: tts
|
||||||
|
|||||||
4
.github/workflows/run-python-test.yaml
vendored
4
.github/workflows/run-python-test.yaml
vendored
@@ -55,7 +55,7 @@ jobs:
|
|||||||
key: ${{ matrix.os }}-python-${{ matrix.python-version }}
|
key: ${{ matrix.os }}-python-${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
.github/scripts/test-speaker-recognition-python.sh
|
.github/scripts/test-speaker-recognition-python.sh
|
||||||
.github/scripts/test-python.sh
|
.github/scripts/test-python.sh
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: tts-generated-test-files
|
name: tts-generated-test-files
|
||||||
path: tts
|
path: tts
|
||||||
|
|||||||
2
.github/workflows/style_check.yaml
vendored
2
.github/workflows/style_check.yaml
vendored
@@ -49,7 +49,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/test-build-wheel.yaml
vendored
2
.github/workflows/test-build-wheel.yaml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/test-dot-net-nuget.yaml
vendored
2
.github/workflows/test-dot-net-nuget.yaml
vendored
@@ -67,7 +67,7 @@ jobs:
|
|||||||
|
|
||||||
cp dotnet-examples/offline-tts/*.wav ./tts
|
cp dotnet-examples/offline-tts/*.wav ./tts
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: dot-net-tts-generated-test-files-${{ matrix.os }}
|
name: dot-net-tts-generated-test-files-${{ matrix.os }}
|
||||||
path: tts
|
path: tts
|
||||||
|
|||||||
10
.github/workflows/test-dot-net.yaml
vendored
10
.github/workflows/test-dot-net.yaml
vendored
@@ -50,7 +50,7 @@ jobs:
|
|||||||
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=Release ..
|
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=./install -DCMAKE_BUILD_TYPE=Release ..
|
||||||
cmake --build . --target install --config Release
|
cmake --build . --target install --config Release
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.os }}
|
name: ${{ matrix.os }}
|
||||||
path: ./build/install/lib/
|
path: ./build/install/lib/
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
@@ -80,19 +80,19 @@ jobs:
|
|||||||
python3 -m pip install --upgrade pip Jinja2
|
python3 -m pip install --upgrade pip Jinja2
|
||||||
|
|
||||||
- name: Retrieve artifact from ubuntu-latest
|
- name: Retrieve artifact from ubuntu-latest
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ubuntu-latest
|
name: ubuntu-latest
|
||||||
path: /tmp/linux
|
path: /tmp/linux
|
||||||
|
|
||||||
- name: Retrieve artifact from macos-latest
|
- name: Retrieve artifact from macos-latest
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: macos-latest
|
name: macos-latest
|
||||||
path: /tmp/macos
|
path: /tmp/macos
|
||||||
|
|
||||||
- name: Retrieve artifact from windows-latest
|
- name: Retrieve artifact from windows-latest
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: windows-latest
|
name: windows-latest
|
||||||
path: /tmp/windows
|
path: /tmp/windows
|
||||||
|
|||||||
4
.github/workflows/test-go-package.yaml
vendored
4
.github/workflows/test-go-package.yaml
vendored
@@ -37,7 +37,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-go@v4
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.12'
|
go-version: '>=1.12'
|
||||||
|
|
||||||
@@ -430,7 +430,7 @@ jobs:
|
|||||||
./run-paraformer.sh
|
./run-paraformer.sh
|
||||||
rm -rf sherpa-onnx-streaming-paraformer-bilingual-zh-en
|
rm -rf sherpa-onnx-streaming-paraformer-bilingual-zh-en
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: tts-waves
|
name: tts-waves
|
||||||
path: tts-waves
|
path: tts-waves
|
||||||
|
|||||||
4
.github/workflows/test-go.yaml
vendored
4
.github/workflows/test-go.yaml
vendored
@@ -35,7 +35,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
key: ${{ matrix.os }}-${{ matrix.arch }}
|
key: ${{ matrix.os }}-${{ matrix.arch }}
|
||||||
|
|
||||||
- uses: actions/setup-go@v4
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.12'
|
go-version: '>=1.12'
|
||||||
|
|
||||||
@@ -96,7 +96,7 @@ jobs:
|
|||||||
|
|
||||||
cp *.wav ../../../../tts-waves/
|
cp *.wav ../../../../tts-waves/
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: tts-waves
|
name: tts-waves
|
||||||
path: tts-waves
|
path: tts-waves
|
||||||
|
|||||||
2
.github/workflows/test-nodejs-npm.yaml
vendored
2
.github/workflows/test-nodejs-npm.yaml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/test-nodejs.yaml
vendored
2
.github/workflows/test-nodejs.yaml
vendored
@@ -52,7 +52,7 @@ jobs:
|
|||||||
ls -lh install/lib
|
ls -lh install/lib
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/test-pip-install.yaml
vendored
2
.github/workflows/test-pip-install.yaml
vendored
@@ -40,7 +40,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
key: ${{ matrix.os }}-python-${{ matrix.python-version }}
|
key: ${{ matrix.os }}-python-${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ jobs:
|
|||||||
key: ${{ matrix.os }}-python-${{ matrix.python-version }}
|
key: ${{ matrix.os }}-python-${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Setup Python ${{ matrix.python-version }}
|
- name: Setup Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user