Skip to content

Commit c963046

Browse files
committed
Add freebsd runner
1 parent 1827713 commit c963046

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/main.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,38 @@ jobs:
6767
container:
6868
image: ghcr.io/dunst-project/docker-images:${{ matrix.distro }}
6969

70+
71+
freebsd:
72+
runs-on: ubuntu-latest
73+
74+
env:
75+
CC: gcc
76+
EXTRA_CFLAGS: "-Werror"
77+
78+
steps:
79+
- uses: actions/checkout@v4
80+
- name: Test in FreeBSD
81+
uses: vmactions/freebsd-vm@v1
82+
with:
83+
envs: "CC EXTRA_CFLAGS"
84+
usesh: true
85+
sync: rsync
86+
87+
prepare: |
88+
pkg install -y x11-toolkits/pango devel/glib20 graphics/gdk-pixbuf2 graphics/cairo graphics/wayland devel/libnotify devel/dbus x11/libXScrnSaver x11/libXrandr x11/libXext x11/libX11 lang/perl5.36 devel/pkgconf devel/gmake devel/evdev-proto
89+
90+
run: |
91+
pwd
92+
ls -lah
93+
whoami
94+
env
95+
freebsd-version
96+
sysctl hw.model
97+
sysctl hw.ncpu
98+
sysctl hw.physmem
99+
sysctl hw.usermem
100+
find / -name 'CHANGELOG.md'
101+
70102
coverage:
71103
needs: build
72104
env:

0 commit comments

Comments
 (0)