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
|
- ca-certificates
|
||||||
- openssl
|
- openssl
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
- uuid-dev
|
|
||||||
- udev
|
- udev
|
||||||
- gettext
|
- gettext
|
||||||
- python3
|
- python3
|
||||||
@ -30,22 +29,22 @@ addons:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
- BUILD_TYPE=Coverage CHECK_TARGET=check
|
- BUILD_TYPE=debug COVERAGE=true CHECK_OPTS=
|
||||||
- BUILD_TYPE=Debug CHECK_TARGET=memcheck
|
- BUILD_TYPE=debug COVERAGE=false CHECK_OPTS=--wrap='valgrind --error-exitcode=42'
|
||||||
- BUILD_TPYE=Release CHECK_TARGET=check
|
- BUILD_TPYE=release COVERAGE=false CHECK_OPTS=
|
||||||
- BUILD_TYPE=MinSizeRel CHECK_TARGET=check
|
- BUILD_TYPE=minsize COVERAGE=false CHECK_OPTS=
|
||||||
|
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo pip3 install --system meson
|
- sudo pip3 install --system meson
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- meson build
|
- meson -Dbuildtype=$BUILD_TYPE -Db_coverage=$COVERAGE build
|
||||||
- cd build
|
- cd build
|
||||||
- ninja
|
- ninja
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- meson test
|
- meson test $CHECK_OPTS
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
Loading…
Reference in New Issue
Block a user