summaryrefslogtreecommitdiffstats
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* travis: replace omx feature flag with omx-bellagio oneAndres Gomez2017-09-171-6/+6
| | | | | | | | | | | Fixes: 6a8aa11c207 ("st/omx_bellagio: Rename state tracker and option") Signed-off-by: Andres Gomez <agomez@igalia.com> Cc: Gurkirpal Singh <gurkirpal204@gmail.com> Cc: Eric Engestrom <eric.engestrom@imgtec.com> Cc: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
* travis: Add libunwind-dev to gallium/make buildsGert Wollny2017-09-151-0/+11
| | | | | | | | | | | libunwind is a optional dependency used by the gallium aux module (libgallium) and consequently the final binaries must be linked against it. To test whether the library is properly specified in the link pass add it to the travis-ci build environment and force its use. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* travis: force llvm-3.3 for "make Gallium ST Other"Gert Wollny2017-09-151-0/+4
| | | | | | | | | | | | | | In Ubuntu Trusty the default version of llvm is 3.4 and the build was actually randomly picking 3.5 or 3.9. Adding libunwind would then result is build success or failure depending of what version was picked. Install the llvm-3.3-dev package and force its use: On one hand it is the minimum required version we want to the build test against, and on the other hand forcing the version stabilizes the build. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* travis: add missing wayland-protocolsAndres Gomez2017-07-191-2/+8
| | | | | | | | | | | | | | | | | | | | | | | > checking for WAYLAND... no > > configure: error: Package requirements (wayland-client >= 1.11 wayland-server >= 1.11 wayland-protocols >= 1.8) were not met: > > No package 'wayland-protocols' found > > Consider adjusting the PKG_CONFIG_PATH environment variable if you > installed software in a non-standard prefix. > > Alternatively, you may set the environment variables WAYLAND_CFLAGS > and WAYLAND_LIBS to avoid the need to call pkg-config. > See the pkg-config man page for more details. Also, added extra path to PKG_CONFIG_PATH env variable. Fixes: 02cc359372 ("egl/wayland: Use linux-dmabuf interface for buffers") Signed-off-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* travis: lower SWR requirement to GCC 4.8, aka std=c++11Emil Velikov2017-07-121-8/+4
| | | | | | | | | With ealier commit we relaxed the requirement from C++14 to C++11. Update the build script so that it Cc: Tim Rowley <timothy.o.rowley@intel.com Fixes: 0b80b025021 ("swr: relax c++ requirement from c++14 to c++11") Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
* travis: add missing libs: xdamage + xfixesEric Engestrom2017-06-261-0/+2
| | | | | | | | | | > configure: error: Package requirements (x11 xext xdamage >= 1.1 xfixes > x11-xcb xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8) were not met: > No package 'xdamage' found > No package 'xfixes' found Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* gallium: Add renderonly-based support for pl111+vc4.Eric Anholt2017-06-151-1/+1
| | | | | | | | | | | | | | | | | | | This follows the model of imx (display) and etnaviv (render): pl111 is a display-only device, so when asked to do GL for it, we see if we have a vc4 renderer, make the vc4 screen, and have vc4 call back to pl111 to do scanout allocations. The difference from etnaviv is that we share the same BO between vc4 and pl111, rather than having a vc4 bo and a pl11 bo and copies between the two. The only mismatch between their requirements is that vc4 requires 4-pixel (at 32bpp) stride alignment, while pl111 requires that stride match width. The kernel will reject any modesets to an incorrect stride, so the 3D driver doesn't need to worry about that. v2: Rebase on Android rework, drop unused include. v3: Fix another Android bug, from Rob Herring's build-testing. Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* travis: remove workarounds for the Vulkan targetEmil Velikov2017-05-191-5/+2
| | | | | | | | | | | | | | | Previously we required --enable-egl for the platform selection to work. Additionally due to the broken DRI3 dependency tracking we needed --enable-glx. Since both of these are now sorted now we no longer need the workarounds. While we're here, explicitly enable dri3. Cc: <mesa-stable@lists.freedesktop.org> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
* travis: bump MAKEFLAGS to -j4Emil Velikov2017-04-291-6/+6
| | | | | | | | The instance should have 2 cores, yet bumping the jobs to 4 should give us a minor speed improvement. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: enable wayland supportEmil Velikov2017-04-291-4/+16
| | | | | Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: add Gallium state-tracker targetsEmil Velikov2017-04-291-0/+80
| | | | | | | | | | | | | | | Split into OpenCL and others, since the former is quite time consuming. v2: - explicitly enable/disable components - build libvdpau 1.1 requirement - enable st/vdpau - build libva 1.6.2 (API 0.38) requirement v3: Drop ubuntu-toolchain-r-test from sources (Andres) Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: model scons check target like the make oneEmil Velikov2017-04-291-1/+7
| | | | | | | | Should make things a bit more consistent across the board. Cc: Eric Engestrom <eric@engestrom.ch> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: split the make target to three separate onesEmil Velikov2017-04-291-16/+80
| | | | | | | | | | | | | | | | | | | | | | | | Split the target to allow faster builds for each run. The overall build time will be more, yet Travis runs multiple builds in parallel so we're limited by the slowest one. Things are split roughly as: - DRI loaders, classic DRI drivers, classic OSMesa, make check - All Gallium drivers (minus the SWR) alongside st/dri (mesa) - The Vulkan drivers - ANV and RADV, make check (anv) v2: - rework RUN_CHECK to MAKE_CHECK_COMMAND - explicitly disable DRI loaders - generate linux/memfd.h locally and enable ANV - add libedit-dev v3: Use printf to create the header (Andres). v4: Really add the libedit + printf hunks. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: add "make swr" to the build matrixEmil Velikov2017-04-291-3/+38
| | | | | | | | v2: Quote OVERRIDE variables. v3: Add missplaced libedit-dev hunk (Andres). Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: add "scons swr" to the build matrixEmil Velikov2017-04-291-0/+28
| | | | | | | | | | | | | | | Requires GCC 5.0 (due to the C++14 requirement) and LLVM 3.9. v2: Enable the target, add libedit-dev, rework check target. v3: Comment the current check target, add -j4 SCONSFLAGS, quote OVERRIDE variables. v4: Keep check target as-is (Andres) Cc: Tim Rowley <timothy.o.rowley@intel.com> Cc: George Kyriazis <george.kyriazis@intel.com> Reviewed-by: George Kyriazis <george.kyriazis@intel.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: add separate "scons" and "scons llvm" targetsEmil Velikov2017-04-291-16/+45
| | | | | | | | | | | | | | | | | | The former does not require any LLVM, while the latter uses LLVM 3.3. This way we'll quickly catch any LLVM 3.3+ functionality that gets introduced where it shouldn't. Add the full list of addons for each build permutation. v2: Keep libedit-dev, rework check target. v3: Comment the current check target, add -j4 SCONSFLAGS v4: - Remove llvm-toolchain-trusty-3.3 source (Andres) - Keep check target as-is (Andres) Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: split out matrix from envEmil Velikov2017-04-291-5/+13
| | | | | | | | | | | With next commits we'll add a couple of more options. v2: Rework check target. v3: Comment the current check target, add -j4 SCONSFLAGS v4: Keep check target as-is, will rework with later patch. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: rework "if test" blocks in the script sectionEmil Velikov2017-04-291-1/+3
| | | | | | | | Split the "if test" blocks so that we get more sensible output in case of a failure. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: remove unused -dev packagesEmil Velikov2017-04-291-2/+0
| | | | | | | | We effectively override libdrm-dev and libxcb-dri2-0-dev since we build and install the package locally. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: automatically manage ccache cachingEmil Velikov2017-04-291-3/+1
| | | | | | | | | | | | | | | | According to the manual "If you are using ccache, use: language: c # or other C/C++ variants cache: ccache to cache $HOME/.ccache and automatically add /usr/lib/ccache to your $PATH." Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: enable apt cacheEmil Velikov2017-04-291-0/+1
| | | | | | | | | | | Provides a small, but consistent improvement. Example numbers of the jobs added later in the series. "make loaders/classic DRI" - 1s "scons SWR" - 6s Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* travis: add the possibility of using the txc-dxtn libraryAndres Gomez2017-04-291-0/+14
| | | | | | | | | | | | | | | The txc-dxtn library implements the patented S3 Texture Compression algorithm. By default it won't be used but we add the possibility of setting the USE_TXC_DXTN variable to yes in the travis web UI so it will be installed and used for the scons tests. Cc: Eric Anholt <eric@anholt.net> Cc: Rhys Kidd <rhyskidd@gmail.com> Signed-off-by: Andres Gomez <agomez@igalia.com> [Emil Velikov: keep the LIB prefix, drop the LD_LIBRARY_PATH, fold URL] Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
* travis: replace Trusty-based LLVM toolchain apt-get with apt addonAndres Gomez2017-04-291-11/+4
| | | | | | | | | | | | Trusty's LLVM toochain repository was whitelisted some time ago. See: https://github.com/travis-ci/apt-source-whitelist/commit/479067c5e74cb0c1e2419209179b1afe2edce274 Signed-off-by: Andres Gomez <agomez@igalia.com> [Emil Velikov] - set sudo to false - reference the Trusty change (Rhys) - keep libedit-dev Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
* travis: explicitly LD_LIBRARY_PATH the local librariesEmil Velikov2017-04-291-0/+1
| | | | | | | | Some of the libraries may be dlopened, which may not always work due to the non-standard prefix that we're using. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
* configure.ac: deprecate --with-egl-platforms over --with-platforms17.1-branchpointEmil Velikov2017-04-171-1/+1
| | | | | | | | Currently the former controls more than just EGL. With follow-up commits we'll unwind and fix things so that one can build the different drivers with said platform support. Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
* travis: remove unneeded dri3/present proto requirementEmil Velikov2017-04-171-10/+0
| | | | | Signed-off-by: Emil Velikov <emil.lvelikov@collabora.com> Reviewed-by: Eric Anholt <eric@anholt.net>
* travis: Add radeonsi to continuous integrationRhys Kidd2017-04-051-1/+1
| | | | | | | Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> Acked-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* travis: Add radv vulkan driver to continuous integrationRhys Kidd2017-04-051-0/+1
| | | | | | Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> Reviewed-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* travis: Support LLVM 3.8+ on Trusty-based Travis-CI via apt-get not apt addonRhys Kidd2017-04-031-5/+15
| | | | | | | | | | | | | | Per comments by Travis-CI, the apt addon is only really needed for the container-based Precise builds, as they don't yet support Trusty on that platform. Mesa currently uses Trusty fully-virtualized environment (due to sudo: required). See further: https://docs.travis-ci.com/user/trusty-ci-environment/#Fully-virtualized-via-sudo%3A-required https://github.com/travis-ci/apt-source-whitelist/pull/205#issuecomment-216054237 Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
* travis: bring the scons build on par with AppVeyorEmil Velikov2017-02-201-1/+1
| | | | | | | | Namely, always build with LLVM and run the check target. Cc: Rhys Kidd <rhyskidd@gmail.com> Cc: Eric Anholt <eric@anholt.net> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
* travis: use both cores for make/make checkEmil Velikov2017-02-071-0/+1
| | | | | | | | The instance offers 2 cores, so use them to speed things up. v2: Set MAKEFLAGS instead [Eric] Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Anholt <eric@anholt.net>
* travis: add nearly all gallium drivers to the listEmil Velikov2017-02-071-2/+2
| | | | | | | | | | | | Note: we need the explicit --enable-freedreno for libdrm since the latter is 'smart' and disables it if building on !arm platforms. The radeonsi and swr are explicitly left out since they require 'too-recent' LLVM - 3.6 Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Eric Anholt <eric@anholt.net>
* travis: correct libdrm required regex to also track libdrm itselfEmil Velikov2017-02-071-1/+1
| | | | | | | | | | | | The current regex was tracking only the libdrm_foo packages, while with recent changed we bumped only (and rightfully so) libdrm. Fix the regex to track any libdrm package. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Rhys Kidd <rhyskidd@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
* travis: Add the new drivers etnaviv and imxRhys Kidd2017-01-131-3/+3
| | | | | | Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
* travis: remove no longer needed libudev-dev dependencyEmil Velikov2016-10-181-1/+0
| | | | | | Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
* travis: Upgrade LLVM dependency to 3.5 and enable LLVM drivers.Eric Anholt2016-08-241-6/+7
| | | | | Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Rhys Kidd <rhyskidd@gmail.com>
* travis: Enable vc4 in libdrm to satisfy vc4 test build dependency.Eric Anholt2016-08-241-1/+1
| | | | | Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Rhys Kidd <rhyskidd@gmail.com>
* travis: Update to the Ubuntu Trusty image.Eric Anholt2016-08-241-1/+2
| | | | | | | | | This will hopefully fix wget from x.org (no real reason explained in Travis CI bug reports), and may also mean that we can enable LLVM driver builds. Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Rhys Kidd <rhyskidd@gmail.com>
* travis: Parse configure.ac to pick an updated LIBDRM_VERSION.Eric Anholt2016-08-241-0/+10
| | | | | | | | | | | Travis has been broken a couple of times by configure.ac updates. To make it useful, auto-update the version necessary. This could potentially be used for other dependencies, too, but those get bumped less frequently. Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Rhys Kidd <rhyskidd@gmail.com>
* travis: Add a test build with scons.Eric Anholt2015-12-011-6/+15
| | | | | | | | | Since I just broke the scons build, I figured I'd make Travis test that I don't break it again in the future. The script runs the builds in parallel across VMs, so it still takes just 5 minutes to turn around results. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
* travis: Initial import of travis instructions.Eric Anholt2015-12-011-0/+92
This just builds/installs our dependencies, and runs "make check". I'm interested in integrating more tests into it, but this seems like a pretty easy first start. If your personal branches of Mesa are on github, you can enable it on your account and the repository (see https://docs.travis-ci.com/user/for-beginners), then any pushes you do will get their HEAD commit tested, and any pull requests to your tree will get their merge commits tested.