tldap: avoid a use after free crash
[Samba.git] / .gitlab-ci.yml
blob908c29ec9d95de5c88bacc6bf8ab09ba2e214944
1 # see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
4 variables:
5   SAMBA_BUILD_IMAGES_PROJECT: samba-team/samba
6   SAMBA_BUILD: latest
7   GIT_STRATEGY: fetch
8   GIT_DEPTH: "3"
10 .shared_template: &shared_template
11   image: $CI_REGISTRY/$SAMBA_BUILD_IMAGES_PROJECT:$SAMBA_BUILD
12   stage: build
13   tags:
14     - docker
15     - shared
16   before_script:
17     - echo "Build starting (preparing swap)..."
18     - if [ $(df -m / --output=avail | tail -n1) -gt 10240 ]; then
19         sudo dd if=/dev/zero of=/samba-swap bs=1M count=6144;
20         sudo mkswap /samba-swap;
21         sudo swapon /samba-swap;
22       fi
23   artifacts:
24     expire_in: 1 week
25     when: on_failure
26     paths:
27       - "*.stdout"
28       - "*.stderr"
29       - system-info.txt
30       - /tmp/samba-testbase/*/*/bin/config.log
32 build_samba_none_env:
33   <<: *shared_template
34   script:
35     # this one takes about 1 hours to finish
36     - script/autobuild.py samba-none-env    --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
38 build_samba_none_env_py2:
39   <<: *shared_template
40   script:
41     # this one takes about 1 hours to finish
42     - script/autobuild.py samba-none-env-py2    --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
44 build_samba_nopython:
45   <<: *shared_template
46   script:
47     - script/autobuild.py samba-nopython   --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
49 build_samba_systemkrb5:
50   <<: *shared_template
51   script:
52     - script/autobuild.py samba-systemkrb5 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
54 build_samba_xc:
55   <<: *shared_template
56   script:
57     - script/autobuild.py samba-xc         --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
59 build_samba_o3:
60   <<: *shared_template
61   script:
62     - script/autobuild.py samba-o3         --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
64 build_samba_ad_dc_2:
65   <<: *shared_template
66   script:
67     # this one takes about 1 hours to finish
68     - script/autobuild.py samba-ad-dc-2     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
70 build_samba_ad_dc_backup:
71   <<: *shared_template
72   script:
73     - script/autobuild.py samba-ad-dc-backup    --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
75 build_samba_ad_dc_2_py2:
76   <<: *shared_template
77   script:
78     # this one takes about 1 hours to finish
79     - script/autobuild.py samba-ad-dc-2-py2     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
81 build_samba_libs:
82   <<: *shared_template
83   script:
84     - script/autobuild.py samba-libs       --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
86 build_samba_libs_py2:
87   <<: *shared_template
88   script:
89     - script/autobuild.py samba-libs-py2       --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
91 build_samba_static:
92   <<: *shared_template
93   script:
94     - script/autobuild.py samba-static     --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
96 build_ctdb:
97   <<: *shared_template
98   script:
99     - script/autobuild.py ctdb       --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
101 build_samba_ctdb:
102   <<: *shared_template
103   script:
104     - script/autobuild.py samba-ctdb             --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
106 build_others:
107   <<: *shared_template
108   script:
109     - script/autobuild.py ldb              --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
110     - script/autobuild.py pidl             --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
111     - script/autobuild.py replace          --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
112     - script/autobuild.py talloc           --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
113     - script/autobuild.py tdb              --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
114     - script/autobuild.py tevent           --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
116 build_samba_buildpy2_only:
117   <<: *shared_template
118   script:
119     - python script/autobuild.py samba-buildpy2-only             --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase