Add girlint convey plan

Mon, 18 Mar 2024 22:03:07 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 18 Mar 2024 22:03:07 -0500
changeset 42642
7b2961b2d918
parent 42641
231c935707be
child 42643
ca195ffd7206

Add girlint convey plan

This currently fails with 226 findings, but we gotta start somewhere right?

Testing Done:
Ran the plan locally.

Reviewed at https://reviews.imfreedom.org/r/3001/

convey.yaml file | annotate | diff | comparison | revisions
--- a/convey.yaml	Tue Mar 12 21:13:17 2024 -0500
+++ b/convey.yaml	Mon Mar 18 22:03:07 2024 -0500
@@ -68,6 +68,14 @@
     type: docker/export
     files: ${TARGET}:${TARGET}
 
+  girlint:
+    type: docker/run
+    image: docker.io/imfreedom/gir-tools:latest
+    script:
+      - cd ${CONVEY_WORKSPACE}
+      - xsltproc /gir-tools/girlint.xsl $(find build-${TARGET} -iname "*.gir" | grep -v subproject) | tee ${CONVEY_WORKSPACE}/log
+      - exit $(wc -l < ${CONVEY_WORKSPACE}/log)
+
 plans:
   alpine-edge-amd64:
     environment: [TARGET=alpine-edge-amd64]
@@ -123,6 +131,11 @@
       - tasks: [export]
         run: always
 
+  girlint:
+    environment: [TARGET=debian-trixie-amd64]
+    stages:
+      - tasks: [import, build, girlint]
+
   scanbuild:
     environment: [TARGET=scanbuild]
     stages:

mercurial