s4:librpc: Use C99 initializer for PyGetSetDef in py_auth
[nivanova/samba-autobuild/.git] / .gitlab-ci.yml
1 # see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
2
3 image: registry.gitlab.com/samba-team/samba:latest
4
5 variables:
6   GIT_STRATEGY: fetch
7   GIT_DEPTH: "3"
8
9 before_script:
10   - echo "Build starting (preparing swap)..."
11   - if [ $(df -m / --output=avail | tail -n1) -gt 10240 ]; then
12       sudo dd if=/dev/zero of=/samba-swap bs=1M count=6144;
13       sudo mkswap /samba-swap;
14       sudo swapon /samba-swap;
15     fi
16
17 after_script:
18   - tar -xf logs.tar.gz system-info.txt -O
19
20 .shared_template: &shared_template
21   stage: build
22   tags:
23     - docker
24     - shared
25
26 build_samba_none_env:
27   <<: *shared_template
28   script:
29     # this one takes about 1 hours to finish
30     - script/autobuild.py samba-none-env    --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
31
32 build_samba_none_env_py2:
33   <<: *shared_template
34   script:
35     # this one takes about 1 hours to finish
36     - script/autobuild.py samba-none-env-py2    --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
37
38 build_samba_nopython:
39   <<: *shared_template
40   script:
41     - script/autobuild.py samba-nopython   --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
42
43 build_samba_systemkrb5:
44   <<: *shared_template
45   script:
46     - script/autobuild.py samba-systemkrb5 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
47
48 build_samba_xc:
49   <<: *shared_template
50   script:
51     - script/autobuild.py samba-xc         --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
52
53 build_samba_o3:
54   <<: *shared_template
55   script:
56     - script/autobuild.py samba-o3         --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
57
58 build_samba_ad_dc_2:
59   <<: *shared_template
60   script:
61     # this one takes about 1 hours to finish
62     - script/autobuild.py samba-ad-dc-2     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
63
64 build_samba_ad_dc_2_py2:
65   <<: *shared_template
66   script:
67     # this one takes about 1 hours to finish
68     - script/autobuild.py samba-ad-dc-2-py2     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
69
70 build_samba_libs:
71   <<: *shared_template
72   script:
73     - script/autobuild.py samba-libs       --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
74
75 build_samba_libs_py2:
76   <<: *shared_template
77   script:
78     - script/autobuild.py samba-libs-py2       --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
79
80 build_samba_static:
81   <<: *shared_template
82   script:
83     - script/autobuild.py samba-static     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
84
85 build_ctdb:
86   <<: *shared_template
87   script:
88     - script/autobuild.py ctdb       --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
89
90 build_samba_ctdb:
91   <<: *shared_template
92   script:
93     - script/autobuild.py samba-ctdb             --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
94
95 build_others:
96   <<: *shared_template
97   script:
98     - script/autobuild.py ldb              --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
99     - script/autobuild.py pidl             --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
100     - script/autobuild.py replace          --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
101     - script/autobuild.py talloc           --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
102     - script/autobuild.py tdb              --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
103     - script/autobuild.py tevent           --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
104
105 build_samba_buildpy2_only:
106   <<: *shared_template
107   script:
108     - python script/autobuild.py samba-buildpy2-only             --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
109