diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-03-18 22:57:42 +0100 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-03-19 09:40:02 +0100 |
commit | adf8e6881a76642c6069df9c61d79387a7f7e940 (patch) | |
tree | 97ee7433da2044d51fcef369869d882bdccffe54 | |
parent | 507e2a40d41622cbdd83277258af66346829ed40 (diff) |
ci: Test minimal versions.nora/minimal-versions
- Test that lower bounds specified in our Cargo.tomls are correct
and result in a functioning build.
- Test that we build with our MSRV, 1.46.0.
-rw-r--r-- | .gitlab-ci.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 36364dfb..6d51c587 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,6 +49,21 @@ bullseye: RUSTFLAGS: -D warnings -A unused-parens after_script: [] +minimal_versions: + tags: + - linux + stage: test + image: registry.gitlab.com/sequoia-pgp/build-docker-image/minimal-versions:latest + needs: ["rust-stable"] + script: + - cargo minimize --workspace + - cargo test + variables: + CARGO_TARGET_DIR: /target + CARGO_HOME: /cargo + RUSTFLAGS: -D warnings -A unused-parens + after_script: [] + all_commits: # Test each commit up to main, to facilitate bisecting. stage: test |