From 766a3329c70cc8901a81e89afb4029d5fd33ecba Mon Sep 17 00:00:00 2001 From: Borodin Gregory Date: Tue, 18 Sep 2018 10:58:26 +0000 Subject: [PATCH] Build wheels with gitlab ci --- .gitlab-ci.yml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..81307700 --- /dev/null +++ b/.gitlab-ci.yml @@ -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/*" +