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;
23 # this one takes about 4 hours to finish
24 - python script/autobuild.py samba --verbose --tail --testbase /tmp/samba-testbase
32 # this one takes about 1 hours to finish
33 - python script/autobuild.py samba-nt4 --verbose --tail --testbase /tmp/samba-testbase
35 build_samba_fileserver:
41 # this one takes about 1 hours to finish
42 - python script/autobuild.py samba-fileserver --verbose --tail --testbase /tmp/samba-testbase
50 # this one takes about 1 hours to finish
51 - python script/autobuild.py samba-ad-dc --verbose --tail --testbase /tmp/samba-testbase
59 # this one takes about 1 hours to finish
60 - python script/autobuild.py samba-ad-dc-2 --verbose --tail --testbase /tmp/samba-testbase
68 # this one takes about 1 hours to finish
69 - python script/autobuild.py samba-none-env --verbose --tail --testbase /tmp/samba-testbase
77 - python script/autobuild.py samba-nopython --verbose --tail --testbase /tmp/samba-testbase
79 build_samba_systemkrb5:
85 - python script/autobuild.py samba-systemkrb5 --verbose --tail --testbase /tmp/samba-testbase
93 - python script/autobuild.py samba-xc --verbose --tail --testbase /tmp/samba-testbase
101 - python script/autobuild.py samba-o3 --verbose --tail --testbase /tmp/samba-testbase
109 - python script/autobuild.py samba-libs --verbose --tail --testbase /tmp/samba-testbase
117 - python script/autobuild.py samba-static --verbose --tail --testbase /tmp/samba-testbase
125 - python script/autobuild.py samba-ctdb --verbose --tail --testbase /tmp/samba-testbase
133 - python script/autobuild.py ctdb --verbose --tail --testbase /tmp/samba-testbase
141 - python script/autobuild.py ldb --verbose --tail --testbase /tmp/samba-testbase
142 - python script/autobuild.py pidl --verbose --tail --testbase /tmp/samba-testbase
143 - python script/autobuild.py replace --verbose --tail --testbase /tmp/samba-testbase
144 - python script/autobuild.py talloc --verbose --tail --testbase /tmp/samba-testbase
145 - python script/autobuild.py tdb --verbose --tail --testbase /tmp/samba-testbase
146 - python script/autobuild.py tevent --verbose --tail --testbase /tmp/samba-testbase
149 - echo "Build finished!"