mirror of
https://github.com/falk-werner/webfused
synced 2024-10-27 20:44:08 +00:00
applied build matrix to meson
This commit is contained in:
parent
4da0c4b672
commit
2b77e415ce
13
.travis.yml
13
.travis.yml
@ -16,7 +16,6 @@ addons:
|
||||
- ca-certificates
|
||||
- openssl
|
||||
- libssl-dev
|
||||
- uuid-dev
|
||||
- udev
|
||||
- gettext
|
||||
- python3
|
||||
@ -30,22 +29,22 @@ addons:
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- BUILD_TYPE=Coverage CHECK_TARGET=check
|
||||
- BUILD_TYPE=Debug CHECK_TARGET=memcheck
|
||||
- BUILD_TPYE=Release CHECK_TARGET=check
|
||||
- BUILD_TYPE=MinSizeRel CHECK_TARGET=check
|
||||
- BUILD_TYPE=debug COVERAGE=true CHECK_OPTS=
|
||||
- BUILD_TYPE=debug COVERAGE=false CHECK_OPTS=--wrap='valgrind --error-exitcode=42'
|
||||
- BUILD_TPYE=release COVERAGE=false CHECK_OPTS=
|
||||
- BUILD_TYPE=minsize COVERAGE=false CHECK_OPTS=
|
||||
|
||||
|
||||
before_install:
|
||||
- sudo pip3 install --system meson
|
||||
|
||||
before_script:
|
||||
- meson build
|
||||
- meson -Dbuildtype=$BUILD_TYPE -Db_coverage=$COVERAGE build
|
||||
- cd build
|
||||
- ninja
|
||||
|
||||
script:
|
||||
- meson test
|
||||
- meson test $CHECK_OPTS
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
Loading…
Reference in New Issue
Block a user