2021-02-28 04:14:02 +08:00
|
|
|
task:
|
|
|
|
name: freebsd-build
|
|
|
|
freebsd_instance:
|
2021-09-08 01:12:51 +08:00
|
|
|
matrix:
|
|
|
|
- image_family: freebsd-12-2
|
|
|
|
- image_family: freebsd-13-0
|
2021-02-28 04:14:02 +08:00
|
|
|
|
|
|
|
prepare_script:
|
2021-09-08 01:58:02 +08:00
|
|
|
- pkg install -yq git cmake pkgconf jpeg-turbo mysql80-client ffmpeg libvncserver libjwt catch p5-DBI p5-DBD-mysql p5-Date-Manip p5-Test-LWP-UserAgent p5-Sys-Mmap v4l_compat
|
2021-02-28 04:14:02 +08:00
|
|
|
|
|
|
|
configure_script:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2021-04-20 05:16:36 +08:00
|
|
|
- cmake --version
|
2021-05-01 06:12:45 +08:00
|
|
|
- cmake ../ -DBUILD_MAN=0 -DBUILD_TEST_SUITE=1 -DENABLE_WERROR=1
|
2021-02-28 04:14:02 +08:00
|
|
|
|
|
|
|
build_script:
|
|
|
|
- cd build
|
2021-04-17 18:35:35 +08:00
|
|
|
- make -j3
|
|
|
|
|
|
|
|
install_script:
|
|
|
|
- cd build
|
2021-02-28 04:14:02 +08:00
|
|
|
- make install
|
|
|
|
|
|
|
|
test_script:
|
2021-04-11 07:42:20 +08:00
|
|
|
- cd build/tests
|
|
|
|
- ./tests "~[notCI]"
|