-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* move DLL to different fielders by arch and os * update cl for test in aarch64 * setup python on aarch64 test action * update setup.py to make wheel separated by abi and os for reducing size of package * bump version to 0.9.7 * update lib from NLPIR repo NLPIR-team/NLPIR@7b1a8cf NLPIR-team/NLPIR@ff62682 NLPIR-team/NLPIR@57500e8
- Loading branch information
1 parent
a66901a
commit 3e69736
Showing
77 changed files
with
111 additions
and
26 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,38 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: Linux-aarch64-test | ||
|
||
on: [ push, pull_request , release ] | ||
|
||
jobs: | ||
aarch64_job: | ||
runs-on: ubuntu-latest | ||
name: test on aarch64 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
lfs: true | ||
- uses: uraimo/[email protected] | ||
name: Run test | ||
with: | ||
arch: aarch64 | ||
distro: ubuntu20.04 | ||
# Not required, but speeds up builds by storing container images in | ||
# a GitHub package registry. | ||
githubToken: ${{ github.token }} | ||
install: | | ||
apt-get update | ||
apt-get install -y python3 python3-pip | ||
# Set an output parameter `uname` for use in subsequent steps | ||
run: | | ||
uname -a | ||
apt-get install | ||
python3 -m pip install --upgrade pip | ||
pip install flake8 pytest | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
pytest --dist loadfile -n 10 |
File renamed without changes.
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
File renamed without changes.
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
Oops, something went wrong.