Skip to content

Commit

Permalink
Build wheels with gitlab ci
Browse files Browse the repository at this point in the history
  • Loading branch information
grihabor committed Sep 18, 2018
1 parent acd0cfe commit 766a332
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
stages:
- dist

sdist:
stage: dist
image: python:alpine
script:
- python setup.py sdist
artifacts:
paths:
- "dist/*"

py35-wheel:
stage: dist
image: python:3.5-alpine
script:
- apk update && apk add g++ make cmake
- pip install --upgrade pip setuptools wheel
- python setup.py bdist_wheel
artifacts:
paths:
- "dist/*"

py36-wheel:
stage: dist
image: python:3.6-alpine
script:
- apk update && apk add g++ make cmake
- pip install --upgrade pip setuptools wheel
- python setup.py bdist_wheel
artifacts:
paths:
- "dist/*"

py37-wheel:
stage: dist
image: python:3.7-alpine
script:
- apk update && apk add g++ make cmake
- pip install --upgrade pip setuptools wheel
- python setup.py bdist_wheel
artifacts:
paths:
- "dist/*"

0 comments on commit 766a332

Please sign in to comment.