Fangjun Kuang
Committed by GitHub

Fix CI tests (#218)

... ... @@ -136,7 +136,6 @@ jobs:
qemu-aarch64 ./build-aarch64-linux-gnu/bin/sherpa-onnx --help
- name: Copy files
if: env.RELEASE == 'true'
shell: bash
run: |
SHERPA_ONNX_VERSION=v$(grep "SHERPA_ONNX_VERSION" ./CMakeLists.txt | cut -d " " -f 2 | cut -d '"' -f 2)
... ... @@ -146,12 +145,15 @@ jobs:
cp -a build-aarch64-linux-gnu/install/bin $dst/
cp -a build-aarch64-linux-gnu/install/lib $dst/
cp -a build-aarch64-linux-gnu/install/include $dst/
tree $dst
tar cjvf ${dst}.tar.bz2 $dst
- uses: actions/upload-artifact@v2
with:
path: sherpa-onnx-*linux-aarch64.tar.bz2
- name: Release pre-compiled binaries and libs for aarch64 linux
if: env.RELEASE == 'true'
uses: svenstaro/upload-release-action@v2
... ...
... ... @@ -137,7 +137,6 @@ jobs:
qemu-arm ./build-arm-linux-gnueabihf/bin/sherpa-onnx --help
- name: Copy files
if: env.RELEASE == 'true'
shell: bash
run: |
SHERPA_ONNX_VERSION=v$(grep "SHERPA_ONNX_VERSION" ./CMakeLists.txt | cut -d " " -f 2 | cut -d '"' -f 2)
... ... @@ -147,12 +146,15 @@ jobs:
cp -a build-arm-linux-gnueabihf/install/bin $dst/
cp -a build-arm-linux-gnueabihf/install/lib $dst/
cp -a build-arm-linux-gnueabihf/install/include $dst/
tree $dst
tar cjvf ${dst}.tar.bz2 $dst
- uses: actions/upload-artifact@v2
with:
path: sherpa-onnx-*linux-arm-gnueabihf.tar.bz2
- name: Release pre-compiled binaries and libs for arm linux gnueabihf
if: env.RELEASE == 'true'
uses: svenstaro/upload-release-action@v2
... ...