Skip to content

Commit

Permalink
skipping pypy and python3.6 wheel build #3
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Feb 14, 2023
1 parent 0b203a4 commit 4f127a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/wheel-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,23 +135,17 @@ jobs:
- name: Downloading Wheels artifact
uses: actions/download-artifact@v3

# this step removes the pypy versions to save some space (can be reenabled if someone needs them)
- name: Moving artifacts
run: |
ls -lR
mkdir dist
mv ./*-wheels/* dist
rm -f dist/libsumo*-pypy* dist/libtraci*-pypy*
- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_TOKEN }}
repository_url: https://test.pypi.org/legacy/
skip_existing: true
packages_dir: manylinux-wheels/

- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
packages_dir: manylinux-wheels/
2 changes: 1 addition & 1 deletion tools/build/build_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ echo "base_dir = /github/workspace/_skbuild/linux-x86_64-3.8" >> $HOME/.ccache/c
mv dist/eclipse_sumo-* `echo dist/eclipse_sumo-* | sed 's/cp38-cp38/py2.py3-none/'`
auditwheel repair dist/eclipse_sumo*.whl
cp -a data tools/libsumo
for py in /opt/python/*; do
for py in /opt/python/cp3[1789]*; do
rm dist/*.whl
$py/bin/pip install scikit-build
pminor=`echo $py | sed 's,/opt/python/cp3,,;s/-.*//'`
Expand Down

0 comments on commit 4f127a0

Please sign in to comment.