Skip to content

Commit

Permalink
excluded ppc64le & python3.12 from workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bab2min committed Oct 31, 2023
1 parent e44913b commit ea797cc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,12 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
for cp in cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312
if [ "${{ matrix.arch }}" = "aarch64" ]; then
export CPS="cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312"
else
export CPS="cp39-cp39 cp310-cp310 cp311-cp311"
fi
for cp in $CPS
do
/opt/python/${cp}/bin/python -m pip install wheel numpy==`/opt/python/${cp}/bin/python .github/workflows/numpy_version.py`
USE_MIMALLOC=1 /opt/python/${cp}/bin/python setup.py build bdist_wheel
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,13 @@ jobs:
env: |
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }}
run: |
for cp in cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312
run: |
if [ "${{ matrix.arch }}" = "aarch64" ]; then
export CPS="cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312"
else
export CPS="cp39-cp39 cp310-cp310 cp311-cp311"
fi
for cp in $CPS
do
/opt/python/${cp}/bin/python -m pip install --upgrade pip setuptools
/opt/python/${cp}/bin/python -m pip install wheel numpy==`/opt/python/${cp}/bin/python .github/workflows/numpy_version.py`
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull_request_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ jobs:
cp: [cp39-cp39, cp310-cp310, cp311-cp311, cp312-cp312]
arch: [aarch64, ppc64le]

if: matrix.arch == 'aarch64' || matrix.cp != 'cp312-cp312'
steps:
- uses: actions/checkout@v2
with:
Expand Down

0 comments on commit ea797cc

Please sign in to comment.