gitlab-ci: Fix bug where gresources would not be generated, when there was no artifact change.

This commit is contained in:
Jordan Petridis 2017-12-24 14:34:16 +02:00
parent 5a08a7e98e
commit 55c5ad31e1
No known key found for this signature in database
GPG key ID: CEABAD9F5683B9A6

View file

@ -19,6 +19,8 @@ test:stable:
image: "rust"
script:
- rustc --version && cargo --version
# Force regeneration of gresources regardless of artifacts chage
- cd fractal-gtk/resources/ && glib-compile-resources --generate resources.xml && cd ../../
- cargo build --all
- cargo test --all --verbose
cache:
@ -32,6 +34,8 @@ test:nightly:
image: "rustlang/rust:nightly"
script:
- rustc --version && cargo --version
# Force regeneration of gresources regardless of artifacts chage
- cd fractal-gtk/resources/ && glib-compile-resources --generate resources.xml && cd ../../
- cargo build --all
- cargo test --all --verbose
# - cargo bench
@ -60,6 +64,8 @@ lint:clippy:
image: "rustlang/rust:nightly"
script:
- rustc --version && cargo --version
# Force regeneration of gresources regardless of artifacts chage
- cd fractal-gtk/resources/ && glib-compile-resources --generate resources.xml && cd ../../
- cargo install clippy
- cargo clippy --all
cache: