Skip to content

Commit

Permalink
CI: Build test on FreeBSD via Cirrus-CI
Browse files Browse the repository at this point in the history
Cirrus-CI is a hosted CI service that supports Linux, FreeBSD, Windows,
and macOS.  Add a Cirrus-CI config to start build testing on FreeBSD.
  • Loading branch information
emaste committed Feb 4, 2024
1 parent b319078 commit 7b41fa2
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
freebsd_instance:
image_family: freebsd-14-0

task:
name: "Build"
install_script: >
pkg install -y cmake ninja pkgconf
graphics/png graphics/webp graphics/tiff graphics/libheif graphics/libavif
graphics/libimagequant print/freetype2 x11/libXpm x11-fonts/fontconfig
print/libraqm
script: |
mkdir build
cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Debug \
-DENABLE_PNG=1 -DENABLE_FREETYPE=1 -DENABLE_JPEG=1 -DENABLE_WEBP=1 \
-DENABLE_TIFF=1 -DENABLE_XPM=1 -DENABLE_GD_FORMATS=1 -DENABLE_HEIF=1 \
-DENABLE_RAQM=1 -DENABLE_AVIF=1 -DBUILD_TEST=1
ninja

0 comments on commit 7b41fa2

Please sign in to comment.