summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-03-16 12:44:28 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-03-16 14:39:32 +0100
commit6bfb9eae175fa4749c9a1a76ef2ca1f9b2fe3669 (patch)
treeffbf22c63c299fc56aa5dc6c21e41d946155ee7b /.gitlab-ci.yml
parent0763ce6778ee3d3fc1104b87a4015fb86970d3ef (diff)
ci: Also test the core components with latest stable rust.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 35bc3783..1fbc3711 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -39,7 +39,28 @@ bullseye:
CARGO_TARGET_DIR: $CI_PROJECT_DIR/../target-bullseye
RUSTFLAGS: -D warnings -A unused-parens
+rust-stable:
+ stage: build
+ image: rust:1-slim-buster
+
+ before_script:
+ - apt update -y -qq
+ - apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 clang libclang-dev llvm pkg-config nettle-dev
+ - if [ -d $CARGO_TARGET_DIR ]; then find $CARGO_TARGET_DIR | wc --lines; du -sh $CARGO_TARGET_DIR; fi
+ - if [ -d $CARGO_HOME ]; then find $CARGO_HOME | wc --lines; du -sh $CARGO_HOME; fi
+ - rustc --version
+ - cargo --version
+ - clang --version
+
+ script:
+ - cargo test -p buffered-reader -p sequoia-openpgp -p sequoia-sqv
+
+ variables:
+ CARGO_TARGET_DIR: $CI_PROJECT_DIR/../target-rust-stable
+ RUSTFLAGS: -D warnings -A unused-parens
+
variables:
+ DEBIAN_FRONTEND: noninteractive
CARGO_HOME: $CI_PROJECT_DIR/../cargo
CARGO_TARGET_DIR: $CI_PROJECT_DIR/../target
CARGO_FLAGS: --color always