-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
45 lines (42 loc) · 1.14 KB
/
.travis.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
os: linux
dist: focal
language: cpp
compiler:
- gcc
- clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-focal-10
packages:
- clang-10
install:
- pip install --user conan
- conan --version
- cmake --version
- conan profile new default --detect
- conan profile update settings.compiler.libcxx=libstdc++11 default
- conan remote add artifactory https://api.bintray.com/conan/craiganv/cpp-skeleton-repo
- conan remote list
script:
- cd libskeleton/
- mkdir build && cd build/
- conan install ../conan/ -r artifactory
- cmake .. -DUSE_CONAN_PACKAGE=True -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles"
- cmake --build . --parallel 2
- ctest --parallel 2
- cmake --install .
- ls -al
- cat cmake_install.cmake
- cpack
- sudo make install
- cd ../../consumer/
- mkdir build && cd build/
- conan remove -f "*"
- conan search
- sudo apt-get -y install libboost-all-dev libbz2-dev libpoco-dev libopencv-dev
- cat /usr/local/lib/cmake/Skeleton/*
- cmake .. -DCMAKE_BUILD_TYPE=Release -G "Unix Makefiles"
- cmake --build . --parallel 2
- ./skeletonconsumer