gitlab-ci: Force regeneration of gresources.

This commit is contained in:
Jordan Petridis 2017-12-23 16:35:23 +02:00
parent 2d6f02c407
commit 30970c8dfb
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -18,6 +18,8 @@ before_script:
stage: test stage: test
script: script:
- rustc --version && cargo --version - rustc --version && cargo --version
# Force regeneration of gresources regardless of artifacts chage
- cd hammond-gtk/resources/ && glib-compile-resources --generate resources.xml && cd ../../
- cargo build - cargo build
- cargo test --verbose -- --test-threads=1 - cargo test --verbose -- --test-threads=1
cache: cache:
@ -60,4 +62,6 @@ clippy:
script: script:
- rustc --version && cargo --version - rustc --version && cargo --version
- cargo install clippy --force - cargo install clippy --force
# Force regeneration of gresources regardless of artifacts chage
- cd hammond-gtk/resources/ && glib-compile-resources --generate resources.xml && cd ../../
- cargo clippy --all - cargo clippy --all