This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=87260bc8618d06b3aca1b39d922021bda749d32e

commit 87260bc8618d06b3aca1b39d922021bda749d32e (HEAD -> main)
Author: Guillem Jover <[email protected]>
AuthorDate: Thu Dec 9 20:55:13 2021 +0100

    build: Add gitlab CI test for shared library building
    
    This will make sure the shared library is kept in a working state, even
    though it's definitely not ready yet for general use.
---
 .gitlab-ci.yml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c4416e15e..3138b3a7d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,6 +42,13 @@ vpath-tests:
     - ../configure
     - make check TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
 
+# Test whether we can build the shared library.
+shared-tests:
+  stage: test
+  script:
+    - DPKG_DEVEL_MODE=1 ./configure --enable-shared
+    - make check TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
+
 # Test whether the functional tests pass.
 func-tests:
   stage: test

-- 
Dpkg.Org's dpkg

Reply via email to