summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rw-r--r--ci/build_project.yml27
1 files changed, 24 insertions, 3 deletions
diff --git a/ci/build_project.yml b/ci/build_project.yml
index 345a59a..6e3b016 100644
--- a/ci/build_project.yml
+++ b/ci/build_project.yml
@@ -2,12 +2,33 @@ image: xfce/xfce-build:latest
stages:
- build
+ - distcheck
-build-distcheck:
+build:
stage: build
script:
- ./autogen.sh
+ - make
+ rules:
+ - changes:
+ - "po/*.po"
+ when: never
+
+translations:
+ stage: build
+ script:
+ # Could validate translations, but for now just pass
+ - "true"
+ rules:
+ - changes:
+ - "po/*.po"
+ when: always
+
+distcheck:
+ stage: distcheck
+ script:
- make distcheck
- except:
- changes:
+ rules:
+ - changes:
- "po/*.po"
+ when: never