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