1 # see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
3 image: registry.gitlab.com/samba-team/samba:latest
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;
18 - tar -xf logs.tar.gz system-info.txt -O
20 .shared_template: &shared_template
29 # this one takes about 1 hours to finish
30 - python script/autobuild.py samba-none-env --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
32 build_samba_none_env_py3:
35 # this one takes about 1 hours to finish
36 - python script/autobuild.py samba-none-env-py3 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
41 - python script/autobuild.py samba-nopython --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
43 build_samba_systemkrb5:
46 - python script/autobuild.py samba-systemkrb5 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
51 - python script/autobuild.py samba-xc --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
56 - python script/autobuild.py samba-o3 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
61 # this one takes about 1 hours to finish
62 - python script/autobuild.py samba-ad-dc-2 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
64 build_samba_ad_dc_2_py3:
67 # this one takes about 1 hours to finish
68 - python script/autobuild.py samba-ad-dc-2-py3 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
73 - python script/autobuild.py samba-libs --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
78 - python script/autobuild.py samba-libs-py3 --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
83 - python script/autobuild.py samba-static --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
88 - python script/autobuild.py ctdb --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
93 - python script/autobuild.py samba-ctdb --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
98 - python script/autobuild.py ldb --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
99 - python script/autobuild.py pidl --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
100 - python script/autobuild.py replace --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
101 - python script/autobuild.py talloc --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
102 - python script/autobuild.py tdb --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
103 - python script/autobuild.py tevent --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase
105 build_samba_buildpy3_only:
108 - python3 script/autobuild.py samba-buildpy3-only --verbose --nocleanup --keeplogs --tail --testbase /tmp/samba-testbase