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-02-27 13:02:46 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2025-02-27 13:02:46 +0800
Commit
815ebac8f9eabc17b7cb790fb97612a12e09ca52
815ebac8
1 parent
337d5f7a
Fix building wheels for Python 3.7 (#1933)
显示空白字符变更
内嵌
并排对比
正在显示
6 个修改的文件
包含
16 行增加
和
2 行删除
.github/workflows/build-wheels-linux-cuda.yaml
.github/workflows/build-wheels-macos-x64.yaml
.github/workflows/build-wheels-win64.yaml
.github/workflows/test-go-package.yaml
.github/workflows/test-go.yaml
scripts/go/release.sh
.github/workflows/build-wheels-linux-cuda.yaml
查看文件 @
815ebac
...
...
@@ -34,7 +34,11 @@ jobs:
-
name
:
Install Python dependencies
shell
:
bash
run
:
|
if [[ ${{ matrix.python-version }} == "3.7" ]]; then
pip install -U pip wheel setuptools twine
else
pip install -U pip wheel setuptools twine==5.0.0
fi
-
name
:
Build alsa-lib
shell
:
bash
...
...
.github/workflows/build-wheels-macos-x64.yaml
查看文件 @
815ebac
...
...
@@ -110,6 +110,10 @@ jobs:
fi
python3 -m pip install $opts --upgrade pip
if [[ ${{ matrix.python-version }} == "cp37" ]]; then
python3 -m pip install $opts wheel twine setuptools
else
python3 -m pip install $opts wheel twine==5.0.0 setuptools
fi
twine upload ./wheelhouse/*.whl
...
...
.github/workflows/build-wheels-win64.yaml
查看文件 @
815ebac
...
...
@@ -89,11 +89,16 @@ jobs:
git push https://csukuangfj:$HF_TOKEN@huggingface.co/csukuangfj/sherpa-onnx-wheels main
-
name
:
Publish wheels to PyPI
shell
:
bash
env
:
TWINE_USERNAME
:
${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD
:
${{ secrets.PYPI_PASSWORD }}
run
:
|
python3 -m pip install --upgrade pip
if [[ ${{ matrix.python-version }} == "3.7" ]]; then
python3 -m pip install wheel twine setuptools
else
python3 -m pip install wheel twine==5.0.0 setuptools
fi
twine upload ./wheelhouse/*.whl
...
...
.github/workflows/test-go-package.yaml
查看文件 @
815ebac
...
...
@@ -43,7 +43,7 @@ jobs:
fetch-depth
:
0
-
uses
:
actions/setup-go@v5
with
:
go-version
:
'
>=1.1
2
'
go-version
:
'
>=1.1
7
'
-
name
:
Display go version
shell
:
bash
...
...
.github/workflows/test-go.yaml
查看文件 @
815ebac
...
...
@@ -47,7 +47,7 @@ jobs:
-
uses
:
actions/setup-go@v5
with
:
go-version
:
'
>=1.1
2
'
go-version
:
'
>=1.1
7
'
-
name
:
Display go version
shell
:
bash
...
...
scripts/go/release.sh
查看文件 @
815ebac
...
...
@@ -17,6 +17,7 @@ echo "SHERPA_ONNX_VERSION $SHERPA_ONNX_VERSION"
function
linux
()
{
echo
"Process linux"
git clone git@github.com:k2-fsa/sherpa-onnx-go-linux.git
rm -v ./sherpa-onnx-go-linux/
*
.go
cp -v ./sherpa_onnx.go ./sherpa-onnx-go-linux/
...
...
请
注册
或
登录
后发表评论