matrix:
include:
- - env:
- - LABEL="make loaders/classic DRI"
- - BUILD=make
- - MAKEFLAGS="-j4"
- - MAKE_CHECK_COMMAND="make check"
- - DRI_LOADERS="--enable-glx --enable-gbm --enable-egl --with-platforms=x11,drm,surfaceless,wayland --enable-osmesa"
- - DRI_DRIVERS="i915,i965,radeon,r200,swrast,nouveau"
- - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
- - GALLIUM_DRIVERS=""
- - VULKAN_DRIVERS=""
- - LIBUNWIND_FLAGS="--disable-libunwind"
- addons:
- apt:
- packages:
- - xz-utils
- - x11proto-xf86vidmode-dev
- - libxxf86vm-dev
- - libexpat1-dev
- - libx11-xcb-dev
- - libxdamage-dev
- - libxfixes-dev
- - python3-pip
- - python3-setuptools
- - env:
- - LABEL="meson Gallium ST Other"
- - BUILD=meson
- - UNWIND="true"
- - DRI_LOADERS="-Dglx=disabled -Degl=false -Dgbm=false"
- - GALLIUM_ST="-Ddri3=true -Dgallium-vdpau=true -Dgallium-xvmc=true -Dgallium-omx=bellagio -Dgallium-va=true -Dgallium-xa=true -Dgallium-nine=true -Dgallium-opencl=disabled -Dosmesa=gallium"
- # We need swrast for osmesa and nine.
- # Nouveau supports, or builds at least against all ST.
- - GALLIUM_DRIVERS="nouveau,swrast"
- - LLVM_VERSION=5.0
- - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
- addons:
- apt:
- packages:
- - llvm-5.0-dev
- # LLVM packaging is broken and misses these dependencies
- - libedit-dev
- # Nine requires gcc 4.6... which is the one we have right ?
- - libxvmc-dev
- # Build locally, for now.
- #- libvdpau-dev
- #- libva-dev
- - libomxil-bellagio-dev
- # Common
- - xz-utils
- - libexpat1-dev
- - libx11-xcb-dev
- - libelf-dev
- - libunwind8-dev
- - python3.5
- - python3-pip
- - python3-setuptools
- - env:
- # NOTE: Building SWR is 2x (yes two) times slower than all the other
- # gallium drivers combined.
- # Start this early so that it doesn't hunder the run time.
- - LABEL="make Gallium Drivers SWR"
- - BUILD=make
- - MAKEFLAGS="-j4"
- - MAKE_CHECK_COMMAND="true"
- - LLVM_VERSION=6.0
- - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
- - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
- - DRI_DRIVERS=""
- - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
- - GALLIUM_DRIVERS="swr"
- - VULKAN_DRIVERS=""
- - LIBUNWIND_FLAGS="--enable-libunwind"
- addons:
- apt:
- packages:
- - llvm-6.0-dev
- # Common
- - xz-utils
- - libexpat1-dev
- - libx11-xcb-dev
- - libelf-dev
- - libunwind8-dev
- - python3-pip
- - python3-setuptools
- - env:
- - LABEL="make Gallium Drivers RadeonSI"
- - BUILD=make
- - MAKEFLAGS="-j4"
- - MAKE_CHECK_COMMAND="true"
- - LLVM_VERSION=7
- - LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
- - DRI_LOADERS="--disable-glx --disable-gbm --disable-egl"
- - DRI_DRIVERS=""
- - GALLIUM_ST="--enable-dri --disable-opencl --disable-xa --disable-nine --disable-xvmc --disable-vdpau --disable-va --disable-omx-bellagio --disable-gallium-osmesa"
- - GALLIUM_DRIVERS="radeonsi"
- - VULKAN_DRIVERS=""
- - LIBUNWIND_FLAGS="--enable-libunwind"
- addons:
- apt:
- sources:
- - sourceline: 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main'
- key_url: https://apt.llvm.org/llvm-snapshot.gpg.key
- packages:
- # From sources above
- - llvm-7-dev
- # Common
- - xz-utils
- - libexpat1-dev
- - libx11-xcb-dev
- - libelf-dev
- - libunwind8-dev
- - python3-pip
- - python3-setuptools
- env:
- LABEL="make Gallium Drivers Other"
- BUILD=make