Skip to content

Commit

Permalink
FreeBSD testing: set DISPLAY (needs another shell) + kill Xvfb at the…
Browse files Browse the repository at this point in the history
… end

Also use FreeBSD 12 instead of 13, because the latter has known problems.
  • Loading branch information
eserte committed Nov 5, 2023
1 parent f0bb386 commit 336d227
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test-freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
- uses: cross-platform-actions/[email protected]
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

0 comments on commit 336d227

Please sign in to comment.