Skip to content

Commit efab1da

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

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

.github/workflows/freebsd.yml

+19-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,21 @@ 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+
with:
17+
operating_system: freebsd
18+
version: "13.2"
19+
environment_variables: CPPFLAGS=-isystem/usr/local/include LDFLAGS=-L/usr/local/lib
20+
run: |
21+
sudo sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
22+
sudo pkg install -y git # subprojects/date
23+
sudo 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+
meson build -Dman-pages=enabled
28+
ninja -C build
29+
meson test -C build --no-rebuild --print-errorlogs --suite waybar

0 commit comments

Comments
 (0)