lets try armv6 again

This commit is contained in:
Kai Kriegel 2022-02-14 23:34:30 +00:00
parent 260186429f
commit de29baee77
2 changed files with 12 additions and 0 deletions

View File

@ -113,17 +113,22 @@ build:nightly:
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 -o dir::cache::archives="$APT_CACHE_DIR" -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
- apt-get install -o dir::cache::archives="$APT_CACHE_DIR" -y 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
- rustup target add armv7-unknown-linux-gnueabihf
- rustup target add arm-unknown-linux-gnueabihf
script:
- cargo update
- cargo build --release --target arm-unknown-linux-gnueabihf
- cargo build --release --target armv7-unknown-linux-gnueabihf
- cargo build --release --target x86_64-unknown-linux-gnu
artifacts:
paths:
- target/arm-unknown-linux-gnueabihf/release
- target/armv7-unknown-linux-gnueabihf/release
- target/x86_64-unknown-linux-gnu/release
# only:
@ -140,17 +145,22 @@ build:release:
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 -o dir::cache::archives="$APT_CACHE_DIR" -y libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
- apt-get install -o dir::cache::archives="$APT_CACHE_DIR" -y 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
- rustup target add armv7-unknown-linux-gnueabihf
- rustup target add arm-unknown-linux-gnueabihf
script:
- cargo update
- cargo build --release --target arm-unknown-linux-gnueabihf
- cargo build --release --target armv7-unknown-linux-gnueabihf
- cargo build --release --target x86_64-unknown-linux-gnu
artifacts:
paths:
- target/arm-unknown-linux-gnueabihf/release
- target/armv7-unknown-linux-gnueabihf/release
- target/x86_64-unknown-linux-gnu/release
rules:

View File

@ -1,3 +1,5 @@
[target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
[target.arm-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabi-gcc"