first try at armv6 builds

This commit is contained in:
Kai Kriegel 2021-12-26 21:09:00 +00:00
parent 97860edbb2
commit b6ad6b3f68

View File

@ -99,17 +99,18 @@ build:docker-releases:
build:binary-development: build:binary-development:
image: rust:latest image: rust:latest
before_script: before_script:
- cp cargo-cross-config /usr/local/cargo/config - cp cargo-cross-config /usr/local/cargo/config
- dpkg --add-architecture armhf - dpkg --add-architecture armhf
- apt-get update -y - 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 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 - 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 armv7-unknown-linux-gnueabihf
- rustup target add arm-unknown-linux-gnueabi
script: script:
- cargo update - cargo update
- cargo check --target arm-unknown-linux-gnueabi
- cargo check --target armv7-unknown-linux-gnueabihf - cargo check --target armv7-unknown-linux-gnueabihf
- cargo check --target x86_64-unknown-linux-gnu - cargo check --target x86_64-unknown-linux-gnu