po: Update German man pages translation
[dpkg.git] / .gitlab-ci.yml
blob2565a91cdf3c46011377f3ab5e3eee55e0a958c7
1 image: debian:sid
3 variables:
4   FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: 1
6 before_script:
7   - apt update -qq
8   - apt install -qq -y eatmydata
9   - eatmydata apt -P pkg.dpkg.author-release build-dep -qq -y .
10   - ./autogen
12 # Test whether the release can be done.
13 dist-check:
14   stage: test
15   script:
16     - ./configure
17     - make -j$(nproc) distcheck
19 # Test whether the author checks pass.
20 author-check:
21   stage: test
22   script:
23     - eatmydata apt -P pkg.dpkg.author-testing build-dep -qq -y .
24     - ./configure
25     - make -j$(nproc) authorcheck
26            TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
28 # Test whether the unit tests pass.
29 unit-tests:
30   stage: test
31   script:
32     - ./configure --enable-compiler-sanitizer
33     - make -j$(nproc) -C lib check
34            TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
36 # Test whether the unit tests pass on a VPATH build.
37 vpath-tests:
38   stage: test
39   script:
40     - mkdir -p build-tree
41     - cd build-tree
42     - ../configure
43     - make -j$(nproc) check
44            TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
46 # Test whether the unit tests pass with minimal library dependencies.
47 minlib-tests:
48   stage: test
49   script:
50     - ./configure
51         --without-liblzma
52         --without-libz
53         --without-libz-ng
54         --without-libzstd
55         --without-libbz2
56         --without-libselinux
57     - make -j$(nproc) check
58            TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
60 # Test whether we can build the shared library.
61 shlib-tests:
62   stage: test
63   script:
64     - AUTHOR_TESTING=1 ./configure --enable-shared
65     - make -j$(nproc) check
66            TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
68 # Test whether the functional tests pass.
69 func-tests:
70   stage: test
71   script:
72     - ./configure --enable-compiler-sanitizer
73     - make
74     - eatmydata make -C tests test