diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-07 13:49:20 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-07 13:49:20 +0300 |
commit | 3fc5a5061fe2074ee978829b241173aa95aea11a (patch) | |
tree | cb01890975e3122b7367a46c9c80a861d419d06c /.travis.yml | |
parent | Travis: fix pipe (|) usage (diff) | |
download | cmake-common-3fc5a5061fe2074ee978829b241173aa95aea11a.tar.gz cmake-common-3fc5a5061fe2074ee978829b241173aa95aea11a.zip |
Travis: build cmake/examples/boost
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index b1e3c2d..b3006f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,6 @@ addons: jobs: include: - - name: Simple CMake projects script: - ./cmake/build/build.py --install "$HOME/install/simple" --configuration Release -- cmake/examples/simple @@ -23,13 +22,27 @@ jobs: - name: Boost 1.58 script: - ./boost/build/build.py download 1.58.0 - - ./boost/build/build.py build --configuration Debug --platform x86 -- ./boost_1_58_0 --with-filesystem --with-program_options + - |- + ./boost/build/build.py build \ + --configuration Debug --platform x86 \ + -- ./boost_1_58_0 \ + --with-filesystem --with-program_options - bash -o pipefail -c 'find boost_1_58_0/stage -type f | sort' + - |- + ./cmake/build/build.py --install "$HOME/install/boost" \ + -- cmake/examples/boost \ + -D BOOST_ROOT="$TRAVIS_BUILD_DIR/boost_1_58_0" \ + -D BOOST_LIBRARYDIR="$TRAVIS_BUILD_DIR/boost_1_58_0/stage/x86/Debug/lib" + - "$HOME/install/boost/bin/foo" - name: Boost 1.72 script: - ./boost/build/build.py download --cache . 1.72.0 - - ./boost/build/build.py build --configuration Debug Release --platform x86 x64 --link shared -- ./boost_1_72_0 --with-filesystem --with-program_options + - |- + ./boost/build/build.py build \ + --configuration Debug Release --platform x86 x64 --link shared \ + -- ./boost_1_72_0 \ + --with-filesystem --with-program_options - bash -o pipefail -c 'find boost_1_72_0/stage -type f | sort' - name: Boost 1.65 |