]> git.mdlowis.com Git - proto/labwc.git/commitdiff
CI: add non-feature (svg, libsfdo, xwayland) build for arch
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 31 Dec 2024 00:12:23 +0000 (01:12 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Tue, 31 Dec 2024 16:40:19 +0000 (16:40 +0000)
.github/workflows/build.yml

index 8fe9bff617233090951403a3758d6974d365b80e..81a1da041e0a7d028a8229d4dea87e13d2a474a5 100644 (file)
@@ -71,7 +71,7 @@ jobs:
           pacman -Syu --noconfirm
           pacman -S --noconfirm git meson clang wlroots libdrm libinput \
             wayland-protocols cairo pango libxml2 xorg-xwayland librsvg \
-            libdisplay-info gdb ttf-dejavu foot
+            libdisplay-info gdb ttf-dejavu foot libsfdo
 
       - name: Install Debian Testing dependencies
         if: matrix.name == 'Debian'
@@ -181,8 +181,19 @@ jobs:
             meson compile -C build-clang-release
           ' | $TARGET
 
-      # Runtime tests, these run on Arch and Void only (the later due to libmusl being used)
+      # Non-feature build, run on Arch only
+      - name: Build with gcc - no-feature test
+        if: matrix.name == 'Arch'
+        run: |
+          echo '
+            cd "$GITHUB_WORKSPACE"
+            export CC=gcc
+            meson setup build-gcc-no-feature -Dxwayland=disabled \
+              -Dicon=disabled -Dsvg=disabled --werror
+            meson compile -C build-gcc-no-feature
+          ' | $TARGET
 
+      # Runtime tests, these run on Arch and Void only (the later due to libmusl being used)
       - name: Build with gcc - runtime test
         if: matrix.name == 'Arch'
         run: |