Files
libtorrent/.cirrus.yml

22 lines
956 B
YAML
Raw Permalink Normal View History

2020-08-19 13:40:23 +02:00
freebsd_instance:
2021-01-09 21:43:04 +01:00
image_family: freebsd-12-1
2020-08-19 13:40:23 +02:00
task:
install_script: |
2021-02-09 23:28:17 +01:00
IGNORE_OSVERSION=yes pkg update
2021-01-09 21:43:04 +01:00
pkg install -U -y git boost_build boost-libs unzip wget openssl cmake ninja
2020-08-19 13:40:23 +02:00
echo "using clang ;" > ~/user-config.jam
submodules_script: |
git submodule update --init --recursive
2020-08-22 23:53:11 +02:00
build_cmake_script: |
2020-09-03 13:52:55 +02:00
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Werror" -DCMAKE_CXX_STANDARD=14 -Dbuild_tests=ON -Dbuild_examples=ON -Dbuild_tools=ON -Dpython-bindings=OFF -G Ninja .
2020-08-22 23:53:11 +02:00
cmake --build . --parallel 2
2020-09-03 13:52:55 +02:00
./test/test_primitives
2020-08-19 13:40:23 +02:00
tests_script: |
cd test
2021-01-09 21:43:04 +01:00
b2 -l250 warnings-as-errors=on warnings=all crypto=openssl deterministic-tests include=/usr/local/include library-path=/usr/local/lib
2020-08-21 22:25:50 +02:00
enum_if_script: |
cd test
2021-01-09 21:43:04 +01:00
b2 -l250 warnings-as-errors=on warnings=all crypto=openssl stage_enum_if stage_dependencies include=/usr/local/include library-path=/usr/local/lib
2020-08-21 22:25:50 +02:00
LD_LIBRARY_PATH=./dependencies ./enum_if