- LABEL="meson Vulkan"
- BUILD=meson
- UNWIND="false"
+ - DRI_LOADERS="-Dglx=disabled -Dgbm=false -Degl=false -Dplatforms=x11,wayland,drm -Dosmesa=none"
- VULKAN_DRIVERS="intel,amd"
- LLVM_VERSION=7
- LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
- LABEL="meson loaders/classic DRI"
- BUILD=meson
- UNWIND="false"
+ - DRI_LOADERS="-Dglx=dri -Dgbm=true -Degl=true -Dplatforms=x11,wayland,drm,surfaceless -Dosmesa=classic"
- DRI_DRIVERS="i915,i965,r100,r200,swrast,nouveau"
addons:
apt:
- LABEL="macOS meson"
- BUILD=meson
- UNWIND="false"
+ - DRI_LOADERS="-Dglx=dri -Dgbm=false -Degl=false -Dplatforms=x11 -Dosmesa=none"
os: osx
before_install:
- |
if test "x$BUILD" = xmeson; then
-
- if test "x$TRAVIS_OS_NAME" == xosx; then
- MESON_OPTIONS="-Degl=false"
- fi
-
# We need to control the version of llvm-config we're using, so we'll
# generate a native file to do so. This requires meson >=0.49
#
$LLVM_CONFIG --version
export CFLAGS="$CFLAGS -isystem`pwd`"
- meson _build $MESON_OPTIONS \
+ meson _build \
--native-file=native.file \
-Dbuild-tests=true \
-Dlibunwind=${UNWIND} \
+ ${DRI_LOADERS} \
-Ddri-drivers=${DRI_DRIVERS:-[]} \
-Dgallium-drivers=${GALLIUM_DRIVERS:-[]} \
-Dvulkan-drivers=${VULKAN_DRIVERS:-[]}