From 49a224dbf6ddb80ee887a92ce7bfaf235429a6c2 Mon Sep 17 00:00:00 2001 From: Jason Yavorska Date: Tue, 12 May 2020 13:06:59 +0200 Subject: Separate build/distcheck and add translations --- ci/build_project.yml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) (limited to 'ci') 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 -- cgit v1.2.1