diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b8c90c6..3413b28 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -96,25 +96,25 @@ build:docker-releases: - linux - docker -build:docker-development: - image: jdrouet/docker-with-buildx:stable +build:binary-development: + image: rust:latest - services: - - docker:dind - - variables: - DOCKER_HOST: tcp://docker:2375/ - DOCKER_DRIVER: overlay2 before_script: - - '' + - cat > /cargo/config << EOF + [target.armv7-unknown-linux-gnueabihf] + linker = "arm-linux-gnueabihf-gcc" + EOF + - dkpg --add-architecture armhf + - apt-get update -yqq + - apt-get install -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf + - apt-get install -yqq --no-install-recommends capnproto build-essential cmake clang libclang-dev libclang-dev:armhf libgsasl7-dev libgsasl7-dev:armhf + - rustup target add armv7-unknown-linux-armeabihf + script: - - docker buildx create --use - - docker buildx build - --platform linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8 - --tag ${CI_REGISTRY_IMAGE}:test - --push - . + - cargo check --target x86_64-unknown-linux-gnu + - cargo check --target armv7-unknown-linux-gnueabihf + # only: # - development tags: