mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
CI: Add Debian testing
This commit is contained in:
parent
d424514e24
commit
c4b85041ba
1 changed files with 20 additions and 2 deletions
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
|
|
@ -16,6 +16,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
name: [
|
name: [
|
||||||
Arch,
|
Arch,
|
||||||
|
Debian,
|
||||||
FreeBSD,
|
FreeBSD,
|
||||||
Void-musl
|
Void-musl
|
||||||
]
|
]
|
||||||
|
|
@ -26,6 +27,12 @@ jobs:
|
||||||
env:
|
env:
|
||||||
TARGET: 'sh -xe'
|
TARGET: 'sh -xe'
|
||||||
|
|
||||||
|
- name: Debian
|
||||||
|
os: ubuntu-latest
|
||||||
|
container: debian:testing
|
||||||
|
env:
|
||||||
|
TARGET: 'sh -xe'
|
||||||
|
|
||||||
- name: FreeBSD
|
- name: FreeBSD
|
||||||
os: macos-12
|
os: macos-12
|
||||||
env:
|
env:
|
||||||
|
|
@ -52,6 +59,17 @@ jobs:
|
||||||
pacman -S --noconfirm git meson clang wlroots libdrm libinput \
|
pacman -S --noconfirm git meson clang wlroots libdrm libinput \
|
||||||
wayland-protocols cairo pango libxml2 xorg-xwayland
|
wayland-protocols cairo pango libxml2 xorg-xwayland
|
||||||
|
|
||||||
|
- name: Install Debian Testing dependencies
|
||||||
|
if: matrix.name == 'Debian'
|
||||||
|
run: |
|
||||||
|
sed '/^deb/ s/^deb/deb-src/' /etc/apt/sources.list > /tmp/src
|
||||||
|
cat /tmp/src >> /etc/apt/sources.list
|
||||||
|
apt-get update
|
||||||
|
apt-get upgrade -y
|
||||||
|
apt-get install -y git clang \
|
||||||
|
libxml2-dev libcairo2-dev libpango1.0-dev
|
||||||
|
apt-get build-dep -y wlroots
|
||||||
|
|
||||||
- name: Install FreeBSD dependencies
|
- name: Install FreeBSD dependencies
|
||||||
if: matrix.name == 'FreeBSD'
|
if: matrix.name == 'FreeBSD'
|
||||||
uses: vmactions/freebsd-vm@v0
|
uses: vmactions/freebsd-vm@v0
|
||||||
|
|
@ -81,7 +99,7 @@ jobs:
|
||||||
echo '
|
echo '
|
||||||
cd "$GITHUB_WORKSPACE"
|
cd "$GITHUB_WORKSPACE"
|
||||||
export CC=gcc
|
export CC=gcc
|
||||||
meson build-gcc --werror
|
meson build-gcc -Dxwayland=enabled --werror
|
||||||
meson compile -C build-gcc
|
meson compile -C build-gcc
|
||||||
' | $TARGET
|
' | $TARGET
|
||||||
|
|
||||||
|
|
@ -90,7 +108,7 @@ jobs:
|
||||||
echo '
|
echo '
|
||||||
cd "$GITHUB_WORKSPACE"
|
cd "$GITHUB_WORKSPACE"
|
||||||
export CC=clang
|
export CC=clang
|
||||||
meson build-clang --werror
|
meson build-clang -Dxwayland=enabled --werror
|
||||||
meson compile -C build-clang
|
meson compile -C build-clang
|
||||||
' | $TARGET
|
' | $TARGET
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue