use meson in cirrus ci

This commit is contained in:
William Hubbs 2021-12-30 18:37:19 -06:00
parent 21d81ea5a9
commit ffa2e06043
2 changed files with 4 additions and 4 deletions

View File

@ -11,6 +11,6 @@ test_task:
OS: FreeBSD OS: FreeBSD
procfs_script: > procfs_script: >
[ -f /proc/curproc ] || mount -t procfs proc /proc [ -f /proc/curproc ] || mount -t procfs proc /proc
pkg_install_script: pkg install -y bash gawk gmake gsed pkg_install_script: pkg install -y bash gawk gsed meson
gsed_hack_script: rm /usr/bin/sed && ln -s /usr/local/bin/gsed /usr/bin/sed gsed_hack_script: rm /usr/bin/sed && ln -s /usr/local/bin/gsed /usr/bin/sed
test_script: bash ci/cirrus.sh test_script: bash ci/cirrus.sh

View File

@ -16,6 +16,6 @@ set -x
# These are steps to run on Cirrus CI under a jailed FreeBSD system. # These are steps to run on Cirrus CI under a jailed FreeBSD system.
# See $TOP/.cirrus.yml for more info about the Cirrus CI setup. # See $TOP/.cirrus.yml for more info about the Cirrus CI setup.
cpus=$(getconf NPROCESSORS_CONF || echo 1) meson build
gmake -j"${cpus}" -O meson compile -C build
gmake test # gmake test