]> granicus.if.org Git - graphviz/commitdiff
CI: add ubuntu21-10-cmake-minimal-build job
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Mon, 18 Oct 2021 12:42:19 +0000 (14:42 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Thu, 21 Oct 2021 20:58:32 +0000 (22:58 +0200)
.gitlab-ci.yml

index c14ab390cfcad1aa481c9a6d904ca0715753b636..54411fd5328ef7b38b9dd6296b0ecc409541d8fc 100644 (file)
@@ -648,6 +648,31 @@ ubuntu21-04-cmake-minimal-build:
     variables:
       IMAGE: ubuntu-21.04
 
+ubuntu21-10-cmake-minimal-build:
+    <<: *deb_build_definition
+    needs:
+        - job: docker_build_ubuntu-21.10
+          artifacts: false
+    before_script:
+        - export build_system="cmake"
+        # fail on any compiler warnings
+        - export CFLAGS=-Werror
+        - export CXXFLAGS=-Werror
+        - export CMAKE_OPTIONS=""
+        - export CMAKE_OPTIONS="$CMAKE_OPTIONS -Denable_ltdl=OFF"
+        - export CMAKE_OPTIONS="$CMAKE_OPTIONS -Dwith_expat=OFF"
+        - export CMAKE_OPTIONS="$CMAKE_OPTIONS -Dwith_digcola=OFF"
+        - export CMAKE_OPTIONS="$CMAKE_OPTIONS -Dwith_ipsepcola=OFF"
+        - export CMAKE_OPTIONS="$CMAKE_OPTIONS -Dwith_ortho=OFF"
+        - export CMAKE_OPTIONS="$CMAKE_OPTIONS -Dwith_sfdp=OFF"
+        - export CMAKE_OPTIONS="$CMAKE_OPTIONS -Dwith_smyrna=OFF"
+        - export CMAKE_OPTIONS="$CMAKE_OPTIONS -Dwith_zlib=OFF"
+        - echo experimental > COLLECTION
+    tags:
+        - linux
+    variables:
+      IMAGE: ubuntu-21.10
+
 ubuntu21-04-cmake-ASan-build-for-ctest:
     <<: *deb_build_definition
     needs: