summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@gnome.org>2023-02-08 17:05:27 -0600
committerFederico Mena Quintero <federico@gnome.org>2023-02-08 17:05:27 -0600
commit2361cec201595fd23234e43627d888e632e13176 (patch)
tree5073ee74c5366d39fdbadb8570aedb04e59c600c /.gitlab-ci.yml
parent23e68891c76ff1a392e1bdff2383b0d7373d4a5c (diff)
downloadlibrsvg-2361cec201595fd23234e43627d888e632e13176.tar.gz
CI: Add a lint for the various MSRVs we mention in the source tree
ci/check_rust_versions.py is a script that checks that all the mentioned *minimum* Rust versions (configure.ac, Cargo.toml, etc.) are the same. I don't think we mention the "stable" Rust version anywhere but ci/container_builds.yml, so we don't need a check for that one. Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/792>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c50ea948..66511053 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -314,6 +314,14 @@ deny:
script:
- cargo deny check
+check_rust_versions:
+ extends:
+ - '.container.opensuse@x86_64.stable'
+ - '.fdo.distribution-image@opensuse'
+ stage: lint
+ script:
+ - python3 ci/check_rust_versions.py
+
coverage:
extends:
- '.container.opensuse@x86_64.stable'