diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-09-20 17:47:40 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-09-20 18:11:56 -0500 |
commit | 79e2de31ba590618d2e99fe9df5945963b7b706b (patch) | |
tree | 7d9ca38bbff58cbb31f1e6da1945032133fa54d0 /.gitlab-ci.yml | |
parent | 1449224882158eef242553c932a281027966751d (diff) | |
download | librsvg-79e2de31ba590618d2e99fe9df5945963b7b706b.tar.gz |
Run 'cargo test' for the Rust gdk-pixbuf-loader
The binary is not installed yet via autotools, but let's run a build/test
of the new gdk-pixbuf-loader in the CI to ensure it keeps working.
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/749>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ef0a6dc7..e43eaf5f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -59,6 +59,26 @@ cargo_test: script: - cargo test -- --skip loading_crash --skip reference --skip render_crash +test_rust_gdk_pixbuf_loader: + stage: check + extends: + - '.container.opensuse@x86_64.stable' + - '.fdo.distribution-image@opensuse' + # Tests require extra crates, hence cache is pushed + - '.cache_push' + needs: + - job: check + artifacts: + when: 'on_failure' + paths: + - _build/tests/output + expire_in: 1 day + variables: + OUT_DIR: "${CI_PROJECT_DIR}/tests/output" + script: + - cd gdk-pixbuf-loader + - cargo test + .build-rsvg-no-docs: extends: '.cache' stage: build |