diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:35:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:35:28 +0000 |
commit | ea314d2f45c40a006c0104157013ab4b857f665f (patch) | |
tree | 3ef2971cb3675c318b8d9effd987854ad3f6d3e8 /.gitlab-ci.yml | |
parent | Initial commit. (diff) | |
download | dpkg-ea314d2f45c40a006c0104157013ab4b857f665f.tar.xz dpkg-ea314d2f45c40a006c0104157013ab4b857f665f.zip |
Adding upstream version 1.22.4.upstream/1.22.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..3a45c0d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,60 @@ +image: debian:sid + +variables: + FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: 1 + +before_script: + - apt update -qq + - apt install -qq -y eatmydata + - eatmydata apt -P pkg.dpkg.author-release build-dep -qq -y . + - ./autogen + +# Test whether the release can be done. +dist-check: + stage: test + script: + - ./configure + - make -j$(nproc) distcheck + +# Test whether the author checks pass. +author-check: + stage: test + script: + - eatmydata apt -P pkg.dpkg.author-testing build-dep -qq -y . + - ./configure + - make -j$(nproc) authorcheck + TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc) + +# Test whether the sanitized unit tests pass. +unit-tests: + stage: test + script: + - ./configure --enable-compiler-sanitizer + - make -j$(nproc) -C lib check + TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc) + +# Test whether the unit tests pass on a VPATH build. +vpath-tests: + stage: test + script: + - mkdir -p build-tree + - cd build-tree + - ../configure + - make -j$(nproc) check + TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc) + +# Test whether we can build the shared library. +shlib-tests: + stage: test + script: + - AUTHOR_TESTING=1 ./configure --enable-shared + - make -j$(nproc) check + TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc) + +# Test whether the functional tests pass. +func-tests: + stage: test + script: + - ./configure + - make + - eatmydata make -C tests test |