CI on FreeBSD #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI on FreeBSD | |
on: | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Test on FreeBSD | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
clean: false | |
show-progress: false | |
- uses: cross-platform-actions/action@v0.21.1 | |
with: | |
operating_system: freebsd | |
version: '12.4' | |
shell: sh | |
run: | | |
sudo pkg update | |
sudo pkg install -y perl5 libX11 libXft png freetype2 fontconfig jpeg-turbo xorg-vfbserver llvm13 | |
cc --version | |
nohup Xvfb :123 > /dev/null 2>&1 & | |
export DISPLAY=:123 | |
perl Makefile.PL | |
make | |
make test | |
pkill Xvfb |