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-04 10:35:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2025-06-04 10:35:48 +0800
Commit
db632dacf31c8d81663e2efe419e8de7a9c35e13
db632dac
1 parent
749dc9a2
Fix CI for windows (#2279)
隐藏空白字符变更
内嵌
并排对比
正在显示
16 个修改的文件
包含
22 行增加
和
22 行删除
.github/workflows/build-wheels-aarch64-cuda.yaml
.github/workflows/build-wheels-aarch64.yaml
.github/workflows/build-wheels-linux.yaml
.github/workflows/build-wheels-macos-x64.yaml
.github/workflows/build-wheels-win64-cuda.yaml
.github/workflows/build-wheels-win64.yaml
.github/workflows/dot-net.yaml
.github/workflows/npm-addon-win-x64.yaml
.github/workflows/npm-addon-win-x86.yaml
.github/workflows/release-dart-package.yaml
.github/workflows/test-nodejs-npm.yaml
.github/workflows/test-nodejs.yaml
.github/workflows/test-pip-install.yaml
.github/workflows/windows-x64-jni.yaml
scripts/dotnet/run.sh
scripts/go/release.sh
.github/workflows/build-wheels-aarch64-cuda.yaml
查看文件 @
db632da
...
...
@@ -21,7 +21,7 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-22.04-arm
]
python-version
:
[
"
cp3
7"
,
"
cp3
8"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
python-version
:
[
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
manylinux
:
[
manylinux2014
]
#, manylinux_2_28]
steps
:
...
...
.github/workflows/build-wheels-aarch64.yaml
查看文件 @
db632da
...
...
@@ -23,7 +23,7 @@ jobs:
# see https://github.com/pypa/cibuildwheel/issues/2257
# we don't use qemu from now on
os
:
[
ubuntu-22.04-arm
]
python-version
:
[
"
cp3
7"
,
"
cp3
8"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
python-version
:
[
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
manylinux
:
[
manylinux2014
]
#, manylinux_2_28]
steps
:
...
...
.github/workflows/build-wheels-linux.yaml
查看文件 @
db632da
...
...
@@ -21,7 +21,7 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-22.04
]
python-version
:
[
"
cp3
7"
,
"
cp3
8"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
python-version
:
[
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
manylinux
:
[
manylinux2014
]
#, manylinux_2_28]
...
...
.github/workflows/build-wheels-macos-x64.yaml
查看文件 @
db632da
...
...
@@ -21,7 +21,7 @@ jobs:
fail-fast
:
false
matrix
:
os
:
[
macos-13
]
python-version
:
[
"
cp3
7"
,
"
cp3
8"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
python-version
:
[
"
cp38"
,
"
cp39"
,
"
cp310"
,
"
cp311"
,
"
cp312"
,
"
cp313"
]
steps
:
-
uses
:
actions/checkout@v4
...
...
.github/workflows/build-wheels-win64-cuda.yaml
查看文件 @
db632da
...
...
@@ -20,7 +20,7 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
os
:
[
windows-20
19
]
os
:
[
windows-20
22
]
python-version
:
[
"
3.7"
,
"
3.8"
,
"
3.9"
,
"
3.10"
,
"
3.11"
,
"
3.12"
,
"
3.13"
]
steps
:
...
...
.github/workflows/build-wheels-win64.yaml
查看文件 @
db632da
...
...
@@ -20,7 +20,7 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
os
:
[
windows-20
19
]
os
:
[
windows-20
22
]
python-version
:
[
"
3.7"
,
"
3.8"
,
"
3.9"
,
"
3.10"
,
"
3.11"
,
"
3.12"
,
"
3.13"
]
steps
:
...
...
.github/workflows/dot-net.yaml
查看文件 @
db632da
...
...
@@ -17,7 +17,7 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
os
:
[
windows-20
19
]
os
:
[
windows-20
22
]
arch
:
[
x64
,
x86
,
arm64
]
steps
:
...
...
.github/workflows/npm-addon-win-x64.yaml
查看文件 @
db632da
...
...
@@ -20,7 +20,7 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
os
:
[
windows-20
19
]
os
:
[
windows-20
22
]
python-version
:
[
"
3.8"
]
steps
:
...
...
.github/workflows/npm-addon-win-x86.yaml
查看文件 @
db632da
...
...
@@ -20,7 +20,7 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
os
:
[
windows-20
19
]
os
:
[
windows-20
22
]
python-version
:
[
"
3.8"
]
steps
:
...
...
.github/workflows/release-dart-package.yaml
查看文件 @
db632da
...
...
@@ -218,7 +218,7 @@ jobs:
permissions
:
id-token
:
write
# Required for authentication using OIDC
name
:
sherpa_onnx_windows
runs-on
:
windows-20
19
runs-on
:
windows-20
22
steps
:
-
uses
:
actions/checkout@v4
...
...
.github/workflows/test-nodejs-npm.yaml
查看文件 @
db632da
...
...
@@ -25,7 +25,7 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-latest
,
macos-latest
,
windows-20
19
]
os
:
[
ubuntu-latest
,
macos-latest
,
windows-20
22
]
python-version
:
[
"
3.10"
]
steps
:
...
...
.github/workflows/test-nodejs.yaml
查看文件 @
db632da
...
...
@@ -38,7 +38,7 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
os
:
[
ubuntu-latest
]
#, macos-latest] #, windows-20
19
]
os
:
[
ubuntu-latest
]
#, macos-latest] #, windows-20
22
]
python-version
:
[
"
3.8"
]
steps
:
...
...
.github/workflows/test-pip-install.yaml
查看文件 @
db632da
...
...
@@ -60,11 +60,11 @@ jobs:
-
os
:
macos-14
python-version
:
"
3.13"
-
os
:
windows-20
19
-
os
:
windows-20
22
python-version
:
"
3.7"
-
os
:
windows-20
19
-
os
:
windows-20
22
python-version
:
"
3.8"
-
os
:
windows-20
19
-
os
:
windows-20
22
python-version
:
"
3.9"
-
os
:
windows-2022
...
...
.github/workflows/windows-x64-jni.yaml
查看文件 @
db632da
...
...
@@ -20,7 +20,7 @@ jobs:
strategy
:
fail-fast
:
false
matrix
:
os
:
[
windows-20
19
]
os
:
[
windows-20
22
]
steps
:
-
uses
:
actions/checkout@v4
...
...
scripts/dotnet/run.sh
查看文件 @
db632da
...
...
@@ -26,10 +26,10 @@ pushd $src_dir
mkdir -p linux-x64 linux-arm64 macos-x64 macos-arm64 windows-x64 windows-x86 windows-arm64
linux_x64_wheel_filename
=
sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp38-cp38-manylinux
_2_17_x86_64.manylinux2014
_x86_64.whl
linux_x64_wheel_filename
=
sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp38-cp38-manylinux
2014_x86_64.manylinux_2_17
_x86_64.whl
linux_x64_wheel
=
$src_dir
/
$linux_x64_wheel_filename
linux_arm64_wheel_filename
=
sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp38-cp38-manylinux
_2_17_aarch64.manylinux2014
_aarch64.whl
linux_arm64_wheel_filename
=
sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp38-cp38-manylinux
2014_aarch64.manylinux_2_17
_aarch64.whl
linux_arm64_wheel
=
$src_dir
/
$linux_arm64_wheel_filename
macos_x64_wheel_filename
=
sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp39-cp39-macosx_11_0_x86_64.whl
...
...
scripts/go/release.sh
查看文件 @
db632da
...
...
@@ -28,8 +28,8 @@ function linux() {
dst
=
$(
realpath sherpa-onnx-go-linux/lib/x86_64-unknown-linux-gnu
)
mkdir t
cd
t
wget -q https://huggingface.co/csukuangfj/sherpa-onnx-wheels/resolve/main/cpu/
$SHERPA_ONNX_VERSION
/sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
unzip ./sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
wget -q https://huggingface.co/csukuangfj/sherpa-onnx-wheels/resolve/main/cpu/
$SHERPA_ONNX_VERSION
/sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
unzip sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
cp -v sherpa_onnx/lib/
*
.so
*
$dst
...
...
@@ -40,8 +40,8 @@ function linux() {
dst
=
$(
realpath sherpa-onnx-go-linux/lib/aarch64-unknown-linux-gnu
)
mkdir t
cd
t
wget -q https://huggingface.co/csukuangfj/sherpa-onnx-wheels/resolve/main/cpu/
$SHERPA_ONNX_VERSION
/sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
unzip ./sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
wget -q https://huggingface.co/csukuangfj/sherpa-onnx-wheels/resolve/main/cpu/
$SHERPA_ONNX_VERSION
/sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
unzip ./sherpa_onnx-
${
SHERPA_ONNX_VERSION
}
-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
cp -v sherpa_onnx/lib/
*
.so
*
$dst
...
...
请
注册
或
登录
后发表评论