Skip to content

Commit 7a158fd

Browse files
committed
Move x86 from Travis to GitHub
1 parent 4605520 commit 7a158fd

File tree

2 files changed

+64
-77
lines changed

2 files changed

+64
-77
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 44 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -221,60 +221,47 @@ jobs:
221221
run: |
222222
twine upload --skip-existing dist/*
223223
224-
# DeployManyLinux:
225-
# needs: [ TestLinux, TestWindows ]
226-
## if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
227-
# runs-on: ubuntu-latest
228-
## strategy:
229-
## max-parallel: 4
230-
## matrix:
231-
## PYTHON: [ "cp37-cp37m", "cp38-cp38", "cp39-cp39" , "cp310-cp310" ]
232-
## MANYLINUX:
233-
## - { VERSION: '2010', ARCH: 'x86_64' }
234-
## - { VERSION: '2014', ARCH: 'i686' }
235-
## - { VERSION: '2014', ARCH: 'aarch64' }
236-
## name: "Release Python ${{ matrix.PYTHON }} for manylinux${{ matrix.MANYLINUX.VERSION }}_${{ matrix.MANYLINUX.ARCH }}"
237-
## container:
238-
## image: "quay.io/pypa/manylinux${{ matrix.MANYLINUX.VERSION }}_${{ matrix.MANYLINUX.ARCH }}"
239-
## env:
240-
## PYTHONDONTWRITEBYTECODE: 1
241-
# steps:
242-
# - uses: actions/checkout@v2
243-
# - name: Build Python manylinux2010-x86_64 wheels
244-
# uses: penguinolog/python-wheels-manylinux-build@18.10.2021-1-manylinux2010_x86_64
245-
# with:
246-
# python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
247-
# build-requirements: 'cython'
248-
# build-executable: 'python'
249-
# build-command: 'setup.py bdist_wheel clean'
250-
# - name: Build Python manylinux2014-x86_64 wheels
251-
# uses: penguinolog/python-wheels-manylinux-build@18.10.2021-1-manylinux2014_x86_64
252-
# with:
253-
# python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
254-
# build-requirements: 'cython'
255-
# build-executable: 'python'
256-
# build-command: 'setup.py bdist_wheel clean'
257-
# - name: Build Python manylinux2010-i686 wheels
258-
# uses: penguinolog/python-wheels-manylinux-build@18.10.2021-1-manylinux2010_i686
259-
# with:
260-
# python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
261-
# build-requirements: 'cython'
262-
# build-executable: 'python'
263-
# build-command: 'setup.py bdist_wheel clean'
264-
# - name: Build Python manylinux2010-x86_64 wheels
265-
# uses: penguinolog/python-wheels-manylinux-build@18.10.2021-1-manylinux2014_i686
266-
# with:
267-
# python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
268-
# build-requirements: 'cython'
269-
# build-executable: 'python'
270-
# build-command: 'setup.py bdist_wheel clean'
271-
# - name: List built packages
272-
# run: ls -la dist
273-
# - name: Install deploy dependencies
274-
# run: pip install --upgrade twine
275-
# - name: Deploy
276-
# env:
277-
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
278-
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
279-
# run: |
280-
# twine upload --skip-existing dist/*
224+
DeployManyLinux:
225+
needs: [ TestLinux, TestWindows ]
226+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
227+
runs-on: ubuntu-latest
228+
steps:
229+
- uses: actions/checkout@v2
230+
- name: Build Python manylinux2014-x86_64 wheels
231+
uses: penguinolog/python-wheels-manylinux-build@19.10.2021-manylinux2014_x86_64
232+
with:
233+
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
234+
build-requirements: 'cython'
235+
build-executable: 'python'
236+
build-command: 'setup.py bdist_wheel clean'
237+
- name: Build Python manylinux2010-x86_64 wheels
238+
uses: penguinolog/python-wheels-manylinux-build@19.10.2021-manylinux2014_i686
239+
with:
240+
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
241+
build-requirements: 'cython'
242+
build-executable: 'python'
243+
build-command: 'setup.py bdist_wheel clean'
244+
- name: Build Python manylinux2010-x86_64 wheels
245+
uses: penguinolog/python-wheels-manylinux-build@19.10.2021-manylinux2010_x86_64
246+
with:
247+
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
248+
build-requirements: 'cython'
249+
build-executable: 'python'
250+
build-command: 'setup.py bdist_wheel clean'
251+
- name: Build Python manylinux2010-i686 wheels
252+
uses: penguinolog/python-wheels-manylinux-build@19.10.2021-manylinux2010_i686
253+
with:
254+
python-versions: 'cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310'
255+
build-requirements: 'cython'
256+
build-executable: 'python'
257+
build-command: 'setup.py bdist_wheel clean'
258+
- name: List built packages
259+
run: ls -la dist
260+
- name: Install deploy dependencies
261+
run: pip install --upgrade twine
262+
- name: Deploy
263+
env:
264+
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
265+
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
266+
run: |
267+
twine upload --skip-existing dist/*

.travis.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -156,26 +156,26 @@ jobs:
156156
- <<: *test_cythonized
157157
<<: *python310
158158

159-
- stage: deploy
160-
# This prevents job from appearing in test plan unless commit is tagged:
161-
<<: *deploy
162-
name: Build universal and cythonized bdist_wheel. Deploy bdist and sdist.
163-
script:
164-
- ./tools/run_docker.sh "logwrap"
165-
166-
- stage: deploy
167-
# This prevents job from appearing in test plan unless commit is tagged:
168-
<<: *deploy
169-
name: Build universal and cythonized for i686 bdist_wheel. Deploy bdist.
170-
script:
171-
- ./tools/run_docker_manylinux2014.sh "logwrap" "i686"
172-
173-
- stage: deploy
174-
# This prevents job from appearing in test plan unless commit is tagged:
175-
<<: *deploy
176-
name: Build universal and cythonized for x86_64 bdist_wheel. Deploy bdist.
177-
script:
178-
- ./tools/run_docker_manylinux2014.sh "logwrap" "x86_64"
159+
# - stage: deploy
160+
# # This prevents job from appearing in test plan unless commit is tagged:
161+
# <<: *deploy
162+
# name: Build universal and cythonized bdist_wheel. Deploy bdist and sdist.
163+
# script:
164+
# - ./tools/run_docker.sh "logwrap"
165+
#
166+
# - stage: deploy
167+
# # This prevents job from appearing in test plan unless commit is tagged:
168+
# <<: *deploy
169+
# name: Build universal and cythonized for i686 bdist_wheel. Deploy bdist.
170+
# script:
171+
# - ./tools/run_docker_manylinux2014.sh "logwrap" "i686"
172+
#
173+
# - stage: deploy
174+
# # This prevents job from appearing in test plan unless commit is tagged:
175+
# <<: *deploy
176+
# name: Build universal and cythonized for x86_64 bdist_wheel. Deploy bdist.
177+
# script:
178+
# - ./tools/run_docker_manylinux2014.sh "logwrap" "x86_64"
179179

180180
- stage: deploy
181181
# This prevents job from appearing in test plan unless commit is tagged:

0 commit comments

Comments
 (0)