2021-02-28 04:14:02 +08:00
|
|
|
task:
|
|
|
|
name: freebsd-build
|
|
|
|
freebsd_instance:
|
|
|
|
image_family: freebsd-12-2
|
|
|
|
|
|
|
|
prepare_script:
|
|
|
|
- pkg install -yq git cmake jpeg-turbo mysql80-client ffmpeg libvncserver libjwt catch p5-DBI p5-DBD-mysql p5-Date-Manip p5-Test-LWP-UserAgent p5-Sys-Mmap
|
|
|
|
|
|
|
|
configure_script:
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake ../ -DBUILD_MAN=0 -DBUILD_TEST_SUITE=1
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- cd build
|
2021-04-12 05:00:39 +08:00
|
|
|
- make -j3 | grep --line-buffered -Ev '^(cp lib\/|Installing.+\.pm|-- Installing:)' && (exit ${PIPESTATUS[0]})
|
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]"
|