Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Fangjun Kuang
2025-06-03 21:02:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2025-06-03 21:02:33 +0800
Commit
9539af5f5c0be7f34716b5a9e7aa728b6ba04ec4
9539af5f
1 parent
1fabc6c7
Fix 32-bit arm CI (#2276)
隐藏空白字符变更
内嵌
并排对比
正在显示
6 个修改的文件
包含
13 行增加
和
54 行删除
.github/workflows/arm-linux-gnueabihf.yaml
.github/workflows/linux-jni.yaml
.github/workflows/windows-x64-jni.yaml
build-aarch64-linux-gnu.sh
build-arm-linux-gnueabihf.sh
build-rknn-linux-aarch64.sh
.github/workflows/arm-linux-gnueabihf.yaml
查看文件 @
9539af5
...
...
@@ -49,35 +49,6 @@ jobs:
with
:
key
:
${{ matrix.os }}-arm-${{ matrix.lib_type }}
-
name
:
cache-qemu
id
:
cache-qemu
uses
:
actions/cache@v4
with
:
path
:
qemu-install
key
:
qemu-arm-install-20220907
-
name
:
install-qemu-build-deps
if
:
steps.cache-qemu.outputs.cache-hit != 'true'
run
:
|
sudo apt-get update
sudo apt-get install autoconf automake autotools-dev ninja-build libglib2.0-dev.
-
name
:
checkout-qemu
if
:
steps.cache-qemu.outputs.cache-hit != 'true'
uses
:
actions/checkout@v3
with
:
repository
:
qemu/qemu
path
:
qemu
ref
:
f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65
-
name
:
qemu
if
:
steps.cache-qemu.outputs.cache-hit != 'true'
run
:
|
cd qemu
./configure --prefix=$GITHUB_WORKSPACE/qemu-install --target-list=arm-linux-user --disable-system
make -j2
make install
-
name
:
cache-toolchain
id
:
cache-toolchain
uses
:
actions/cache@v4
...
...
@@ -103,13 +74,6 @@ jobs:
export PATH=$GITHUB_WORKSPACE/toolchain/bin:$PATH
arm-none-linux-gnueabihf-gcc --version
-
name
:
Display qemu-arm -h
shell
:
bash
run
:
|
export PATH=$GITHUB_WORKSPACE/qemu-install/bin:$PATH
export QEMU_LD_PREFIX=$GITHUB_WORKSPACE/toolchain/arm-none-linux-gnueabihf/libc
qemu-arm -h
-
name
:
build arm-linux-gnueabihf
shell
:
bash
run
:
|
...
...
@@ -135,19 +99,6 @@ jobs:
file build-arm-linux-gnueabihf/bin/sherpa-onnx
-
name
:
Test sherpa-onnx
shell
:
bash
run
:
|
export PATH=$GITHUB_WORKSPACE/toolchain/bin:$PATH
export PATH=$GITHUB_WORKSPACE/qemu-install/bin:$PATH
export QEMU_LD_PREFIX=$GITHUB_WORKSPACE/toolchain/arm-none-linux-gnueabihf/libc
ls -lh ./build-arm-linux-gnueabihf/bin
qemu-arm ./build-arm-linux-gnueabihf/bin/sherpa-onnx --help
readelf -d ./build-arm-linux-gnueabihf/bin/sherpa-onnx
-
name
:
Copy files
shell
:
bash
run
:
|
...
...
@@ -228,3 +179,6 @@ jobs:
file_glob
:
true
overwrite
:
true
file
:
sherpa-onnx-*linux-arm-gnueabihf*.tar.bz2
# repo_name: k2-fsa/sherpa-onnx
# repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
# tag: v1.12.0
...
...
.github/workflows/linux-jni.yaml
查看文件 @
9539af5
...
...
@@ -76,7 +76,7 @@ jobs:
file
:
./*.jar
# repo_name: k2-fsa/sherpa-onnx
# repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
# tag: v1.11.
1
# tag: v1.11.
2
-
name
:
Build sherpa-onnx
if
:
matrix.java-version == '23'
...
...
@@ -229,4 +229,6 @@ jobs:
file_glob
:
true
overwrite
:
true
file
:
sherpa-onnx-*.tar.bz2
# repo_name: k2-fsa/sherpa-onnx
# repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
# tag: v1.12.0
...
...
.github/workflows/windows-x64-jni.yaml
查看文件 @
9539af5
...
...
@@ -122,3 +122,6 @@ jobs:
file_glob
:
true
overwrite
:
true
file
:
sherpa-onnx-*.tar.bz2
# repo_name: k2-fsa/sherpa-onnx
# repo_token: ${{ secrets.UPLOAD_GH_SHERPA_ONNX_TOKEN }}
# tag: v1.12.0
...
...
build-aarch64-linux-gnu.sh
查看文件 @
9539af5
...
...
@@ -106,7 +106,7 @@ cmake \
-DSHERPA_ONNX_ENABLE_TESTS
=
OFF
\
-DSHERPA_ONNX_ENABLE_PYTHON
=
OFF
\
-DSHERPA_ONNX_ENABLE_CHECK
=
OFF
\
-DSHERPA_ONNX_ENABLE_PORTAUDIO
=
O
FF
\
-DSHERPA_ONNX_ENABLE_PORTAUDIO
=
O
N
\
-DSHERPA_ONNX_ENABLE_JNI
=
OFF
\
-DSHERPA_ONNX_ENABLE_C_API
=
ON
\
-DSHERPA_ONNX_ENABLE_WEBSOCKET
=
ON
\
...
...
build-arm-linux-gnueabihf.sh
查看文件 @
9539af5
...
...
@@ -50,7 +50,7 @@ cmake \
-DSHERPA_ONNX_ENABLE_TESTS
=
OFF
\
-DSHERPA_ONNX_ENABLE_PYTHON
=
OFF
\
-DSHERPA_ONNX_ENABLE_CHECK
=
OFF
\
-DSHERPA_ONNX_ENABLE_PORTAUDIO
=
O
FF
\
-DSHERPA_ONNX_ENABLE_PORTAUDIO
=
O
N
\
-DSHERPA_ONNX_ENABLE_JNI
=
OFF
\
-DSHERPA_ONNX_ENABLE_C_API
=
ON
\
-DSHERPA_ONNX_ENABLE_WEBSOCKET
=
ON
\
...
...
build-rknn-linux-aarch64.sh
查看文件 @
9539af5
...
...
@@ -83,7 +83,7 @@ cmake \
-DSHERPA_ONNX_ENABLE_TESTS
=
OFF
\
-DSHERPA_ONNX_ENABLE_PYTHON
=
OFF
\
-DSHERPA_ONNX_ENABLE_CHECK
=
OFF
\
-DSHERPA_ONNX_ENABLE_PORTAUDIO
=
O
FF
\
-DSHERPA_ONNX_ENABLE_PORTAUDIO
=
O
N
\
-DSHERPA_ONNX_ENABLE_JNI
=
OFF
\
-DSHERPA_ONNX_ENABLE_C_API
=
ON
\
-DSHERPA_ONNX_ENABLE_WEBSOCKET
=
ON
\
...
...
请
注册
或
登录
后发表评论