2020-11-29 21:43:04 +01:00
|
|
|
name: freebsd
|
|
|
|
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
clang:
|
|
|
|
runs-on: macos-latest # until https://github.com/actions/runner/issues/385
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Test in FreeBSD VM
|
2021-07-03 00:55:59 +02:00
|
|
|
uses: vmactions/freebsd-vm@v0.1.4 # aka FreeBSD 12.2
|
2020-11-29 21:43:04 +01:00
|
|
|
with:
|
|
|
|
usesh: true
|
|
|
|
prepare: |
|
|
|
|
export CPPFLAGS=-isystem/usr/local/include LDFLAGS=-L/usr/local/lib # sndio
|
|
|
|
sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
|
|
|
pkg install -y git # subprojects/date
|
2021-09-14 09:02:38 +02:00
|
|
|
pkg install -y catch evdev-proto gtk-layer-shell gtkmm30 jsoncpp \
|
|
|
|
libdbusmenu libevdev libfmt libmpdclient libudev-devd meson \
|
|
|
|
pkgconf pulseaudio scdoc sndio spdlog
|
2020-11-29 21:43:04 +01:00
|
|
|
run: |
|
|
|
|
meson build -Dman-pages=enabled
|
|
|
|
ninja -C build
|
2021-09-14 09:02:38 +02:00
|
|
|
meson test -C build --no-rebuild --print-errorlogs --suite waybar
|