added gitlab-ci from cross wiki

This commit is contained in:
Thomas Eppers 2023-03-02 17:03:21 +01:00
parent dee25f911b
commit 9774795bb2

14
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,14 @@
variables:
# the host where the docker instance is running
DOCKER_HOST: tcp://docker:2375/
# use for much faster builds
DOCKER_DRIVER: overlay2
# ensure cross knows it's running remotely
CROSS_REMOTE: 1
services:
- docker:18.09-dind
armv6:
script:
- cross test --target arm-unknown-linux-gnueabihf