From 371a9bb8e458b0e2a8c406be6512627e2fffadfb Mon Sep 17 00:00:00 2001 From: Kai Kriegel Date: Tue, 15 Feb 2022 21:15:05 +0000 Subject: [PATCH] running apt-get update helps --- .gitlab-ci.yml | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c7027b..84a3df5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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