2022-12-25 03:58:00 -05:00
|
|
|
# We use Cirrus CI to test on FreeBSD.
|
|
|
|
# For GNU/Linux CI see GitHub Actions.
|
|
|
|
|
|
|
|
freebsd_instance:
|
|
|
|
image_family: freebsd-13-1
|
|
|
|
|
|
|
|
main_freebsd_task:
|
|
|
|
name: Main (FreeBSD)
|
|
|
|
only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BASE_BRANCH == 'master'
|
|
|
|
dependencies_script:
|
2022-12-25 04:12:53 -05:00
|
|
|
- pkg install --yes autoconf automake cppcheck libtool
|
2022-12-25 03:58:00 -05:00
|
|
|
main_build_script:
|
|
|
|
- ./autogen.sh
|
2022-12-25 04:04:30 -05:00
|
|
|
- ./configure --enable-checks-all CFLAGS='-O3'
|
2022-12-25 03:58:00 -05:00
|
|
|
- make
|
|
|
|
- sudo make install
|
|
|
|
main_test_script:
|
|
|
|
- make check
|