mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-23 23:27:57 +01:00
lets try armv6 again
This commit is contained in:
parent
260186429f
commit
de29baee77
@ -113,17 +113,22 @@ build:nightly:
|
|||||||
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
|
||||||
|
- dpkg --add-architecture armel
|
||||||
- apt-get update -y
|
- 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-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
|
- 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 armv7-unknown-linux-gnueabihf
|
||||||
|
- rustup target add arm-unknown-linux-gnueabihf
|
||||||
script:
|
script:
|
||||||
- cargo update
|
- cargo update
|
||||||
|
- cargo build --release --target arm-unknown-linux-gnueabihf
|
||||||
- cargo build --release --target armv7-unknown-linux-gnueabihf
|
- cargo build --release --target armv7-unknown-linux-gnueabihf
|
||||||
- cargo build --release --target x86_64-unknown-linux-gnu
|
- cargo build --release --target x86_64-unknown-linux-gnu
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
- target/arm-unknown-linux-gnueabihf/release
|
||||||
- target/armv7-unknown-linux-gnueabihf/release
|
- target/armv7-unknown-linux-gnueabihf/release
|
||||||
- target/x86_64-unknown-linux-gnu/release
|
- target/x86_64-unknown-linux-gnu/release
|
||||||
# only:
|
# only:
|
||||||
@ -140,17 +145,22 @@ build:release:
|
|||||||
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
|
||||||
|
- dpkg --add-architecture armel
|
||||||
- apt-get update -y
|
- 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-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
|
- 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 armv7-unknown-linux-gnueabihf
|
||||||
|
- rustup target add arm-unknown-linux-gnueabihf
|
||||||
script:
|
script:
|
||||||
- cargo update
|
- cargo update
|
||||||
|
- cargo build --release --target arm-unknown-linux-gnueabihf
|
||||||
- cargo build --release --target armv7-unknown-linux-gnueabihf
|
- cargo build --release --target armv7-unknown-linux-gnueabihf
|
||||||
- cargo build --release --target x86_64-unknown-linux-gnu
|
- cargo build --release --target x86_64-unknown-linux-gnu
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
- target/arm-unknown-linux-gnueabihf/release
|
||||||
- target/armv7-unknown-linux-gnueabihf/release
|
- target/armv7-unknown-linux-gnueabihf/release
|
||||||
- target/x86_64-unknown-linux-gnu/release
|
- target/x86_64-unknown-linux-gnu/release
|
||||||
rules:
|
rules:
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
[target.armv7-unknown-linux-gnueabihf]
|
[target.armv7-unknown-linux-gnueabihf]
|
||||||
linker = "arm-linux-gnueabihf-gcc"
|
linker = "arm-linux-gnueabihf-gcc"
|
||||||
|
|
||||||
|
[target.arm-unknown-linux-gnueabihf]
|
||||||
|
linker = "arm-linux-gnueabi-gcc"
|
||||||
|
Loading…
Reference in New Issue
Block a user