]> granicus.if.org Git - graphviz/commitdiff
CI: add ubuntu-20.04-cmake-build job
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Wed, 28 Sep 2022 12:02:38 +0000 (14:02 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Thu, 29 Sep 2022 12:49:51 +0000 (14:49 +0200)
.gitlab-ci.yml

index 437a6977beaf3b5534a7360fe476ad613248bbf5..871f50a79515b54e5abf65697e5b1b1c3feed4d8 100644 (file)
@@ -678,6 +678,22 @@ ubuntu-18.04-cmake-build:
     variables:
       IMAGE: ubuntu-18.04
 
+ubuntu-20.04-cmake-build:
+    <<: *deb_build_definition
+    needs:
+        - job: docker_build_ubuntu-20.04
+          artifacts: false
+    before_script:
+        - export build_system="cmake"
+        # fail on any compiler warnings
+        - export CFLAGS=-Werror
+        - export CXXFLAGS=-Werror
+        - export CMAKE_OPTIONS="-Dwith_smyrna=ON"
+    tags:
+        - linux
+    variables:
+      IMAGE: ubuntu-20.04
+
 ubuntu-22.04-cmake-build:
     <<: *deb_build_definition
     needs: