mirror of
https://github.com/labwc/labwc.git
synced 2025-10-31 22:25:34 -04:00
CI: Split jobs
This commit is contained in:
parent
7f42dc921c
commit
d405a2b3c6
1 changed files with 20 additions and 8 deletions
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
|
|
@ -24,18 +24,18 @@ jobs:
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
container: archlinux:base-devel
|
container: archlinux:base-devel
|
||||||
env:
|
env:
|
||||||
SSH_HOST: ''
|
TARGET: 'sh -xe'
|
||||||
|
|
||||||
- name: FreeBSD
|
- name: FreeBSD
|
||||||
os: macos-12
|
os: macos-12
|
||||||
env:
|
env:
|
||||||
SSH_HOST: freebsd
|
TARGET: 'ssh freebsd /bin/sh -xe'
|
||||||
|
|
||||||
- name: Void-musl
|
- name: Void-musl
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
container: ghcr.io/void-linux/void-linux:latest-thin-x86_64-musl
|
container: ghcr.io/void-linux/void-linux:latest-thin-x86_64-musl
|
||||||
env:
|
env:
|
||||||
SSH_HOST: ''
|
TARGET: 'sh -xe'
|
||||||
|
|
||||||
env: ${{ matrix.env }}
|
env: ${{ matrix.env }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
@ -78,24 +78,36 @@ jobs:
|
||||||
|
|
||||||
- name: Build with gcc
|
- name: Build with gcc
|
||||||
run: |
|
run: |
|
||||||
test -n "$SSH_HOST" && TARGET="ssh $SSH_HOST /bin/sh" || TARGET=sh
|
|
||||||
echo '
|
echo '
|
||||||
cd "$GITHUB_WORKSPACE"
|
cd "$GITHUB_WORKSPACE"
|
||||||
export CC=gcc
|
export CC=gcc
|
||||||
meson build-gcc --werror
|
meson build-gcc --werror
|
||||||
meson build-gcc-no-xwayland -Dxwayland=disabled --werror
|
|
||||||
meson compile -C build-gcc
|
meson compile -C build-gcc
|
||||||
meson compile -C build-gcc-no-xwayland
|
|
||||||
' | $TARGET
|
' | $TARGET
|
||||||
|
|
||||||
- name: Build with clang
|
- name: Build with clang
|
||||||
run: |
|
run: |
|
||||||
test -n "$SSH_HOST" && TARGET="ssh $SSH_HOST /bin/sh" || TARGET=sh
|
|
||||||
echo '
|
echo '
|
||||||
cd "$GITHUB_WORKSPACE"
|
cd "$GITHUB_WORKSPACE"
|
||||||
export CC=clang
|
export CC=clang
|
||||||
meson build-clang --werror
|
meson build-clang --werror
|
||||||
meson build-clang-no-xwayland -Dxwayland=disabled --werror
|
|
||||||
meson compile -C build-clang
|
meson compile -C build-clang
|
||||||
|
' | $TARGET
|
||||||
|
|
||||||
|
- name: Build with gcc no-xwayland
|
||||||
|
run: |
|
||||||
|
echo '
|
||||||
|
cd "$GITHUB_WORKSPACE"
|
||||||
|
export CC=gcc
|
||||||
|
meson build-gcc-no-xwayland -Dxwayland=disabled --werror
|
||||||
|
meson compile -C build-gcc-no-xwayland
|
||||||
|
' | $TARGET
|
||||||
|
|
||||||
|
- name: Build with clang no-xwayland
|
||||||
|
run: |
|
||||||
|
echo '
|
||||||
|
cd "$GITHUB_WORKSPACE"
|
||||||
|
export CC=clang
|
||||||
|
meson build-clang-no-xwayland -Dxwayland=disabled --werror
|
||||||
meson compile -C build-clang-no-xwayland
|
meson compile -C build-clang-no-xwayland
|
||||||
' | $TARGET
|
' | $TARGET
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue