mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
CI: switch runtime tests to Arch to reduce total runtime
This commit is contained in:
parent
af3054394e
commit
b0fb81c77b
1 changed files with 13 additions and 11 deletions
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue