summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
Commit message (Collapse)AuthorAgeFilesLines
* gitlab-ci: Use 8 CPU cores in autotools jobMichel Dänzer2019-03-211-1/+1
| | | | | | | | | | | | | This cuts down the job runtime from ~9.5 to ~7 minutes with my personal runner on an 8-core Ryzen 7 1700. While this might result in slightly higher load on shared runners, it should be OK, since libtool doesn't use the CPU cores as effectively as e.g. ninja does; a significant part of the CPU load tends to be in bash processes at any time, which should be relatively light on memory. Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: List some longer-running jobs before others of the same stageMichel Dänzer2019-03-211-47/+47
| | | | | | | | | | | This increases the chance of them running earlier, which can have an impact on the total duration of the pipeline. v2: * Minor style fix-up to moved comment (Eric Anholt) Reviewed-by: Eric Engestrom <[email protected]> Acked-by: Eric Anholt <[email protected]>
* gitlab-ci: drop most autotools buildsEric Engestrom2019-03-191-162/+13
| | | | | | | | | | With autotools this close to being not supported anymore, let's not waste half of the CI cycles on it. The default build will catch most issues, and the rest can be tested by the old Travis. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* gitlab-ci: add clang buildEric Engestrom2019-03-191-0/+9
| | | | | | | `clang` has a different set of warnings and errors than `gcc`, so it's useful to do at least a generic pass over Mesa with it. Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: Build turnip.Bas Nieuwenhuizen2019-03-161-1/+2
| | | | | | | | | | No autotools build to care about. The half baked turnips param is kind of ugly, but felt like a waste defining more variables for it now. Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]>
* gitlab-ci: add panfrost to the gallium drivers buildEric Engestrom2019-03-091-1/+1
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: fix llvm version (7 doesn't have a ".0")Eric Engestrom2019-03-081-1/+1
| | | | | Fixes: 85ee157283c667372baf "gitlab-ci: autotools needs to be told which llvm version to use" Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: autotools needs to be told which llvm version to useEric Engestrom2019-03-081-0/+1
| | | | | Fixes: 45d58cd91567b39f51af "gitlab-ci: only build the default (=latest) and oldest llvm versions" Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: only build the default (=latest) and oldest llvm versionsEric Engestrom2019-03-081-34/+12
| | | | | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* gitlab-ci: drop job prefixesEric Engestrom2019-03-051-33/+33
| | | | | | | | | | | It is already obvious whether the job is building a container or running a mesa build, so let's drop that prefix so that we can see more information on the screen (eg. in the jobs list on a pipeline page). Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
* gitlab-ci: install distro's ninjaAndres Gomez2019-03-051-1/+1
| | | | | | | | 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-1/+1
| | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* gitlab-ci: always run the containers buildEric Engestrom2019-02-261-8/+10
| | | | | | | | | | | | | If the first time a fork was created, the job creating the containers was manually cancelled, this would have left the fork unable to use the CI (until the next automatic regeneration of the container). Avoid this by always running the container-generation job, even though 99% of the time it will spin up, see that the container exists and shut down. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
* iris: Add gitlab-ci build testingJordan Justen2019-02-221-1/+1
| | | | | Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: automatically run the CI on pushes to `ci/*` branchesEric Engestrom2019-02-191-0/+1
| | | | | | | | | | | Last commit limited the CI to master and MRs, but to avoid having to manually trigger CI runs, let's add a 3rd, automatic way: by pushing to a branch named `ci/*` (or `ci-*` or just `ci`) (which you can delete afterwards, the pipeline results will remain). Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Reviewed-by: Erik Faye-Lund <[email protected]>
* gitlab-ci: limit the automatic CI to master and MRsEric Engestrom2019-02-191-0/+3
| | | | | | | | | | | Runs on random other branches (stables RCs, personal forks) can still be triggered manually via the web interface, or an app using the API. This should massively help with the current voracious state of our CI. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Reviewed-by: Erik Faye-Lund <[email protected]>
* gitlab-ci: use ccache to speed up buildsEric Engestrom2019-02-191-5/+17
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: limit ninja to 4 threads maxEric Engestrom2019-02-131-1/+1
| | | | | | | | | | I tried bumping the limit on make and scons instead, but that just thrashed the runners, so let's not do that (sorry @daniels :]). Instead, remove the automatic thread management from ninja and limit it to 4 instead, in line with make and scons. Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: Re-use docker image from the main repo in forked reposMichel Dänzer2019-02-111-0/+5
| | | | | | | | | | | | Instead of generating it from scratch in each forked repo. This should save time, energy and storage. (The xserver & xf86-video-amdgpu CI scripts do basically the same) v2: * Hardcode "mesa" instead of using $CI_PROJECT_NAME, to avoid breakage if the project name is changed after forking (Eric Engestrom) Reviewed-by: Eric Engestrom <[email protected]>
* gitlab-ci: workaround docker bug for users with uppercase charactersEric Engestrom2019-02-081-1/+1
| | | | | | | CI_REGISTRY_IMAGE == lower($CI_REGISTRY/$CI_PROJECT_PATH) Suggested-by: Daniel Stone <[email protected]> Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson glvnd buildEric Engestrom2019-02-061-0/+19
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add make Gallium ST Other buildEric Engestrom2019-02-061-0/+26
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add make Gallium ST Clover LLVM-7 buildEric Engestrom2019-02-061-0/+6
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add make Gallium ST Clover LLVM-6.0 buildEric Engestrom2019-02-061-0/+5
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add make Gallium ST Clover LLVM-5.0 buildEric Engestrom2019-02-061-0/+5
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add make Gallium ST Clover LLVM-4.0 buildEric Engestrom2019-02-061-0/+5
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add make Gallium ST Clover LLVM-3.9 buildEric Engestrom2019-02-061-0/+24
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add make Gallium Drivers "Other" buildEric Engestrom2019-02-061-0/+6
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add make Gallium Drivers RadeonSI buildEric Engestrom2019-02-061-0/+6
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add make Gallium Drivers SWR buildEric Engestrom2019-02-061-0/+25
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add make loaders/classic DRI buildEric Engestrom2019-02-061-0/+23
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium ST "Other" buildEric Engestrom2019-02-061-0/+21
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium ST Clover (LLVM 7.0) buildEric Engestrom2019-02-061-0/+6
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium ST Clover (LLVM 6.0) buildEric Engestrom2019-02-061-0/+5
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium ST Clover (LLVM 5.0) buildEric Engestrom2019-02-061-0/+20
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium "other drivers" buildEric Engestrom2019-02-061-0/+20
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium RadeonSI buildEric Engestrom2019-02-061-0/+20
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson gallium SWR buildEric Engestrom2019-02-061-0/+23
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add meson loader/classic DRI buildEric Engestrom2019-02-061-0/+21
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add scons SWR buildEric Engestrom2019-02-061-0/+7
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add scons llvm 3.5 buildEric Engestrom2019-02-061-0/+10
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add a scons no-llvm buildEric Engestrom2019-02-061-0/+14
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add a make vulkan buildEric Engestrom2019-02-061-0/+49
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add a meson vulkan buildEric Engestrom2019-02-061-0/+61
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* gitlab-ci: add ubuntu containerEric Engestrom2019-02-061-0/+49
Signed-off-by: Eric Engestrom <[email protected]>