summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci
Commit message (Collapse)AuthorAgeFilesLines
* gitlab-ci: Enable the GLES2/3 CTS on softpipe.Eric Anholt2019-08-201-0/+445
| | | | | | | | | | | | | | The GLES2 CTS takes about 8 minutes of total runtime (at parallel 4 is ~2 minutes in the test stage if runners are free), while GLES3 takes about 25. Since the GLES3 run is pretty expensive, just do a cheap touch test of 1 out of every 10 tests in the test list on MRs, until we can get the runtime down. v2: Drop the full run for now until we can bring runtime down or bring up a dedicated mesa runner. Reviewed-by: Eric Engestrom <[email protected]> (v1) Reviewed-By: Gert Wollny <[email protected]> (v1)
* gitlab-ci: Run the GLES2 CTS on llvmpipe.Eric Anholt2019-08-134-0/+267
| | | | | | | | | | | | | | | | This is the start of doing CTS tests on merges to Mesa master. We use the surfaceless platform so that we don't need to bother bringing up weston or X11. The surface size is kept low to reduce runtime, but this comes at the cost of many rendering tests skipping due to too-small render targets (as we see the impact of Mesa on the shared runner pool, we can reevaluate this and what set of CTS tests we want to run). We split the job up across 4 runners (each at 4 llvmpipe threads), so that the job can load-balance across our shared runners and finish sooner (since dEQP is very single-thread-performance bound). Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Switch the meson-main build type to debugoptimized.Eric Anholt2019-08-131-1/+1
| | | | | | | | | | | Now that we're running the drivers we build, building with optimization is important for keeping our runtime down. Shaves about 4 minutes of runtime off of GLES2 CTS of llvmpipe at 64x64. v2: Only switch meson-main until we enable CTS for other builds on request by Michel. Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Set the prefix to ./install instead of the DESTDIR.Eric Anholt2019-08-132-3/+4
| | | | | | | | | | If we don't set DESTDIR, then the DEFAULT_DRIVER_DIR built into the libraries is correct and we don't need to use LIBGL_DRIVERS_PATH and friends for CI usage. Incidentally, this moves our installed paths from /builds/anholt/mesa/install/usr/local/lib (for example) to /builds/anholt/mesa/install/lib for simplicity. Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Build the CTS in the debian build image.Eric Anholt2019-08-131-2/+59
| | | | | | This will let us reuse the image for test runs. Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: simplify $CROSS optionEric Engestrom2019-08-101-1/+1
| | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
* gitlab-ci: generate meson cross-files earlierEric Engestrom2019-08-091-0/+12
| | | | | | Suggested-by: Michel Dänzer <[email protected]> Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* gitlab-ci: don't install autotools depsEric Engestrom2019-08-071-10/+2
| | | | | | | These could've been deleted a long time ago, but apparent we forgot. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
* gitlab-ci: add gtk3 dev files for `-D tools=intel-ui`Eric Engestrom2019-08-071-3/+4
| | | | | | | | We also need to update wayland-protocols and libXrandr (and randrproto), as they are too old for gdk3 (which gtk3 depends on). Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
* gitlab-ci: don't remove a package we don't install anymoreEric Engestrom2019-08-051-2/+1
| | | | | | Fixes: 85dace1c0b7c1839d121 ("gitlab-ci: remove software-properties-common") Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* gitlab-ci: remove software-properties-commonEmil Velikov2019-08-011-6/+5
| | | | | | | | | | | Currently we use the python package to manage repositories. At the same time we also do that by hand - since it's a trivial echo to a file. Stay consistent, remove the package and manage things manually. Acked-by: Eric Engestrom <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
* gitlab-ci: Enable freedreno shader-db runs.Eric Anholt2019-07-291-3/+5
| | | | | | | | Now that helgrind is less upset and I've completed many successful full shader-db runs, we should be able to enable freedreno shader-db runs for Mesa checkins on the tiny public shader-db. Reviewed-by: Rob Clark <[email protected]>
* gitlab-ci: Add a shader-db run using v3d on drm-shim.Eric Anholt2019-07-253-1/+32
| | | | | | | | | | | | | | This provides significant compiler coverage during CI at a fairly low cost in CPU time (~17s per thread for 4 threads on gst-gitlab-htz-runner3). I'm leaving wget in the docker image, as once this is in master I'm planning on having an automatic shader-db comparison between master and the branch included in the artifacts. I also haven't done freedreno yet, because it has some races when run in multithreaded mode that I'm still tracking down. Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Always set libdir to lib/Eric Anholt2019-07-251-0/+1
| | | | | | | | I introduced libdir for cross-builds so we could point at the resulting drivers without per-arch dependencies, but I'd rather not have to type x86_64-linux-whatever for non-cross-builds either. Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Build i386 and ARM drivers in surfaceless mode.Eric Anholt2019-07-132-1/+22
| | | | | | | | | | | | | I don't particularly care about getting x86/ARM cross-build coverage of all the window systems, but we do want to be building src/mesa/ (for x86 asm) and gallium drivers (for vc4 NEON asm). I'm also hoping to use these build products for testing freedreno on actual HW (which we do using surfaceless). This increases the docker image from 1.4G to 1.5G. Reviewed-by: Michel Dänzer <[email protected]> Acked-by: Eric Engestrom <[email protected]>
* gitlab-ci: bump required libdrm versionChristian Gmeiner2019-07-041-1/+1
| | | | | | | | | | | | Fixes following build problem: Message: libdrm 2.4.99 needed because amdgpu has the highest requirement Dependency libdrm_intel found: NO found '2.4.97' but need: '>=2.4.99' Dependency libdrm_intel found: NO meson.build:1178:4: ERROR: Invalid version of dependency, need 'libdrm_intel' ['>=2.4.99'] found '2.4.97'. Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: test meson installationEric Engestrom2019-06-291-0/+1
| | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* gitlab-ci: add the vulkan overlay layer to the vulkan buildEric Engestrom2019-05-081-1/+2
| | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
* gitlab-ci: add the vulkan overlay layer to the vulkan buildEric Engestrom2019-05-081-0/+9
| | | | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> [ Michel Dänzer: Take changes affecting the docker image from !299, plus remove the unzip package again before generating the image ]
* gitlab-ci: Don't install WINE packagesMichel Dänzer2019-05-081-3/+1
| | | | | | | They were just making the docker image larger for no benefit at this point. Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Build clover against all supported versions of LLVMMichel Dänzer2019-05-082-2/+10
| | | | | | | | | | | | | | | | And consolidate it all into a single job. It doesn't take much longer than a single version, thanks to ccache. Overall, this single job might be faster or at least use fewer CPU cycles than the two jobs before, while covering thrice as many versions of LLVM. v2: * Move "rm -rf _build" to meson-build.sh. * Set GALLIUM_DRIVERS the same way both times in the meson-clover job, for symmetry. Reviewed-by: Eric Engestrom <[email protected]> # v1
* gitlab-ci: Move meson job script to separate fileMichel Dänzer2019-05-081-0/+29
| | | | | | | | No functional change intended (except for no longer running meson --version separately, as the version appears early in meson's output anyway). Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: add scons windows build using mingwEric Engestrom2019-05-021-0/+5
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: Use LLVM 3.4 from Debian jessie for scons-llvm jobMichel Dänzer2019-04-161-0/+2
| | | | | | | This gets us closer to the officially supported minimum version of LLVM, which is 3.3. Acked-by: Eric Engestrom <[email protected]>
* gitlab-ci: Do not use subshells for compiling dependenciesMichel Dänzer2019-04-161-14/+28
| | | | | | | bash subshells don't inherit the -e option by default, so failures in the subshell commands wouldn't cause the CI job to fail. Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Drop unused clang 5/6 packagesMichel Dänzer2019-04-161-4/+0
| | | | Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Use clang 8 instead of 7Michel Dänzer2019-04-161-1/+2
| | | | Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Remove unused Debian packages from Docker imageMichel Dänzer2019-04-161-0/+11
| | | | | | | | v2: * Also remove autotools, now that the Mesa autotools build system has been dropped. Reviewed-by: Eric Engestrom <[email protected]> # v1
* gitlab-ci: Remove unneded (stuff from) APT command linesMichel Dänzer2019-04-161-13/+1
| | | | | | | | | | We either compile these locally, or they are dependencies of other packages we install. v2: * Adapt to leaving self-compiled packages untouched. Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Install most packages from Debian busterMichel Dänzer2019-04-161-13/+19
| | | | | | | | | | We now use the C frontend of GCC 8 instead of 6 (required tweaking the before_script for the clang job). We cannot use the C++ frontend of GCC 7 or newer yet, because upstream GCC 7 changed some C++ name mangling stuff in backwards incompatible ways, and LLVM < 6.0 packages aren't available in buster. Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Use Debian packages instead of pip ones for meson and sconsMichel Dänzer2019-04-161-15/+4
| | | | Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Use HTTPS for APT repositoriesMichel Dänzer2019-04-161-2/+5
| | | | Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: Use Debian stretch instead of Ubuntu bionicMichel Dänzer2019-04-161-2/+6
| | | | | | | | | | | The APT archive used by the Ubuntu docker image can be slow, even timing out sometimes, causing spurious failures of the containers-build job. The Debian docker image uses deb.debian.org, which is backed by a content distribution network. One downside is that stretch only has GCC 6, whereas bionic had 7. Reviewed-by: Eric Engestrom <[email protected]>
* CI: use wayland ci-templates repo to create the base imageBenjamin Tissoires2019-04-022-158/+162
| | | | | | | | | | | | There shouldn't be a difference for users, but this way we do manage all of our containers from freedesktop.org note: compared to the provious Dockerfile, we need to manually add gcc, g++ and python*-wheel Signed-off-by: Benjamin Tissoires <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: only build the default (=latest) and oldest llvm versionsEric Engestrom2019-03-081-2/+0
| | | | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* gitlab-ci: install distro's ninjaAndres Gomez2019-03-051-10/+2
| | | | | | | | Ubuntu Bionic is shipping ninja 1.8.2. Therefore, we do not need to download v1.6.0 manually any more. Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: install xmllint to validate 00-mesa-defaults.confEric Engestrom2019-02-281-0/+3
| | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* gitlab-ci: use ccache to speed up buildsEric Engestrom2019-02-191-0/+3
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson glvnd buildEric Engestrom2019-02-061-0/+1
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add make Gallium ST Clover LLVM-4.0 buildEric Engestrom2019-02-061-0/+2
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium ST "Other" buildEric Engestrom2019-02-061-0/+2
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium ST Clover (LLVM 7.0) buildEric Engestrom2019-02-061-0/+2
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium ST Clover (LLVM 6.0) buildEric Engestrom2019-02-061-0/+2
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium ST Clover (LLVM 5.0) buildEric Engestrom2019-02-061-0/+3
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium "other drivers" buildEric Engestrom2019-02-061-0/+1
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium SWR buildEric Engestrom2019-02-061-0/+1
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson loader/classic DRI buildEric Engestrom2019-02-061-0/+3
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add scons SWR buildEric Engestrom2019-02-061-0/+1
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add scons llvm 3.5 buildEric Engestrom2019-02-061-0/+2
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add a scons no-llvm buildEric Engestrom2019-02-061-0/+1
| | | | Signed-off-by: Eric Engestrom <[email protected]>