-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from liufang-robot/master
添加arm64的action
- Loading branch information
Showing
10 changed files
with
148 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Linux python aarch64 build | ||
run-name: ${{ github.actor }} Linux python aarch64 build | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
jobs: | ||
linux_python_aarch64_build: | ||
runs-on: [self-hosted, Linux, ARM64] | ||
container: quay.io/pypa/manylinux2014_aarch64 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
|
||
- run: for PYBIN in /opt/python/*/bin;do "${PYBIN}/pip" install -r requirements.txt; done; | ||
- run: /opt/python/cp310-cp310/bin/pip install twine==2.0.0 markdown | ||
|
||
- name: create-whl-dir | ||
run: mkdir -p whl | ||
|
||
- name: build with python | ||
run: for PY in /opt/python/*;do | ||
rm -rf build; | ||
cmake -S. -Bbuild -DBUILD_PYTHON=ON -DPYTHONPATH=${PY}; | ||
cmake --build build; | ||
cp build/python/dist/*.whl whl/; | ||
done; | ||
|
||
- name: repair | ||
run: for PYWHL in whl/*.whl;do | ||
auditwheel repair ${PYWHL}; | ||
done; | ||
|
||
- name: list Pypi | ||
run: ls wheelhouse/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Linux python aarch64 release | ||
run-name: ${{ github.actor }} Linux python aarch64 release | ||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- v1.*.* | ||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
pull-requests: read | ||
|
||
jobs: | ||
linux_python_aarch64_build_and_release: | ||
runs-on: [self-hosted, Linux, ARM64] | ||
container: quay.io/pypa/manylinux2014_aarch64 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- run: ls /opt/python/ | ||
- run: for PYBIN in /opt/python/*/bin;do "${PYBIN}/pip" install -r requirements.txt; done; | ||
- run: /opt/python/cp310-cp310/bin/pip install twine==2.0 urllib3==1.24. markdown | ||
- name: configure | ||
run: cmake -S. -Bbuild -DBUILD_PYTHON=ON | ||
- name: build | ||
run: cmake --build build | ||
- name: create-whl-dir | ||
run: mkdir -p whl | ||
- name: build with python | ||
run: for PY in /opt/python/*;do | ||
rm -rf build; | ||
cmake -S. -Bbuild -DBUILD_PYTHON=ON -DPYTHONPATH=${PY}; | ||
cmake --build build; | ||
cp build/python/dist/*.whl whl/; | ||
done; | ||
|
||
- name: repair | ||
run: for PYWHL in whl/*.whl;do | ||
auditwheel repair ${PYWHL}; | ||
done; | ||
|
||
- name: upload Pypi | ||
run: /opt/python/cp310-cp310/bin/twine upload --skip-existing -u __token__ -p ${{ secrets.PYLEBAI }} wheelhouse/*.whl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# ChangeLog | ||
|
||
## 1.1.15 | ||
|
||
完善文档,python支持更多版本,python生成aarch64的包。 | ||
|
||
## 1.1.14 | ||
|
||
修正IK的bug | ||
|