add armel arch

This commit is contained in:
Kai Kriegel 2021-12-26 21:12:20 +00:00
parent b6ad6b3f68
commit aa7d9792bd

View File

@ -102,9 +102,10 @@ build:binary-development:
before_script:
- cp cargo-cross-config /usr/local/cargo/config
- dpkg --add-architecture armhf
- dpkg --add-architecture armel
- apt-get update -y
- 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
- apt-get install -o dir::cache::archives="$APT_CACHE_DIR" -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 -o dir::cache::archives="$APT_CACHE_DIR" -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