ci: enable use of meson again
This commit is contained in:
parent
f135c3dcb8
commit
a6ca315865
|
@ -13,6 +13,10 @@ d:
|
||||||
- dmd-nightly
|
- dmd-nightly
|
||||||
- ldc-latest-ci
|
- ldc-latest-ci
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- TEST_MESON=true
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update && sudo apt-get -y install python3-pip python3-setuptools; fi
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update && sudo apt-get -y install python3-pip python3-setuptools; fi
|
||||||
- pip3 install meson ninja
|
- pip3 install meson ninja
|
||||||
|
|
|
@ -11,5 +11,7 @@ if [ ! -z "${COVERAGE:-}" ]; then
|
||||||
else
|
else
|
||||||
dub test
|
dub test
|
||||||
|
|
||||||
meson build && ninja -C build || echo Warning: Meson build failed!
|
if [ "x$TEST_MESON" = "xtrue" ] && ! [ "x$TRAVIS_COMPILER" = "xdmd" && $(dmd --version | head -n1) = "DMD64 D Compiler v2.085.1"]; then
|
||||||
|
meson build && ninja -C build
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue