Skip to content

Commit 981c129

Browse files
committed
chore: switch freebsd action
1 parent 9a305b2 commit 981c129

File tree

1 file changed

+21
-20
lines changed

1 file changed

+21
-20
lines changed

.github/workflows/freebsd.yml

+21-20
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: freebsd
22

3-
on: [ push, pull_request ]
3+
on: [push, pull_request]
44

55
jobs:
66
clang:
@@ -9,22 +9,23 @@ jobs:
99
# https://github.com/actions/virtual-environments/issues/4060 - for lack of VirtualBox on MacOS 11 runners
1010
runs-on: macos-12
1111
steps:
12-
- uses: actions/checkout@v3
13-
- name: Test in FreeBSD VM
14-
uses: vmactions/freebsd-vm@v0
15-
timeout-minutes: 30
16-
with:
17-
mem: 2048
18-
usesh: true
19-
prepare: |
20-
export CPPFLAGS=-isystem/usr/local/include LDFLAGS=-L/usr/local/lib # sndio
21-
sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
22-
pkg install -y git # subprojects/date
23-
pkg install -y catch evdev-proto gtk-layer-shell gtkmm30 jsoncpp \
24-
libdbusmenu libevdev libfmt libmpdclient libudev-devd meson \
25-
pkgconf pulseaudio scdoc sndio spdlog wayland-protocols upower \
26-
libinotify
27-
run: |
28-
meson build -Dman-pages=enabled
29-
ninja -C build
30-
meson test -C build --no-rebuild --print-errorlogs --suite waybar
12+
- uses: actions/checkout@v3
13+
- name: Test in FreeBSD VM
14+
uses: cross-platform-actions/action@v0.19.1
15+
timeout-minutes: 30
16+
env:
17+
CPPFLAGS: -isystem/usr/local/include
18+
LDFLAGS: -L/usr/local/lib
19+
with:
20+
operating_system: freebsd
21+
version: "13.2"
22+
run: |
23+
sudo sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
24+
sudo pkg install -y git # subprojects/date
25+
sudo pkg install -y catch evdev-proto gtk-layer-shell gtkmm30 jsoncpp \
26+
libdbusmenu libevdev libfmt libmpdclient libudev-devd meson \
27+
pkgconf pulseaudio scdoc sndio spdlog wayland-protocols upower \
28+
libinotify
29+
meson build -Dman-pages=enabled
30+
ninja -C build
31+
meson test -C build --no-rebuild --print-errorlogs --suite waybar

0 commit comments

Comments
 (0)