2020-11-29 20:43:04 +00: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-01 07:13:05 +00:00
|
|
|
uses: vmactions/freebsd-vm@v0.1.3 # aka FreeBSD 12.2
|
2020-11-29 20:43:04 +00: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
|
|
|
|
pkg install -y gtk-layer-shell gtkmm30 jsoncpp libdbusmenu sndio \
|
|
|
|
libfmt libmpdclient libudev-devd meson pkgconf pulseaudio scdoc spdlog
|
|
|
|
run: |
|
|
|
|
meson build -Dman-pages=enabled
|
|
|
|
ninja -C build
|