ci: run unit-tests

pull/1243/head
Aleksei Bavshin 2021-09-14 14:02:38 +07:00
parent d7d606b721
commit 5991bbb741
No known key found for this signature in database
GPG Key ID: 4F071603387A382A
2 changed files with 6 additions and 3 deletions

View File

@ -15,9 +15,10 @@ jobs:
export CPPFLAGS=-isystem/usr/local/include LDFLAGS=-L/usr/local/lib # sndio export CPPFLAGS=-isystem/usr/local/include LDFLAGS=-L/usr/local/lib # sndio
sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
pkg install -y git # subprojects/date pkg install -y git # subprojects/date
pkg install -y evdev-proto gtk-layer-shell gtkmm30 jsoncpp libdbusmenu \ pkg install -y catch evdev-proto gtk-layer-shell gtkmm30 jsoncpp \
libevdev libfmt libmpdclient libudev-devd meson pkgconf pulseaudio \ libdbusmenu libevdev libfmt libmpdclient libudev-devd meson \
scdoc sndio spdlog pkgconf pulseaudio scdoc sndio spdlog
run: | run: |
meson build -Dman-pages=enabled meson build -Dman-pages=enabled
ninja -C build ninja -C build
meson test -C build --no-rebuild --print-errorlogs --suite waybar

View File

@ -23,3 +23,5 @@ jobs:
run: meson -Dman-pages=enabled build run: meson -Dman-pages=enabled build
- name: build - name: build
run: ninja -C build run: ninja -C build
- name: test
run: meson test -C build --no-rebuild --print-errorlogs --suite waybar