File tree 3 files changed +18
-5
lines changed 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 8
8
matrix :
9
9
include :
10
10
- arch : amd64
11
+ manylinux_arch : x86_64
11
12
docker_image : debian:buster
12
13
13
14
- arch : arm64
15
+ manylinux_arch : aarch64
14
16
docker_image : arm64v8/debian:buster
15
17
16
18
- arch : ppc64le
19
+ manylinux_arch : ppc64le
17
20
docker_image : ppc64le/debian:buster
18
21
19
22
- arch : s390x
23
+ manylinux_arch : s390x
20
24
docker_image : s390x/debian:buster
21
25
22
26
env :
46
50
# sure it installs in a clean image without any hidden dependencies.
47
51
run : docker run --rm -v $(pwd):/mnt:rw ${{ matrix.docker_image }} /mnt/ci/docker-deb-test
48
52
53
+ - name : Build wheels
54
+ run : sudo make python-dists-${{ matrix.manylinux_arch }}
55
+
49
56
- name : Upload build artifacts
50
57
uses : actions/upload-artifact@v2
51
58
with :
Original file line number Diff line number Diff line change @@ -30,14 +30,17 @@ release: python-dists
30
30
> sha256sums
31
31
32
32
.PHONY : python-dists
33
- python-dists : VERSION.h
33
+ python-dists : python-dists-x86_64 python-dists-aarch64 python-dists-ppc64le python-dists-s390x
34
+
35
+ .PHONY : python-dists-%
36
+ python-dists-% : VERSION.h
34
37
python setup.py sdist
35
38
docker run \
36
39
--user $$(id -u ) :$$(id -g ) \
37
- -v $( PWD ) /dist:/dist:rw \
38
- quay.io/pypa/manylinux1_x86_64 :latest \
40
+ -v ` pwd ` /dist:/dist:rw \
41
+ quay.io/pypa/manylinux2014_ $* :latest \
39
42
bash -exc ' \
40
- /opt/python/cp35-cp35m /bin/pip wheel --wheel-dir /tmp /dist/* .tar.gz && \
43
+ /opt/python/cp38-cp38 /bin/pip wheel --wheel-dir /tmp /dist/* .tar.gz && \
41
44
auditwheel repair --wheel-dir /dist /tmp/* .whl --wheel-dir /dist \
42
45
'
43
46
Original file line number Diff line number Diff line change 1
1
pre-commit >= 0.5.0
2
2
pytest
3
- pytest-timeout
3
+ # TODO: This pin is to work around an issue where the system pytest is too old.
4
+ # We should fix this by not depending on the system pytest/python packages at
5
+ # some point.
6
+ pytest-timeout < 2.0.0
You can’t perform that action at this time.
0 commit comments