From b6ad6b3f68da9a413a9d649fda11aef48c651a1b Mon Sep 17 00:00:00 2001 From: Kai Kriegel Date: Sun, 26 Dec 2021 21:09:00 +0000 Subject: [PATCH] first try at armv6 builds --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 07da638..b5a7c31 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -99,17 +99,18 @@ build:docker-releases: build:binary-development: image: rust:latest - before_script: - cp cargo-cross-config /usr/local/cargo/config - dpkg --add-architecture armhf - apt-get update -y - - apt-get install -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf - - apt-get install -y --no-install-recommends capnproto build-essential cmake clang libclang-dev libgsasl7-dev libgsasl7-dev:armhf libssl-dev:armhf + - apt-get install -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf libc6-armel-cross libc6-dev-armel-cross gcc-arm-linux-gnueabi g++-arm-linux-gnueabi + - apt-get install -y --no-install-recommends capnproto build-essential cmake clang libclang-dev libgsasl7-dev libgsasl7-dev:armhf libssl-dev:armhf libgsasl7-dev:armel libssl-dev:armel - rustup target add armv7-unknown-linux-gnueabihf + - rustup target add arm-unknown-linux-gnueabi script: - cargo update + - cargo check --target arm-unknown-linux-gnueabi - cargo check --target armv7-unknown-linux-gnueabihf - cargo check --target x86_64-unknown-linux-gnu