summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJason Yavorska <jyavorska@protonmail.com>2020-05-12 13:06:59 +0200
committerSimon Steinbeiß <ochosi@xfce.org>2020-05-12 13:06:59 +0200
commit49a224dbf6ddb80ee887a92ce7bfaf235429a6c2 (patch)
tree99c784d8c51a5c702fe26cd943158fda84873773 /ci
parent80646b6511e38441e39dc99d953d23c21f23bd4d (diff)
downloadxfce4-dev-tools-49a224dbf6ddb80ee887a92ce7bfaf235429a6c2.tar.gz
Separate build/distcheck and add translations
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