]> granicus.if.org Git - graphviz/commitdiff
enable building the C++ API in CI in Ubuntu 21.04 CMake builds
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 5 Jul 2021 11:59:36 +0000 (13:59 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 7 Aug 2021 04:54:12 +0000 (06:54 +0200)
Towards https://gitlab.com/graphviz/graphviz/-/issues/2001.

.gitlab-ci.yml

index 20abb543158c09b044d9dc27156a28cefb32e285..91750b342ad9934a90fe69e59f828c3ab9cce6a0 100644 (file)
@@ -488,7 +488,7 @@ ubuntu21-04-cmake-build:
         # fail on any compiler warnings
         - export CFLAGS=-Werror
         - export CXXFLAGS=-Werror
-        - export CMAKE_OPTIONS="-Dwith_cxx_tests=ON"
+        - export CMAKE_OPTIONS="-Dwith_cxx_tests=ON -Dwith_cxx_api=ON"
         - echo experimental > COLLECTION
     tags:
         - linux
@@ -507,7 +507,7 @@ ubuntu21-04-cmake-ASan-build-for-ctest:
         # fail on any compiler warnings
         - export CFLAGS=-Werror
         - export CXXFLAGS=-Werror
-        - export CMAKE_OPTIONS="-Duse_sanitizers=ON -Duse_coverage=ON -Dwith_cxx_tests=ON "
+        - export CMAKE_OPTIONS="-Duse_sanitizers=ON -Duse_coverage=ON -Dwith_cxx_tests=ON -Dwith_cxx_api=ON"
         - echo experimental > COLLECTION
     # override the deb_build_definition artifacts since we need more
     # files from the build directory when running ctest in the test