2021-02-27 20:14:02 +00:00
|
|
|
task:
|
|
|
|
name: freebsd-build
|
|
|
|
freebsd_instance:
|
2021-09-07 17:12:51 +00:00
|
|
|
matrix:
|
2024-04-05 21:34:01 +00:00
|
|
|
- image_family: freebsd-14-0
|
2024-07-10 20:33:34 +00:00
|
|
|
- image_family: freebsd-13-3
|
2021-02-27 20:14:02 +00:00
|
|
|
|
|
|
|
prepare_script:
|
2024-09-18 13:49:47 +00:00
|
|
|
- pkg install -yq git cmake pkgconf jpeg-turbo mysql80-client ffmpeg libvncserver libjwt catch2 p5-DBI p5-DBD-mysql p5-Date-Manip p5-Test-LWP-UserAgent p5-Sys-Mmap v4l_compat
|
2022-02-27 19:05:14 +00:00
|
|
|
|
2021-02-27 20:14:02 +00:00
|
|
|
configure_script:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2021-04-19 21:16:36 +00:00
|
|
|
- cmake --version
|
2021-09-07 17:22:47 +00:00
|
|
|
- cmake ../ -DBUILD_MAN=0 -DBUILD_TEST_SUITE=1 -DENABLE_WERROR=1 -DCMAKE_C_FLAGS="-Wno-deprecated-declarations" -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations"
|
2021-02-27 20:14:02 +00:00
|
|
|
|
|
|
|
build_script:
|
|
|
|
- cd build
|
|
|
|
- make -j3
|
2021-04-17 10:35:35 +00:00
|
|
|
|
|
|
|
install_script:
|
|
|
|
- cd build
|
2021-02-27 20:14:02 +00:00
|
|
|
- make install
|
|
|
|
|
|
|
|
test_script:
|
2021-04-10 23:42:20 +00:00
|
|
|
- cd build/tests
|
|
|
|
- ./tests "~[notCI]"
|