commit - d24ddaa6a9de118f70658f7fd917c37cc787b425
commit + c0ec9f52ab701cae25bc952225bb5e21c2a0ab16
blob - b0c747371a4bc9c1e07365570782c7da544ea05f
blob + 269100a5844a665cf32d5d5b125834e66f260cfe
--- .cirrus.yml
+++ .cirrus.yml
image_family: freebsd-13-0
before_build_script: .github/ci/before-install.sh
build:script: .github/ci/build.sh
+
+got_macos_task:
+ macos_instance:
+ image: monterey-xcode
+ before_build_script: .github/ci/before-install.sh
+ build:script: .github/ci/build.sh
blob - c7a54fef45741420dba98426a89cfdbd6606465c
blob + 5a1188d24d06e95fa2a8afc67be7359b7fdfb6f1
--- .github/ci/before-install.sh
+++ .github/ci/before-install.sh
automake \
pkgconf
fi
+
+if [ "$CIRRUS_OS" = "darwin" ]; then
+ brew install autoconf \
+ automake \
+ bison \
+ pkg-config \
+ ncurses \
+ openssl \
+ ossp-uuid
+fi
blob - 2c026400fa305c2d7a53ed4fd25940514b9762f7
blob + 178dd8ad8004de8363dd292f6a28d820a253e0ff
--- .github/ci/build.sh
+++ .github/ci/build.sh
#!/bin/sh
+[ "$CIRRUS_OS" = "darwin" ] && {
+ export PATH="/usr/local/opt/bison/bin:$PATH"
+ export LDFLAGS="-L/usr/local/opt/ncurses/lib -L/usr/local/opt/openssl@3/lib"
+ export CPPFLAGS="-I/usr/local/opt/ncurses/include -I/usr/local/opt/openssl@3/include"
+ export PKG_CONFIG_PATH="/usr/local/opt/ncurses/lib/pkgconfig"
+ export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/openssl@3/lib/pkgconfig"
+}
+
./autogen.sh || exit 1
./configure || exit 1
exec make