Skip to content

Commit 766a332

Browse files
committed
Build wheels with gitlab ci
1 parent acd0cfe commit 766a332

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.gitlab-ci.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
stages:
2+
- dist
3+
4+
sdist:
5+
stage: dist
6+
image: python:alpine
7+
script:
8+
- python setup.py sdist
9+
artifacts:
10+
paths:
11+
- "dist/*"
12+
13+
py35-wheel:
14+
stage: dist
15+
image: python:3.5-alpine
16+
script:
17+
- apk update && apk add g++ make cmake
18+
- pip install --upgrade pip setuptools wheel
19+
- python setup.py bdist_wheel
20+
artifacts:
21+
paths:
22+
- "dist/*"
23+
24+
py36-wheel:
25+
stage: dist
26+
image: python:3.6-alpine
27+
script:
28+
- apk update && apk add g++ make cmake
29+
- pip install --upgrade pip setuptools wheel
30+
- python setup.py bdist_wheel
31+
artifacts:
32+
paths:
33+
- "dist/*"
34+
35+
py37-wheel:
36+
stage: dist
37+
image: python:3.7-alpine
38+
script:
39+
- apk update && apk add g++ make cmake
40+
- pip install --upgrade pip setuptools wheel
41+
- python setup.py bdist_wheel
42+
artifacts:
43+
paths:
44+
- "dist/*"
45+

0 commit comments

Comments
 (0)