From 336d2272ca90a6c50cdc8886decc2492ca815ac6 Mon Sep 17 00:00:00 2001 From: Slaven Rezic Date: Sun, 5 Nov 2023 17:12:13 +0100 Subject: [PATCH] FreeBSD testing: set DISPLAY (needs another shell) + kill Xvfb at the end Also use FreeBSD 12 instead of 13, because the latter has known problems. --- .github/workflows/test-freebsd.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-freebsd.yml b/.github/workflows/test-freebsd.yml index 59e629f3..cf0dfde3 100644 --- a/.github/workflows/test-freebsd.yml +++ b/.github/workflows/test-freebsd.yml @@ -15,11 +15,14 @@ jobs: - uses: cross-platform-actions/action@v0.21.1 with: operating_system: freebsd - version: '13.2' + version: '12.4' + shell: sh run: | sudo pkg update sudo pkg install -y perl5 libX11 libXft png freetype2 fontconfig jpeg-turbo xorg-vfbserver - Xvfb :123 & + nohup Xvfb :123 > /dev/null 2>&1 & + export DISPLAY=:123 perl Makefile.PL make make test + pkill Xvfb