mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-23 15:17:57 +01:00
running apt-get update helps
This commit is contained in:
parent
af91524d70
commit
371a9bb8e4
@ -114,28 +114,28 @@ test:cargo:
|
||||
# - linux
|
||||
# - docker
|
||||
|
||||
build:nightly-armv6:
|
||||
image: rust:latest
|
||||
stage: build
|
||||
before_script:
|
||||
- cp cargo-cross-config /usr/local/cargo/config
|
||||
- dpkg --add-architecture armel
|
||||
- apt-get update -y
|
||||
- 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:armel libssl-dev:armel
|
||||
- rustup target add arm-unknown-linux-gnueabihf
|
||||
script:
|
||||
- cargo update
|
||||
- cargo build --release --target arm-unknown-linux-gnueabihf
|
||||
# build:nightly-armv6:
|
||||
# image: rust:latest
|
||||
# stage: build
|
||||
# before_script:
|
||||
# - cp cargo-cross-config /usr/local/cargo/config
|
||||
# - dpkg --add-architecture armel
|
||||
# - apt-get update -y
|
||||
# - 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:armel libssl-dev:armel
|
||||
# - rustup target add arm-unknown-linux-gnueabihf
|
||||
# script:
|
||||
# - cargo update
|
||||
# - cargo build --release --target arm-unknown-linux-gnueabihf
|
||||
|
||||
artifacts:
|
||||
paths:
|
||||
- target/arm-unknown-linux-gnueabihf/release
|
||||
# only:
|
||||
# - development
|
||||
tags:
|
||||
- linux
|
||||
- docker
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - target/arm-unknown-linux-gnueabihf/release
|
||||
# # only:
|
||||
# # - development
|
||||
# tags:
|
||||
# - linux
|
||||
# - docker
|
||||
|
||||
build:nightly-armv7:
|
||||
image: rust:latest
|
||||
@ -165,6 +165,7 @@ build:nightly-x86_64:
|
||||
stage: build
|
||||
before_script:
|
||||
- cp cargo-cross-config /usr/local/cargo/config
|
||||
- apt-get update -y
|
||||
- apt-get install -o dir::cache::archives="$APT_CACHE_DIR" -y --no-install-recommends capnproto build-essential cmake clang libclang-dev libgsasl7-dev
|
||||
script:
|
||||
- cargo update
|
||||
|
Loading…
Reference in New Issue
Block a user