VERSION: Disable GIT_SNAPSHOT for the 4.9.13 release.
[Samba.git] / .gitlab-ci.yml
blob03654fafe1f250dffd533a537328601999a404f3
1 # see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
3 image: registry.gitlab.com/samba-team/samba:latest
5 variables:
6   GIT_STRATEGY: fetch
7   GIT_DEPTH: "3"
9 before_script:
10   - echo "Build starting..."
12 after_script:
13   - tar -xf logs.tar.gz system-info.txt -O
15 .shared_template: &shared_template
16   stage: build
17   tags:
18     - docker
19     - shared
21 build_samba_none_env:
22   <<: *shared_template
23   script:
24     # this one takes about 1 hours to finish
25     - python script/autobuild.py samba-none-env    --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
27 build_samba_nopython:
28   <<: *shared_template
29   script:
30     - python script/autobuild.py samba-nopython   --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
32 build_samba_systemkrb5:
33   <<: *shared_template
34   script:
35     - python script/autobuild.py samba-systemkrb5 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
37 build_samba_xc:
38   <<: *shared_template
39   script:
40     - python script/autobuild.py samba-xc         --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
42 build_samba_o3:
43   <<: *shared_template
44   script:
45     - python script/autobuild.py samba-o3         --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
47 build_samba_ad_dc_2:
48   <<: *shared_template
49   script:
50     # this one takes about 1 hours to finish
51     - python script/autobuild.py samba-ad-dc-2     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
53 build_samba_libs:
54   <<: *shared_template
55   script:
56     - python script/autobuild.py samba-libs       --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
58 build_samba_static:
59   <<: *shared_template
60   script:
61     - python script/autobuild.py samba-static     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
63 build_ctdb:
64   <<: *shared_template
65   script:
66     - python script/autobuild.py samba-ctdb       --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
68 build_samba_ctdb:
69   <<: *shared_template
70   script:
71     - python script/autobuild.py ctdb             --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
73 build_others:
74   <<: *shared_template
75   script:
76     - python script/autobuild.py ldb              --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
77     - python script/autobuild.py pidl             --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
78     - python script/autobuild.py replace          --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
79     - python script/autobuild.py talloc           --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
80     - python script/autobuild.py tdb              --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
81     - python script/autobuild.py tevent           --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase