Update support for Linux ARM on GitLab
This commit is contained in:
@@ -58,7 +58,7 @@ Usage
|
|||||||
| Travis CI | ✅ | | ✅ | ✅ | |
|
| Travis CI | ✅ | | ✅ | ✅ | |
|
||||||
| AppVeyor | ✅ | ✅ | ✅ | | ✅² |
|
| AppVeyor | ✅ | ✅ | ✅ | | ✅² |
|
||||||
| CircleCI | ✅ | ✅ | | | ✅² |
|
| CircleCI | ✅ | ✅ | | | ✅² |
|
||||||
| Gitlab CI | ✅ | | | | |
|
| Gitlab CI | ✅ | | | ✅¹ | |
|
||||||
| Cirrus CI | ✅ | ✅³ | ✅ | ✅ | ✅ |
|
| Cirrus CI | ✅ | ✅³ | ✅ | ✅ | ✅ |
|
||||||
|
|
||||||
<sup>¹ [Requires emulation](https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation), distributed separately. Other services may also support Linux ARM through emulation or third-party build hosts, but these are not tested in our CI.</sup><br>
|
<sup>¹ [Requires emulation](https://cibuildwheel.readthedocs.io/en/stable/faq/#emulation), distributed separately. Other services may also support Linux ARM through emulation or third-party build hosts, but these are not tested in our CI.</sup><br>
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
linux:
|
||||||
|
image: python:3.8
|
||||||
|
# make a docker daemon available for cibuildwheel to use
|
||||||
|
services:
|
||||||
|
- name: docker:dind
|
||||||
|
entrypoint: ["env", "-u", "DOCKER_HOST"]
|
||||||
|
command: ["dockerd-entrypoint.sh"]
|
||||||
|
variables:
|
||||||
|
DOCKER_HOST: tcp://docker:2375/
|
||||||
|
DOCKER_DRIVER: overlay2
|
||||||
|
# See https://github.com/docker-library/docker/pull/166
|
||||||
|
DOCKER_TLS_CERTDIR: ""
|
||||||
|
script:
|
||||||
|
- curl -sSL https://get.docker.com/ | sh
|
||||||
|
# Warning: This is extremely slow, be careful with how many wheels you build
|
||||||
|
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||||
|
- python -m pip install cibuildwheel==2.10.2
|
||||||
|
- cibuildwheel --output-dir wheelhouse
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- wheelhouse/
|
||||||
Reference in New Issue
Block a user