mirror of
https://github.com/FEX-Emu/robin-map.git
synced 2024-11-23 06:09:52 +00:00
62 lines
1.1 KiB
YAML
62 lines
1.1 KiB
YAML
language: cpp
|
|
|
|
dist: trusty
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
compiler: clang
|
|
env:
|
|
- CBUILD_TYPE="Release"
|
|
|
|
- os: linux
|
|
compiler: gcc
|
|
env:
|
|
- CBUILD_TYPE="Release"
|
|
|
|
- os: osx
|
|
compiler: clang
|
|
env:
|
|
- CBUILD_TYPE="Release"
|
|
|
|
- os: osx
|
|
compiler: gcc
|
|
env:
|
|
- CBUILD_TYPE="Release"
|
|
|
|
- os: linux
|
|
compiler: clang
|
|
dist: xenial
|
|
env:
|
|
- CBUILD_TYPE="Release"
|
|
- CXXFLAGS="-fsanitize=address,undefined"
|
|
|
|
- os: linux
|
|
compiler: gcc
|
|
env:
|
|
- TYPE="coverage"
|
|
- CXXFLAGS="--coverage"
|
|
|
|
- os: linux
|
|
compiler: gcc
|
|
env:
|
|
- CBUILD_TYPE="Release"
|
|
- CXXFLAGS="-fno-exceptions"
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libboost-test-dev
|
|
- lcov
|
|
|
|
script:
|
|
- cd tests
|
|
- mkdir build
|
|
- cd build
|
|
- cmake -DCMAKE_BUILD_TYPE="$CBUILD_TYPE" ..
|
|
- VERBOSE=1 make
|
|
- ./tsl_robin_map_tests
|
|
|
|
after_success:
|
|
- if [[ "$TYPE" == "coverage" ]]; then lcov -c -b ../../include/ -d . -o coverage.info --no-external && bash <(curl -s https://codecov.io/bash) -f coverage.info; fi
|