babeltrace: check header include guards in lint job master
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 24 May 2024 16:14:39 +0000 (12:14 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 24 May 2024 16:15:56 +0000 (12:15 -0400)
Change-Id: Ia39a497ca392abf10dd390c7f43a4c7dd4ed2e30
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
jobs/babeltrace.yaml
scripts/babeltrace/lint.sh

index e2806277c20828691fba1232295d52192f231e9d..1bca69cb20aeca549d38f238c599ea762170ff5f 100644 (file)
 
     publishers:
       - archive:
-          artifacts: 'black.out,flake8.out,isort.out,clang-format.out,shellcheck.out'
+          artifacts: 'black.out,flake8.out,isort.out,clang-format.out,shellcheck.out,check-include-guards.out'
           allow-empty: false
       - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults
 
     publishers:
       - workspace-cleanup: *babeltrace_publisher_workspace-cleanup_defaults
       - archive:
-          artifacts: 'black.out,flake8.out,isort.out,clang-format.out,shellcheck.out'
+          artifacts: 'black.out,flake8.out,isort.out,clang-format.out,shellcheck.out,check-include-guards.out'
           allow-empty: false
       - ircbot: *babeltrace_publisher_ircbot_defaults
       - email-ext: *babeltrace_publisher_email-ext_defaults
index e17799012f0686e8fe1753d246defc306b935577..a535a81874f17599a83d5e5cd51e2aec18cbd689 100755 (executable)
@@ -69,4 +69,8 @@ if [[ -f tools/shellcheck.sh ]]; then
     tools/shellcheck.sh | tee ../../shellcheck.out || exit_code=1
 fi
 
+if [[ -f tools/check-include-guards.sh ]]; then
+    tools/check-include-guards.sh | tee ../../check-include-guards.out || exit_code=1
+fi
+
 exit $exit_code
This page took 0.024963 seconds and 4 git commands to generate.