]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
github: call checklibdoc and checkxalloc
authorKarel Zak <kzak@redhat.com>
Thu, 2 Mar 2023 13:33:18 +0000 (14:33 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 2 Mar 2023 13:33:18 +0000 (14:33 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
.github/workflows/cibuild.sh
.github/workflows/cibuild.yml

index 76bfbf2d57cf10a6c8f668c426cfb5aa4e907f2d..1e59a055b60ffcfe0e7dd8347b7c027ae95ae87d 100755 (executable)
@@ -123,6 +123,10 @@ for phase in "${PHASES[@]}"; do
     MESONBUILD)
         ninja -C build
         ;;
+    CODECHECK)
+       make checklibdoc
+       make checkxalloc
+       ;;
     CHECK)
         if [[ "$SANITIZE" == "yes" ]]; then
             # All the following black magic is to make test/eject/umount work, since
index 3df2ca8b051e6fe9b0abf9c15d633d542891329f..8cfa6e0c6dd0325ec85e593308bae398f71f9264 100644 (file)
@@ -34,8 +34,12 @@ jobs:
         uses: actions/checkout@v1
       - name: Ubuntu setup
         run: sudo -E .github/workflows/cibuild-setup-ubuntu.sh
+      - name: Configure
+        run: .github/workflows/cibuild.sh CONFIGURE
+      - name: Code checks
+        run: .github/workflows/cibuild.sh CODECHECK
       - name: Configure & Make
-        run: .github/workflows/cibuild.sh CONFIGURE MAKE
+        run: .github/workflows/cibuild.sh MAKE
       - name: Check
         run: sudo -E .github/workflows/cibuild.sh CHECK
       - name: Make install