s3: VFS: Remove SMB_VFS_READ() function and all implementations.
[samba.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 .shared_template: &shared_template
18   stage: build
19   tags:
20     - docker
21     - shared
22
23 build_samba_none_env:
24   <<: *shared_template
25   script:
26     # this one takes about 1 hours to finish
27     - python script/autobuild.py samba-none-env    --verbose --tail --testbase /tmp/samba-testbase
28
29 build_samba_nopython:
30   <<: *shared_template
31   script:
32     - python script/autobuild.py samba-nopython   --verbose --tail --testbase /tmp/samba-testbase
33
34 build_samba_systemkrb5:
35   <<: *shared_template
36   script:
37     - python script/autobuild.py samba-systemkrb5 --verbose --tail --testbase /tmp/samba-testbase
38
39 build_samba_xc:
40   <<: *shared_template
41   script:
42     - python script/autobuild.py samba-xc         --verbose --tail --testbase /tmp/samba-testbase
43
44 build_samba_o3:
45   <<: *shared_template
46   script:
47     - python script/autobuild.py samba-o3         --verbose --tail --testbase /tmp/samba-testbase
48
49 build_samba_ad_dc_2:
50   <<: *shared_template
51   script:
52     # this one takes about 1 hours to finish
53     - python script/autobuild.py samba-ad-dc-2     --verbose --tail --testbase /tmp/samba-testbase
54
55 build_samba_libs:
56   <<: *shared_template
57   script:
58     - python script/autobuild.py samba-libs       --verbose --tail --testbase /tmp/samba-testbase
59
60 build_samba_static:
61   <<: *shared_template
62   script:
63     - python script/autobuild.py samba-static     --verbose --tail --testbase /tmp/samba-testbase
64
65 build_ctdb:
66   <<: *shared_template
67   script:
68     - python script/autobuild.py samba-ctdb       --verbose --tail --testbase /tmp/samba-testbase
69
70 build_samba_ctdb:
71   <<: *shared_template
72   script:
73     - python script/autobuild.py ctdb             --verbose --tail --testbase /tmp/samba-testbase
74
75 build_others:
76   <<: *shared_template
77   script:
78     - python script/autobuild.py ldb              --verbose --tail --testbase /tmp/samba-testbase
79     - python script/autobuild.py pidl             --verbose --tail --testbase /tmp/samba-testbase
80     - python script/autobuild.py replace          --verbose --tail --testbase /tmp/samba-testbase
81     - python script/autobuild.py talloc           --verbose --tail --testbase /tmp/samba-testbase
82     - python script/autobuild.py tdb              --verbose --tail --testbase /tmp/samba-testbase
83     - python script/autobuild.py tevent           --verbose --tail --testbase /tmp/samba-testbase
84
85 after_script:
86   - echo "Build finished!"