forked from arvidn/libtorrent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
30 lines (29 loc) · 1.32 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
freebsd_instance:
image_family: freebsd-12-1
task:
install_script: |
pkg update
pkg install -U -y git boost-jam boost-libs unzip wget openssl cmake ninja
wget "https://github.com/boostorg/build/archive/develop.zip"
unzip develop.zip
git clone --depth=1 --single-branch --branch boost-1.74.0 https://github.com/boostorg/build.git
cd build-develop
./bootstrap.sh
echo "using clang ;" > ~/user-config.jam
submodules_script: |
git submodule update --init --recursive
build_cmake_script: |
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 .
cmake --build . --parallel 2
./test/test_primitives
tests_script: |
export BOOST_BUILD_PATH=${PWD}/build-develop
export PATH=${PWD}/build-develop:$PATH
cd test
bjam -j2 -l250 warnings-as-errors=on warnings=all crypto=openssl deterministic-tests include=/usr/local/include library-path=/usr/local/lib
enum_if_script: |
export BOOST_BUILD_PATH=${PWD}/build-develop
export PATH=${PWD}/build-develop:$PATH
cd test
bjam -j2 -l250 warnings-as-errors=on warnings=all crypto=openssl stage_enum_if stage_dependencies include=/usr/local/include library-path=/usr/local/lib
LD_LIBRARY_PATH=./dependencies ./enum_if