Skip to content

Commit

Permalink
first attempt at building various configs on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
eboasson committed Nov 15, 2018
1 parent d193488 commit 05890b2
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
language: c

# Platform descriptions
# NOTE: These can be used in creating the build matrix by making use of the
# anchor/alias YAML features.
linux_gcc8: &linux_gcc8
os: linux
compiler: gcc
addons:
apt:
update: true
sources: [ ubuntu-toolchain-r-test ]
packages: [ gcc-8 g++-8 ]

matrix:
include:
- <<: *linux_gcc8
env: [ BUILD_TYPE=Debug, ZCFG=p2p ]
- <<: *linux_gcc8
env: [ BUILD_TYPE=Release, ZCFG=p2p ]
- <<: *linux_gcc8
env: [ BUILD_TYPE=Debug, ZCFG_TCP=ON, ZCFG_SSL=ON, ZCFG=client-large ]
- <<: *linux_gcc8
env: [ BUILD_TYPE=Release, ZCFG_TCP=ON, ZCFG_SSL=ON, ZCFG=client-large ]
- <<: *linux_gcc8
env: [ BUILT_TYPE=Debug, ZCFG=p2p-large ]
- <<: *linux_gcc8
env: [ BUILT_TYPE=Release, ZCFG=p2p-large ]
- <<: *linux_gcc8
env: [ BUILT_TYPE=Debug, ZCFG=p2p-small ]
- <<: *linux_gcc8
env: [ BUILT_TYPE=Release, ZCFG=p2p-small ]

script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DTCP=${ZCFG_TCP:-OFF} -DSSL=${ZCFG_SSL:-OFF} -DZHE_CONFIG=${ZCFG} ..
- cmake --build .

0 comments on commit 05890b2

Please sign in to comment.