From: Ian Jackson Date: Thu, 15 Jun 2023 13:11:53 +0000 (+0100) Subject: Add a minimal-versions test X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=222bfa08a5d90e96676da667f47560b180acbb6b;p=hippotat.git Add a minimal-versions test Signed-off-by: Ian Jackson --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ef8b35..98e8f69 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -87,6 +87,18 @@ test-debian-unstable: - apt-get -y install $MAKE_CHECK_PACKAGES - dpkg-buildpackage -uc -b +# Use some pinned version of nightly +minimal-versions: + stage: test + # This is "rustlang/rust:nightly-bookworm-slim" as of 2023-06-15 13:23 Z + image: rustlang/rust@sha256:0153f6bde60303fbcc38c94dc7f4b451c8ac7b46d4602291bd5a15a3317d9ec8 + script: + - apt-get -y update + - apt-get -y install build-essential pkg-config libssl-dev + - cargo +nightly update -Z minimal-versions + - cargo +nightly update -p openssl -p openssl-sys + - cargo test --locked --workspace --verbose --all-features + # Ideally we'd run autopkgtest here. # However, our autopkgtests use overlayfs which doesn't seem available. # The adt-initscript test seemed to work but probably isn't worth the candle.