summaryrefslogtreecommitdiff
path: root/ci/build_project.yml
blob: 582e9e16c3758782e6caf5c828cbd9af8fddd56c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
image: xfce/xfce-build:latest
    
stages:
  - build
  - distcheck

build:
  stage: build
  script:
    - ./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
  script:
    #  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:
    - ./autogen.sh
    - make distcheck
  rules:
    # If there are changes to .po, never run
    - changes: 
      - "po/*.po"
      when: never
    # Otherwise, always run
    - when: always