]> granicus.if.org Git - graphviz/commitdiff
Add generation of compile configuration table to CI
authorMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sun, 7 Jun 2020 18:34:14 +0000 (20:34 +0200)
committerMagnus Jacobsson <Magnus.Jacobsson@berotec.se>
Sat, 13 Jun 2020 06:16:54 +0000 (08:16 +0200)
New meta-data job added to test stage

.gitlab-ci.yml

index f652b32ecc809077420897b89e83a25a14c9f18e..c14acc2b640e503df82f83d6d3a18246900f7a15 100644 (file)
@@ -32,6 +32,7 @@ portable-source:
         paths:
             - Packages/*/*/*/*/*/*.rpm
             - Packages/*/*/*/*/*.rpm
+            - Metadata/*/*/*/configure.log
     except:
         - tags
 
@@ -45,6 +46,7 @@ portable-source:
         paths:
             - Packages/*/*/*/*/*/*deb
             - Packages/*/*/*/*/*.gz
+            - Metadata/*/*/*/configure.log
     except:
         - tags
 
@@ -132,6 +134,18 @@ ubuntu20-04-build:
         - linux
     image: "graphviz/graphviz:ubuntu-20.04"
 
+meta-data:
+    stage: test
+    script:
+        - CONFIGURE_LOGS=Metadata/*/*/*/configure.log
+        - ci/generate-configuration-table.py --output-format html ${CONFIGURE_LOGS} > configuration-long-no-color.html
+        - ci/generate-configuration-table.py --output-format html --short ${CONFIGURE_LOGS} > configuration-short-no-color.html
+        - ci/generate-configuration-table.py --output-format html --short --color ${CONFIGURE_LOGS} > configuration-short-color-green-red.html
+        - ci/generate-configuration-table.py --output-format html --short --colors black:red ${CONFIGURE_LOGS} > configuration-short-color-red-only.html
+    artifacts:
+        paths:
+            - configuration-*.html
+
 ubuntu18-04-test:
     <<: *test_definition
     needs: