summaryrefslogtreecommitdiff
path: root/ci/build_project.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ci/build_project.yml')
-rw-r--r--ci/build_project.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/ci/build_project.yml b/ci/build_project.yml
index 6e3b016..8b33008 100644
--- a/ci/build_project.yml
+++ b/ci/build_project.yml
@@ -10,9 +10,12 @@ build:
- ./autogen.sh
- make
rules:
+ # If there are changes to .po, never run
- changes:
- "po/*.po"
when: never
+ # Otherwise, always run
+ - when: always
translations:
stage: build
@@ -20,15 +23,21 @@ translations:
# Could validate translations, but for now just pass
- "true"
rules:
+ # If there are changes to .po, run this job
- changes:
- "po/*.po"
when: always
+ # Otherwise, never run
+ - when: never
distcheck:
stage: distcheck
script:
- make distcheck
rules:
+ # If there are changes to .po, never run
- changes:
- "po/*.po"
when: never
+ # Otherwise, always run
+ - when: always