Build MFC examples for Windows x86 (Win32) (#434)

Also, strip binaries on Linux before uploading.
This commit is contained in:
Fangjun Kuang
2023-11-18 16:13:09 +08:00
committed by GitHub
parent 1a6a41eb2c
commit ac00edab5b
5 changed files with 71 additions and 31 deletions

View File

@@ -88,9 +88,25 @@ jobs:
- name: Display dependencies of sherpa-onnx for linux
shell: bash
run: |
ls -lh build/bin
ls -lh build/_deps/onnxruntime-src/lib/
echo "strip"
strip build/bin/*
echo "after strip"
ls -lh build/bin
file build/bin/sherpa-onnx
file build/bin/sherpa-onnx
ls -lh build/bin/sherpa-onnx
readelf -d build/bin/sherpa-onnx
- uses: actions/upload-artifact@v3
if: matrix.shared_lib == 'OFF' && matrix.build_type == 'Release'
with:
name: release-static
path: build/bin/*
- name: Test online CTC
shell: bash
run: |
@@ -186,3 +202,4 @@ jobs:
with:
name: tts-generated-test-files
path: tts