From: Magnus Jacobsson Date: Mon, 5 Jul 2021 11:59:36 +0000 (+0200) Subject: enable building the C++ API in CI in Ubuntu 21.04 CMake builds X-Git-Tag: 2.49.0~29^2~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eca210277d9bbe52896b3fb3266e63d0f0987db6;p=graphviz enable building the C++ API in CI in Ubuntu 21.04 CMake builds Towards https://gitlab.com/graphviz/graphviz/-/issues/2001. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20abb5431..91750b342 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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