gitlab-ci: Fix bug where gresources would not be generated, when there was no artifact change.
This commit is contained in:
parent
5a08a7e98e
commit
55c5ad31e1
1 changed files with 6 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue