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;
17 .shared_template: &shared_template
26 # this one takes about 1 hours to finish
27 - python script/autobuild.py samba-none-env --verbose --tail --testbase /tmp/samba-testbase
32 - python script/autobuild.py samba-nopython --verbose --tail --testbase /tmp/samba-testbase
34 build_samba_systemkrb5:
37 - python script/autobuild.py samba-systemkrb5 --verbose --tail --testbase /tmp/samba-testbase
42 - python script/autobuild.py samba-xc --verbose --tail --testbase /tmp/samba-testbase
47 - python script/autobuild.py samba-o3 --verbose --tail --testbase /tmp/samba-testbase
52 - python script/autobuild.py samba-libs --verbose --tail --testbase /tmp/samba-testbase
57 - python script/autobuild.py samba-static --verbose --tail --testbase /tmp/samba-testbase
62 - python script/autobuild.py samba-ctdb --verbose --tail --testbase /tmp/samba-testbase
67 - python script/autobuild.py ctdb --verbose --tail --testbase /tmp/samba-testbase
72 - python script/autobuild.py ldb --verbose --tail --testbase /tmp/samba-testbase
73 - python script/autobuild.py pidl --verbose --tail --testbase /tmp/samba-testbase
74 - python script/autobuild.py replace --verbose --tail --testbase /tmp/samba-testbase
75 - python script/autobuild.py talloc --verbose --tail --testbase /tmp/samba-testbase
76 - python script/autobuild.py tdb --verbose --tail --testbase /tmp/samba-testbase
77 - python script/autobuild.py tevent --verbose --tail --testbase /tmp/samba-testbase
80 - echo "Build finished!"