From 55c5ad31e188e090e40eb32c5d95cfe5f284d8f2 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Sun, 24 Dec 2017 14:34:16 +0200 Subject: [PATCH] gitlab-ci: Fix bug where gresources would not be generated, when there was no artifact change. --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 508a7b2a..38bf86be 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: