summaryrefslogtreecommitdiff
path: root/.gitlab-ci-private.yml
blob: 584b853c25eb361d13440017fbef63ff8a3da2e2 (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
45
46
47
48
49
50
51
52
53
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options

image: registry.gitlab.com/samba-team/samba:latest

before_script:
  - echo "Build starting ..."

build_samba:
  stage: build
  tags:
    - docker
    - private
  script:
    # this one takes about 4 hours to finish
    - python script/autobuild.py samba            --verbose --tail --testbase /tmp/samba-testbase

build_samba_others:
  stage: build
  tags:
    - docker
    - private
  script:
    - python script/autobuild.py samba-nopython   --verbose --tail --testbase /tmp/samba-testbase
    - python script/autobuild.py samba-systemkrb5 --verbose --tail --testbase /tmp/samba-testbase
    - python script/autobuild.py samba-xc         --verbose --tail --testbase /tmp/samba-testbase
    - python script/autobuild.py samba-o3         --verbose --tail --testbase /tmp/samba-testbase
    - python script/autobuild.py samba-libs       --verbose --tail --testbase /tmp/samba-testbase
    - python script/autobuild.py samba-static     --verbose --tail --testbase /tmp/samba-testbase

build_ctdb:
  stage: build
  tags:
    - docker
    - private
  script:
    - python script/autobuild.py samba-ctdb       --verbose --tail --testbase /tmp/samba-testbase
    - python script/autobuild.py ctdb             --verbose --tail --testbase /tmp/samba-testbase

build_others:
  stage: build
  tags:
    - docker
    - private
  script:
    - python script/autobuild.py ldb              --verbose --tail --testbase /tmp/samba-testbase
    - python script/autobuild.py pidl             --verbose --tail --testbase /tmp/samba-testbase
    - python script/autobuild.py replace          --verbose --tail --testbase /tmp/samba-testbase
    - python script/autobuild.py talloc           --verbose --tail --testbase /tmp/samba-testbase
    - python script/autobuild.py tdb              --verbose --tail --testbase /tmp/samba-testbase
    - python script/autobuild.py tevent           --verbose --tail --testbase /tmp/samba-testbase

after_script:
  - echo "Build finished!"