mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
CI: Additionally build without xwayland
This commit is contained in:
parent
7c6c018f43
commit
7f42dc921c
1 changed files with 16 additions and 22 deletions
38
.github/workflows/build.yml
vendored
38
.github/workflows/build.yml
vendored
|
|
@ -78,30 +78,24 @@ jobs:
|
||||||
|
|
||||||
- name: Build with gcc
|
- name: Build with gcc
|
||||||
run: |
|
run: |
|
||||||
if test -z "$SSH_HOST"; then
|
test -n "$SSH_HOST" && TARGET="ssh $SSH_HOST /bin/sh" || TARGET=sh
|
||||||
|
echo '
|
||||||
|
cd "$GITHUB_WORKSPACE"
|
||||||
export CC=gcc
|
export CC=gcc
|
||||||
meson build-gcc/ --werror
|
meson build-gcc --werror
|
||||||
meson compile -C build-gcc/
|
meson build-gcc-no-xwayland -Dxwayland=disabled --werror
|
||||||
else
|
meson compile -C build-gcc
|
||||||
echo '
|
meson compile -C build-gcc-no-xwayland
|
||||||
cd "$GITHUB_WORKSPACE"
|
' | $TARGET
|
||||||
export CC=gcc
|
|
||||||
meson build-gcc/ --werror
|
|
||||||
meson compile -C build-gcc/
|
|
||||||
' | ssh "$SSH_HOST" /bin/sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Build with clang
|
- name: Build with clang
|
||||||
run: |
|
run: |
|
||||||
if test -z "$SSH_HOST"; then
|
test -n "$SSH_HOST" && TARGET="ssh $SSH_HOST /bin/sh" || TARGET=sh
|
||||||
|
echo '
|
||||||
|
cd "$GITHUB_WORKSPACE"
|
||||||
export CC=clang
|
export CC=clang
|
||||||
meson build-clang/ --werror
|
meson build-clang --werror
|
||||||
meson compile -C build-clang/
|
meson build-clang-no-xwayland -Dxwayland=disabled --werror
|
||||||
else
|
meson compile -C build-clang
|
||||||
echo '
|
meson compile -C build-clang-no-xwayland
|
||||||
cd "$GITHUB_WORKSPACE"
|
' | $TARGET
|
||||||
export CC=clang
|
|
||||||
meson build-clang/ --werror
|
|
||||||
meson compile -C build-clang/
|
|
||||||
' | ssh "$SSH_HOST" /bin/sh
|
|
||||||
fi
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue