]> git.mdlowis.com Git - proto/labwc.git/commitdiff
CI: switch runtime tests to Arch to reduce total runtime
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 26 Nov 2024 05:02:29 +0000 (06:02 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 26 Nov 2024 05:12:46 +0000 (06:12 +0100)
.github/workflows/build.yml

index 2cc66e3e8d94421ef9ca181b8029a71e118bb5a0..aaad886497d168d02aae983d5547b2fdfcec164d 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
+            libdisplay-info gdb ttf-dejavu
 
       - name: Install Debian Testing dependencies
         if: matrix.name == 'Debian'
@@ -178,10 +178,10 @@ jobs:
             meson compile -C build-clang-release
           ' | $TARGET
 
-      # Runtime tests, these run on Debian and Void only (the later due to libmusl being used)
+      # 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 == 'Debian'
+        if: matrix.name == 'Arch'
         run: |
           echo '
             cd "$GITHUB_WORKSPACE"
@@ -192,7 +192,7 @@ jobs:
           ' | $TARGET
 
       - name: Build with clang - runtime test
-        if: matrix.name == 'Debian'
+        if: matrix.name == 'Arch'
         run: |
           echo '
             cd "$GITHUB_WORKSPACE"
@@ -203,23 +203,25 @@ jobs:
           ' | $TARGET
 
       - name: Build with gcc - runtime leak test
-        if: matrix.name == 'Debian'
+        if: matrix.name == 'Arch'
         run: |
           echo '
             cd "$GITHUB_WORKSPACE"
             export CC=gcc
-            meson setup build-gcc-leak -Dxwayland=enabled -Db_sanitize=address,undefined --werror
+            meson setup build-gcc-leak -Dxwayland=enabled -Db_sanitize=address,undefined \
+              --werror --force-fallback-for=wlroots
             meson compile -C build-gcc-leak
             LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-gcc-leak
           ' | $TARGET
 
       - name: Build with clang - runtime leak test
-        if: matrix.name == 'Debian'
+        if: matrix.name == 'Arch'
         run: |
           echo '
             cd "$GITHUB_WORKSPACE"
             export CC=clang
-            meson setup build-clang-leak -Dxwayland=enabled -Db_sanitize=address,undefined --werror
+            meson setup build-clang-leak -Dxwayland=enabled -Db_sanitize=address,undefined \
+              --werror --force-fallback-for=wlroots
             meson compile -C build-clang-leak
             LABWC_LEAK_TEST=1 scripts/ci/smoke-test.sh build-clang-leak
           ' | $TARGET
@@ -231,7 +233,7 @@ jobs:
           echo '
             cd "$GITHUB_WORKSPACE"
             export CC=gcc
-            meson setup build-gcc-ci -Dxwayland=enabled --werror
-            meson compile -C build-gcc-ci
-            LABWC_RUNS=20 scripts/ci/smoke-test.sh build-gcc-ci
+            meson setup build-gcc-gdb -Dxwayland=enabled --werror
+            meson compile -C build-gcc-gdb
+            LABWC_RUNS=20 scripts/ci/smoke-test.sh build-gcc-gdb
           ' | $TARGET