chore: switch freebsd action
parent
9a305b2d73
commit
efab1daa7e
|
@ -11,20 +11,19 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Test in FreeBSD VM
|
- name: Test in FreeBSD VM
|
||||||
uses: vmactions/freebsd-vm@v0
|
uses: cross-platform-actions/action@v0.19.1
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
with:
|
with:
|
||||||
mem: 2048
|
operating_system: freebsd
|
||||||
usesh: true
|
version: "13.2"
|
||||||
prepare: |
|
environment_variables: CPPFLAGS=-isystem/usr/local/include LDFLAGS=-L/usr/local/lib
|
||||||
export CPPFLAGS=-isystem/usr/local/include LDFLAGS=-L/usr/local/lib # sndio
|
run: |
|
||||||
sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
sudo sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
||||||
pkg install -y git # subprojects/date
|
sudo pkg install -y git # subprojects/date
|
||||||
pkg install -y catch evdev-proto gtk-layer-shell gtkmm30 jsoncpp \
|
sudo pkg install -y catch evdev-proto gtk-layer-shell gtkmm30 jsoncpp \
|
||||||
libdbusmenu libevdev libfmt libmpdclient libudev-devd meson \
|
libdbusmenu libevdev libfmt libmpdclient libudev-devd meson \
|
||||||
pkgconf pulseaudio scdoc sndio spdlog wayland-protocols upower \
|
pkgconf pulseaudio scdoc sndio spdlog wayland-protocols upower \
|
||||||
libinotify
|
libinotify
|
||||||
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
|
meson test -C build --no-rebuild --print-errorlogs --suite waybar
|
||||||
|
|
Loading…
Reference in New Issue