blob: 1087a734e4e7ef70f027c74d19396cbd793a1b53 [file] [log] [blame]
Eric Engestrom329f5cd2019-01-20 11:21:45 +00001variables:
Eric Anholtaf7dca32020-03-06 13:23:20 -08002 FDO_UPSTREAM_REPO: mesa/mesa
Benjamin Tissoires7f8a9a12019-04-02 09:24:00 +02003
4include:
Eric Anholtaf7dca32020-03-06 13:23:20 -08005 - project: 'freedesktop/ci-templates'
Michel Dänzerfcd33772020-03-23 18:16:07 +01006 ref: 4b2997287317808830e9cb4eb0f99b691787da88
Michel Dänzerd00b1c42019-04-02 16:56:54 +02007 file: '/templates/debian.yml'
Dylan Baker19851c92019-10-23 14:36:19 -07008 - local: '.gitlab-ci/lava-gitlab-ci.yml'
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +01009 - local: '.gitlab-ci/test-source-dep.yml'
Tomeu Vizoso7b01f722019-09-18 16:03:36 +020010
Eric Engestrom329f5cd2019-01-20 11:21:45 +000011stages:
Eric Engestrom81b98e92019-10-14 23:04:14 +010012 - container
Michel Dänzercc9493f2020-02-27 18:27:56 +010013 - meson-x86_64
14 - scons
15 - meson-misc
16 - llvmpipe
17 - softpipe
18 - freedreno
19 - panfrost
Samuel Pitoiset48e92032020-03-06 08:39:25 +010020 - radv
21 - lima
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +020022 - virgl
Michel Dänzer8775b742020-01-13 09:45:57 +010023 - success
Eric Engestrom329f5cd2019-01-20 11:21:45 +000024
25
Eric Engestrom7f5d9c22019-02-22 15:52:08 +000026# When to automatically run the CI
Michel Dänzere426f402019-09-06 17:35:52 +020027.ci-run-policy:
Michel Dänzer41797a12019-09-26 09:27:27 +020028 rules:
Michel Dänzer42fe6002020-04-03 12:50:11 +020029 # If any files affecting the pipeline are changed, build/test jobs run
30 # automatically once all dependency jobs have passed
31 - changes: &all_paths
Michel Dänzer8775b742020-01-13 09:45:57 +010032 - VERSION
33 - bin/**/*
34 # GitLab CI
35 - .gitlab-ci.yml
36 - .gitlab-ci/**/*
37 # Meson
38 - meson*
39 - build-support/**/*
40 - subprojects/**/*
41 # SCons
42 - SConstruct
43 - scons/**/*
44 - common.py
45 # Source code
46 - include/**/*
47 - src/**/*
48 when: on_success
Michel Dänzer42fe6002020-04-03 12:50:11 +020049 # Otherwise, build/test jobs won't run
Michel Dänzer8775b742020-01-13 09:45:57 +010050 - when: never
Michel Dänzer6140ed32019-03-26 18:39:41 +010051 retry:
52 max: 2
53 when:
54 - runner_system_failure
Eric Engestromac78ca42019-11-12 23:42:21 +000055 # Cancel CI run if a newer commit is pushed to the same branch
56 interruptible: true
Eric Engestrom7f5d9c22019-02-22 15:52:08 +000057
Michel Dänzer8775b742020-01-13 09:45:57 +010058success:
59 stage: success
60 image: debian:stable-slim
61 only:
62 - merge_requests
63 except:
64 changes:
Michel Dänzerc12576e2020-04-03 11:17:48 +020065 *all_paths
Michel Dänzer2dd0cc62020-01-20 18:34:34 +010066 variables:
67 GIT_STRATEGY: none
Michel Dänzer8775b742020-01-13 09:45:57 +010068 script:
69 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
70
71
Michel Dänzere426f402019-09-06 17:35:52 +020072.ci-deqp-artifacts:
Eric Anholt46daaca2019-06-28 16:35:32 -070073 artifacts:
Michel Dänzer0103f022020-03-06 12:35:17 +010074 name: "mesa_${CI_JOB_NAME}"
Eric Anholt46daaca2019-06-28 16:35:32 -070075 when: always
76 untracked: false
77 paths:
78 # Watch out! Artifacts are relative to the build dir.
79 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
80 - artifacts
Eric Engestrom7f5d9c22019-02-22 15:52:08 +000081
Tomeu Vizoso22d97642019-12-17 11:50:14 +010082# Build the CI docker images.
Michel Dänzerc6c76522019-11-11 18:13:28 +010083#
Eric Anholtaf7dca32020-03-06 13:23:20 -080084# FDO_DISTRIBUTION_TAG is the tag of the docker image used by later stage jobs. If the
Michel Dänzerc6c76522019-11-11 18:13:28 +010085# image doesn't exist yet, the container stage job generates it.
86#
87# In order to generate a new image, one should generally change the tag.
88# While removing the image from the registry would also work, that's not
89# recommended except for ephemeral images during development: Replacing
90# an image after a significant amount of time might pull in newer
91# versions of gcc/clang or other packages, which might break the build
92# with older commits using the same tag.
93#
94# After merging a change resulting in generating a new image to the
95# main repository, it's recommended to remove the image from the source
96# repository's container registry, so that the image from the main
97# repository's registry will be used there as well.
Michel Dänzer8a199922019-09-06 17:04:47 +020098
Eric Engestrom81b98e92019-10-14 23:04:14 +010099.container:
100 stage: container
101 extends:
102 - .ci-run-policy
Michel Dänzer42fe6002020-04-03 12:50:11 +0200103 rules:
Michel Dänzer4176dfa2020-04-03 11:46:12 +0200104 # Run pipeline by default if it was triggered by Marge Bot, is for a
105 # merge request, and any files affecting it were changed
106 - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
Michel Dänzer42fe6002020-04-03 12:50:11 +0200107 changes:
108 *all_paths
109 when: on_success
110 # Run pipeline by default in the main project if any files affecting it were
111 # changed
112 - if: '$CI_PROJECT_PATH == "mesa/mesa"'
113 changes:
114 *all_paths
115 when: on_success
Michel Dänzer4176dfa2020-04-03 11:46:12 +0200116 # Allow triggering jobs manually for MRs or branches of forked projects if
117 # any files affecting the pipeline were changed
118 - changes:
Michel Dänzer42fe6002020-04-03 12:50:11 +0200119 *all_paths
120 when: manual
121 # Otherwise, container jobs won't run
122 - when: never
Eric Engestrom81b98e92019-10-14 23:04:14 +0100123 variables:
Eric Anholtaf7dca32020-03-06 13:23:20 -0800124 FDO_DISTRIBUTION_VERSION: buster-slim
Michel Dänzerfcd33772020-03-23 18:16:07 +0100125 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
Eric Anholtaf7dca32020-03-06 13:23:20 -0800126 FDO_DISTRIBUTION_EXEC: 'bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
Eric Engestrom81b98e92019-10-14 23:04:14 +0100127 # no need to pull the whole repo to build the container image
128 GIT_STRATEGY: none
129
Michel Dänzerc6c76522019-11-11 18:13:28 +0100130# Debian 10 based x86 build image
Michel Dänzer3a48f452019-11-13 17:43:41 +0100131x86_build:
Michel Dänzere426f402019-09-06 17:35:52 +0200132 extends:
Michel Dänzerfcd33772020-03-23 18:16:07 +0100133 - .fdo.container-build@debian
Eric Engestrom81b98e92019-10-14 23:04:14 +0100134 - .container
Michel Dänzerc6c76522019-11-11 18:13:28 +0100135 variables:
Eric Anholtc1e7e832020-02-11 15:44:56 -0800136 FDO_DISTRIBUTION_TAG: &x86_build "2020-03-18-jflags"
Eric Engestrom46d23c02019-01-20 11:26:53 +0000137
Michel Dänzer3a48f452019-11-13 17:43:41 +0100138.use-x86_build:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100139 variables:
140 TAG: *x86_build
141 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
Michel Dänzereb86cba2019-10-10 15:27:17 +0200142 needs:
Michel Dänzer3a48f452019-11-13 17:43:41 +0100143 - x86_build
Michel Dänzereb86cba2019-10-10 15:27:17 +0200144
Samuel Pitoiset520a77d2019-11-18 09:15:12 +0100145# Debian 10 based x86 test image for GL
146x86_test-gl:
Michel Dänzer3a48f452019-11-13 17:43:41 +0100147 extends: x86_build
Michel Dänzeraebf43d2019-11-05 18:52:24 +0100148 variables:
Tomeu Vizoso34ed5ff2020-04-21 14:49:19 +0200149 FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-04-21"
Michel Dänzeraebf43d2019-11-05 18:52:24 +0100150
Samuel Pitoisetf2a594f2019-11-18 09:23:18 +0100151# Debian 10 based x86 test image for VK
152x86_test-vk:
153 extends: x86_build
154 variables:
Alexandros Frantzis4c6ce822020-04-09 18:40:38 +0300155 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-04-09"
Samuel Pitoisetf2a594f2019-11-18 09:23:18 +0100156
Michel Dänzerc6c76522019-11-11 18:13:28 +0100157# Debian 9 based x86 build image (old LLVM)
Michel Dänzer3a48f452019-11-13 17:43:41 +0100158x86_build_old:
159 extends: x86_build
Michel Dänzer8a199922019-09-06 17:04:47 +0200160 variables:
Eric Anholtc1e7e832020-02-11 15:44:56 -0800161 FDO_DISTRIBUTION_TAG: &x86_build_old "2019-03-18-jflags"
Eric Anholtaf7dca32020-03-06 13:23:20 -0800162 FDO_DISTRIBUTION_VERSION: stretch-slim
Michel Dänzer8a199922019-09-06 17:04:47 +0200163
Michel Dänzer3a48f452019-11-13 17:43:41 +0100164.use-x86_build_old:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100165 variables:
166 TAG: *x86_build_old
167 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG"
Michel Dänzer88319f22019-09-18 16:17:01 +0200168 needs:
Michel Dänzer3a48f452019-11-13 17:43:41 +0100169 - x86_build_old
Michel Dänzer88319f22019-09-18 16:17:01 +0200170
Michel Dänzerc6c76522019-11-11 18:13:28 +0100171# Debian 10 based ARM build image
Michel Dänzer3a48f452019-11-13 17:43:41 +0100172arm_build:
Michel Dänzere426f402019-09-06 17:35:52 +0200173 extends:
Michel Dänzerfcd33772020-03-23 18:16:07 +0100174 - .fdo.container-build@debian@arm64v8
Eric Engestrom81b98e92019-10-14 23:04:14 +0100175 - .container
Eric Anholt6f0dc082019-06-28 16:35:32 -0700176 variables:
Eric Anholtc1e7e832020-02-11 15:44:56 -0800177 FDO_DISTRIBUTION_TAG: &arm_build "2020-04-01-jflags"
Eric Engestrom46d23c02019-01-20 11:26:53 +0000178
Michel Dänzerc6c76522019-11-11 18:13:28 +0100179.use-arm_build:
Michel Dänzerb4d3ae22019-11-04 09:54:09 +0100180 variables:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100181 TAG: *arm_build
182 image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG"
183 needs:
184 - arm_build
185
186# Debian 10 based ARM test image
187arm_test:
188 extends: arm_build
189 variables:
Eric Anholtc1e7e832020-02-11 15:44:56 -0800190 FDO_DISTRIBUTION_TAG: &arm_test "2020-03-18-jflags"
Michel Dänzerc6c76522019-11-11 18:13:28 +0100191
192.use-arm_test:
193 variables:
194 TAG: *arm_test
195 image: "$CI_REGISTRY_IMAGE/debian/arm_test:$TAG"
196 needs:
197 - meson-arm64
198 - arm_test
Michel Dänzerb4d3ae22019-11-04 09:54:09 +0100199
Daniel Stone07885cb2020-03-24 11:11:36 +0000200# Native Windows docker builds
201#
202# Unlike the above Linux-based builds - including MinGW/SCons builds which
203# cross-compile for Windows - which use the freedesktop ci-templates, we
204# cannot use the same scheme here. As Windows lacks support for
205# Docker-in-Docker, and Podman does not run natively on Windows, we have
206# to open-code much of the same ourselves.
207#
208# This is achieved by first running in a native Windows shell instance
209# (host PowerShell) in the container stage to build and push the image,
210# then in the build stage by executing inside Docker.
211
212.windows-docker-vs2019:
213 variables:
214 WINDOWS_TAG: "2020-03-24"
215 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
216 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
217
Daniel Stone79113462020-04-16 14:56:18 +0100218windows_build_vs2019:
Daniel Stone07885cb2020-03-24 11:11:36 +0000219 extends:
220 - .container
221 - .windows-docker-vs2019
222 stage: container
223 variables:
224 GIT_STRATEGY: fetch # we do actually need the full repository though
225 tags:
226 - windows
227 - shell
228 - "1809"
Daniel Stone2db1d732020-03-30 10:16:18 +0100229 - mesa
Daniel Stone07885cb2020-03-24 11:11:36 +0000230 script:
231 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
232
233.use-windows_build_vs2019:
234 extends: .windows-docker-vs2019
235 image: "$WINDOWS_IMAGE"
236 needs:
Daniel Stone79113462020-04-16 14:56:18 +0100237 - windows_build_vs2019
Eric Engestrom81b98e92019-10-14 23:04:14 +0100238
Eric Engestrom46d23c02019-01-20 11:26:53 +0000239# BUILD
240
Dylan Baker06e46472019-10-23 14:21:31 -0700241# Shared between windows and Linux
242.build-common:
Eric Engestromaba78c22019-10-14 23:52:58 +0100243 extends: .ci-run-policy
Eric Engestrom46d23c02019-01-20 11:26:53 +0000244 artifacts:
Michel Dänzer0103f022020-03-06 12:35:17 +0100245 name: "mesa_${CI_JOB_NAME}"
Eric Anholtdd3d0b22019-07-24 09:27:48 -0700246 when: always
247 paths:
248 - _build/meson-logs/*.txt
249 # scons:
Michel Dänzer5229f272019-07-26 12:20:41 +0200250 - build/*/config.log
Eric Anholtf60defa2019-04-10 15:59:12 -0700251 - shader-db
Dylan Baker06e46472019-10-23 14:21:31 -0700252
253# Just Linux
254.build-linux:
255 extends: .build-common
Michel Dänzere9de19f2019-04-04 18:01:27 +0200256 variables:
257 CCACHE_COMPILERCHECK: "content"
Michel Dänzer32618ee2019-11-20 09:11:35 +0100258 CCACHE_COMPRESS: "true"
259 CCACHE_DIR: /cache/mesa/ccache
Eric Engestrom23b485c2019-02-12 16:59:27 +0000260 # Use ccache transparently, and print stats before/after
261 before_script:
262 - export PATH="/usr/lib/ccache:$PATH"
263 - export CCACHE_BASEDIR="$PWD"
Michel Dänzer32618ee2019-11-20 09:11:35 +0100264 - ccache --show-stats
Eric Engestrom23b485c2019-02-12 16:59:27 +0000265 after_script:
Eric Engestrom23b485c2019-02-12 16:59:27 +0000266 - ccache --show-stats
Eric Engestrom46d23c02019-01-20 11:26:53 +0000267
Dylan Baker19851c92019-10-23 14:36:19 -0700268.build-windows:
269 extends: .build-common
270 tags:
Daniel Stone07885cb2020-03-24 11:11:36 +0000271 - windows
272 - docker
273 - "1809"
Daniel Stone9197fd52020-03-30 15:58:51 +0100274 - mesa
Dylan Baker19851c92019-10-23 14:36:19 -0700275 cache:
276 key: ${CI_JOB_NAME}
277 paths:
278 - subprojects/packagecache
279
Eric Engestrom46d23c02019-01-20 11:26:53 +0000280.meson-build:
Eric Engestromaba78c22019-10-14 23:52:58 +0100281 extends:
Dylan Baker06e46472019-10-23 14:21:31 -0700282 - .build-linux
Michel Dänzer3a48f452019-11-13 17:43:41 +0100283 - .use-x86_build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100284 stage: meson-x86_64
Michel Dänzer5f0ff002019-12-13 11:02:16 +0100285 variables:
286 LLVM_VERSION: 9
Eric Engestrom23b485c2019-02-12 16:59:27 +0000287 script:
Michel Dänzercc2b3a92019-05-03 10:49:43 +0200288 - .gitlab-ci/meson-build.sh
Eric Engestrom46d23c02019-01-20 11:26:53 +0000289
Eric Engestrom06b245b2019-01-23 15:46:10 +0000290.scons-build:
Eric Engestromaba78c22019-10-14 23:52:58 +0100291 extends:
Dylan Baker06e46472019-10-23 14:21:31 -0700292 - .build-linux
Michel Dänzer3a48f452019-11-13 17:43:41 +0100293 - .use-x86_build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100294 stage: scons
Eric Engestrom06b245b2019-01-23 15:46:10 +0000295 variables:
Eric Anholtcb655d22019-11-06 11:14:14 -0800296 SCONSFLAGS: "-j4"
Eric Engestrom06b245b2019-01-23 15:46:10 +0000297 script:
Michel Dänzer0374aac2019-09-12 11:34:43 +0200298 - .gitlab-ci/scons-build.sh
Eric Engestrom06b245b2019-01-23 15:46:10 +0000299
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100300meson-testing:
Michel Dänzere426f402019-09-06 17:35:52 +0200301 extends:
302 - .meson-build
303 - .ci-deqp-artifacts
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200304 variables:
305 UNWIND: "true"
306 DRI_LOADERS: >
307 -D glx=dri
308 -D gbm=true
309 -D egl=true
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100310 -D platforms=x11,drm,surfaceless
311 GALLIUM_ST: >
312 -D dri3=true
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +0200313 GALLIUM_DRIVERS: "swrast,virgl"
Samuel Pitoiset40c6a562019-11-19 14:46:53 +0100314 VULKAN_DRIVERS: amd
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100315 BUILDTYPE: "debugoptimized"
Eric Anholt3c7c0212019-12-16 21:23:02 -0800316 EXTRA_OPTION: >
317 -D werror=true
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100318 script:
319 - .gitlab-ci/meson-build.sh
320 - .gitlab-ci/prepare-artifacts.sh
321
Michel Dänzerc56f0912020-03-12 12:29:40 +0100322meson-gallium:
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100323 extends: .meson-build
324 variables:
325 UNWIND: "true"
326 DRI_LOADERS: >
327 -D glx=dri
328 -D gbm=true
329 -D egl=true
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200330 -D platforms=x11,wayland,drm,surfaceless
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200331 GALLIUM_ST: >
332 -D dri3=true
333 -D gallium-extra-hud=true
334 -D gallium-vdpau=true
335 -D gallium-xvmc=true
336 -D gallium-omx=bellagio
337 -D gallium-va=true
338 -D gallium-xa=true
339 -D gallium-nine=true
340 -D gallium-opencl=disabled
Samuel Pitoisete6d26d72019-11-19 14:36:02 +0100341 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200342 EXTRA_OPTION: >
343 -D osmesa=gallium
344 -D tools=all
Michel Dänzer59fcb012019-10-23 18:42:53 +0200345 script:
346 - .gitlab-ci/meson-build.sh
347 - .gitlab-ci/run-shader-db.sh
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200348
Michel Dänzerc56f0912020-03-12 12:29:40 +0100349meson-classic:
350 extends: .meson-build
351 variables:
352 UNWIND: "true"
353 DRI_LOADERS: >
354 -D glx=dri
355 -D gbm=true
356 -D egl=true
357 -D platforms=x11,wayland,drm,surfaceless
358 DRI_DRIVERS: "auto"
359 EXTRA_OPTION: >
360 -D osmesa=classic
361 -D tools=all
362
Michel Dänzere5364462019-09-13 11:59:43 +0200363.meson-cross:
364 extends:
365 - .meson-build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100366 stage: meson-misc
Michel Dänzere5364462019-09-13 11:59:43 +0200367 variables:
368 UNWIND: "false"
369 DRI_LOADERS: >
370 -D glx=disabled
371 -D gbm=false
372 -D egl=true
373 -D platforms=surfaceless
374 -D osmesa=none
375 GALLIUM_ST: >
376 -D dri3=false
377 -D gallium-vdpau=false
378 -D gallium-xvmc=false
379 -D gallium-omx=disabled
380 -D gallium-va=false
381 -D gallium-xa=false
382 -D gallium-nine=false
Michel Dänzer65610ec2020-01-30 18:21:15 +0100383 LLVM_VERSION: "8"
Michel Dänzere5364462019-09-13 11:59:43 +0200384
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200385.meson-arm:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100386 extends:
387 - .meson-cross
388 - .use-arm_build
Michel Dänzere5364462019-09-13 11:59:43 +0200389 variables:
Michel Dänzere5364462019-09-13 11:59:43 +0200390 VULKAN_DRIVERS: freedreno
Michel Dänzer793f6b32019-10-08 19:48:41 +0200391 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100392 BUILDTYPE: "debugoptimized"
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200393 tags:
394 - aarch64
395
396meson-armhf:
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100397 extends:
398 - .meson-arm
399 - .ci-deqp-artifacts
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200400 variables:
401 CROSS: armhf
Michel Dänzer793f6b32019-10-08 19:48:41 +0200402 LLVM_VERSION: "7"
Eric Anholt25741582020-02-24 10:31:33 -0800403 EXTRA_OPTION: >
404 -D llvm=false
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100405 script:
406 - .gitlab-ci/meson-build.sh
407 - .gitlab-ci/prepare-artifacts.sh
Michel Dänzere5364462019-09-13 11:59:43 +0200408
409meson-arm64:
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200410 extends:
411 - .meson-arm
412 - .ci-deqp-artifacts
Michel Dänzere5364462019-09-13 11:59:43 +0200413 variables:
Rohan Garg9c0bbba2020-02-20 16:37:48 +0100414 VULKAN_DRIVERS: "freedreno"
Eric Anholt25741582020-02-24 10:31:33 -0800415 EXTRA_OPTION: >
416 -D llvm=false
Michel Dänzer59fcb012019-10-23 18:42:53 +0200417 script:
418 - .gitlab-ci/meson-build.sh
419 - .gitlab-ci/prepare-artifacts.sh
Michel Dänzere5364462019-09-13 11:59:43 +0200420
Rohan Garg9c0bbba2020-02-20 16:37:48 +0100421meson-arm64-build-test:
422 extends:
423 - .meson-arm
424 - .ci-deqp-artifacts
425 variables:
426 VULKAN_DRIVERS: "amd"
427 script:
428 - .gitlab-ci/meson-build.sh
429
Michel Dänzera2cce702019-03-20 15:58:31 +0100430meson-clang:
431 extends: .meson-build
432 variables:
433 UNWIND: "true"
Samuel Pitoiset73621762019-11-19 14:37:32 +0100434 DRI_LOADERS: >
435 -D glvnd=true
Michel Dänzera2cce702019-03-20 15:58:31 +0100436 DRI_DRIVERS: "auto"
437 GALLIUM_DRIVERS: "auto"
Eric Engestrom47f419d2019-05-01 12:09:26 +0100438 VULKAN_DRIVERS: intel,amd,freedreno
Michel Dänzer5f0ff002019-12-13 11:02:16 +0100439 CC: "ccache clang-9"
440 CXX: "ccache clang++-9"
Michel Dänzera2cce702019-03-20 15:58:31 +0100441
Daniel Stone79113462020-04-16 14:56:18 +0100442meson-windows-vs2019:
Dylan Baker19851c92019-10-23 14:36:19 -0700443 extends:
444 - .build-windows
Daniel Stone07885cb2020-03-24 11:11:36 +0000445 - .use-windows_build_vs2019
Michel Dänzercc9493f2020-02-27 18:27:56 +0100446 stage: meson-misc
Dylan Baker19851c92019-10-23 14:36:19 -0700447 script:
Daniel Stone07885cb2020-03-24 11:11:36 +0000448 - . .\.gitlab-ci\windows\mesa_build.ps1
Dylan Baker19851c92019-10-23 14:36:19 -0700449
Michel Dänzer82b30092019-05-03 18:19:25 +0200450scons-win64:
451 extends: .scons-build
452 variables:
Jose Fonseca27d58a12020-03-28 10:36:28 +0000453 SCONS_TARGET: platform=windows machine=x86_64 debug=1
Michel Dänzer82b30092019-05-03 18:19:25 +0200454 SCONS_CHECK_COMMAND: "true"
Jose Fonseca27d58a12020-03-28 10:36:28 +0000455 allow_failure: true
Eric Engestrom89a74672019-01-21 09:42:37 +0000456
Michel Dänzer68977152019-05-03 10:58:48 +0200457meson-clover:
Eric Engestromb5a70af2019-01-28 18:05:22 +0000458 extends: .meson-build
459 variables:
460 UNWIND: "true"
461 DRI_LOADERS: >
462 -D glx=disabled
463 -D egl=false
464 -D gbm=false
465 GALLIUM_ST: >
466 -D dri3=false
467 -D gallium-vdpau=false
468 -D gallium-xvmc=false
469 -D gallium-omx=disabled
470 -D gallium-va=false
471 -D gallium-xa=false
472 -D gallium-nine=false
473 -D gallium-opencl=icd
Michel Dänzer68977152019-05-03 10:58:48 +0200474 script:
475 - export GALLIUM_DRIVERS="r600,radeonsi"
476 - .gitlab-ci/meson-build.sh
Samuel Pitoiset7d1c0912019-08-21 11:45:25 +0200477 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
Michel Dänzer68977152019-05-03 10:58:48 +0200478 - export GALLIUM_DRIVERS="i915,r600"
Michel Dänzer8a199922019-09-06 17:04:47 +0200479 - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh
480 - LLVM_VERSION=7 .gitlab-ci/meson-build.sh
481
482meson-clover-old-llvm:
Michel Dänzer88319f22019-09-18 16:17:01 +0200483 extends:
484 - meson-clover
Michel Dänzer3a48f452019-11-13 17:43:41 +0100485 - .use-x86_build_old
Michel Dänzer8a199922019-09-06 17:04:47 +0200486 variables:
487 UNWIND: "false"
488 DRI_LOADERS: >
489 -D glx=disabled
490 -D egl=false
491 -D gbm=false
492 -D platforms=drm,surfaceless
493 GALLIUM_DRIVERS: "i915,r600"
494 script:
Michel Dänzer68977152019-05-03 10:58:48 +0200495 - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh
496 - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh
497 - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh
Eric Engestrom8dab7072019-01-28 18:09:24 +0000498
Michel Dänzer82b30092019-05-03 18:19:25 +0200499meson-vulkan:
500 extends: .meson-build
501 variables:
502 UNWIND: "false"
503 DRI_LOADERS: >
504 -D glx=disabled
505 -D gbm=false
506 -D egl=false
507 -D platforms=x11,wayland,drm
508 -D osmesa=none
509 GALLIUM_ST: >
510 -D dri3=true
511 -D gallium-vdpau=false
512 -D gallium-xvmc=false
513 -D gallium-omx=disabled
514 -D gallium-va=false
515 -D gallium-xa=false
516 -D gallium-nine=false
517 -D gallium-opencl=disabled
Michel Dänzer75cc8c02019-09-25 12:56:58 +0200518 -D b_sanitize=undefined
519 -D c_args=-fno-sanitize-recover=all
520 -D cpp_args=-fno-sanitize-recover=all
521 UBSAN_OPTIONS: "print_stacktrace=1"
Michel Dänzer82b30092019-05-03 18:19:25 +0200522 VULKAN_DRIVERS: intel,amd,freedreno
Eric Engestrom5f8d29a2019-05-08 18:17:23 +0200523 EXTRA_OPTION: >
524 -D vulkan-overlay-layer=true
Eric Anholt3c7c0212019-12-16 21:23:02 -0800525 -D werror=true
Michel Dänzer82b30092019-05-03 18:19:25 +0200526
Eric Anholt11aa32a2019-07-11 12:58:28 -0700527meson-i386:
528 extends: .meson-cross
529 variables:
Eric Engestrom1c82fa02019-08-09 23:46:50 +0100530 CROSS: i386
Samuel Pitoiset529c0ba2020-03-04 09:37:46 +0100531 VULKAN_DRIVERS: intel,amd
Michel Dänzera0591862020-03-12 12:31:05 +0100532 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
Eric Anholt11aa32a2019-07-11 12:58:28 -0700533 EXTRA_OPTION: >
Eric Anholt11aa32a2019-07-11 12:58:28 -0700534 -D vulkan-overlay-layer=true
Eric Anholtf6e59912019-12-16 21:23:02 -0800535 -D werror=true
Samuel Pitoiset529c0ba2020-03-04 09:37:46 +0100536 script:
537 - dpkg -i /var/cache/apt/archives/$CROSS/*.deb
538 - .gitlab-ci/meson-build.sh
Eric Anholt11aa32a2019-07-11 12:58:28 -0700539
Michel Dänzer65610ec2020-01-30 18:21:15 +0100540meson-s390x:
541 extends:
542 - .meson-cross
Michel Dänzer130c0ba2020-03-18 18:41:43 +0100543 tags:
544 - kvm
Michel Dänzer65610ec2020-01-30 18:21:15 +0100545 variables:
546 CROSS: s390x
547 GALLIUM_DRIVERS: "swrast"
Michel Dänzer65610ec2020-01-30 18:21:15 +0100548 script:
Samuel Pitoiset529c0ba2020-03-04 09:37:46 +0100549 # For unknown reasons "too many" installed i386 libraries cause qemu to
550 # crash while executing llvm-config for s390x.
551 - apt-get remove -y libglib2.0-0:i386
Michel Dänzer65610ec2020-01-30 18:21:15 +0100552 - dpkg -i /var/cache/apt/archives/$CROSS/*.deb
553 - .gitlab-ci/meson-build.sh
554
555meson-ppc64el:
556 extends:
557 - meson-s390x
558 variables:
559 CROSS: ppc64el
Michel Dänzer8be81f82020-01-31 16:07:10 +0100560 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
Michel Dänzer8be81f82020-01-31 16:07:10 +0100561 VULKAN_DRIVERS: "amd"
Michel Dänzer65610ec2020-01-30 18:21:15 +0100562
Dylan Baker449f8312019-10-11 09:04:14 -0700563meson-mingw32-x86_64:
Dylan Bakerd905d9b2019-09-19 10:21:51 -0700564 extends: .meson-build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100565 stage: meson-misc
Dylan Bakerd905d9b2019-09-19 10:21:51 -0700566 variables:
567 UNWIND: "false"
568 DRI_DRIVERS: ""
569 GALLIUM_DRIVERS: "swrast"
570 EXTRA_OPTION: >
571 -Dllvm=false
572 -Dosmesa=gallium
573 --cross-file=.gitlab-ci/x86_64-w64-mingw32
574
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100575.test:
Michel Dänzer576f7b62019-10-22 17:16:52 +0200576 extends:
577 - .ci-run-policy
Eric Anholt46daaca2019-06-28 16:35:32 -0700578 variables:
579 GIT_STRATEGY: none # testing doesn't build anything from source
Michel Dänzer576f7b62019-10-22 17:16:52 +0200580 before_script:
Eric Anholt46daaca2019-06-28 16:35:32 -0700581 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
582 - rm -rf install
583 - tar -xf artifacts/install.tar
Samuel Pitoiseteab328f2019-11-14 14:00:46 +0100584 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
Eric Anholt46daaca2019-06-28 16:35:32 -0700585 artifacts:
Rob Clarkfdaf7772019-11-17 11:33:01 -0800586 when: always
Michel Dänzer0103f022020-03-06 12:35:17 +0100587 name: "mesa_${CI_JOB_NAME}"
Eric Anholt46daaca2019-06-28 16:35:32 -0700588 paths:
589 - results/
Michel Dänzercccb68b2019-09-13 11:13:12 +0200590 dependencies:
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100591 - meson-testing
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100592
593.test-gl:
594 extends:
595 - .test
596 variables:
597 TAG: *x86_test-gl
598 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
Michel Dänzerc5aa2712019-10-22 11:19:17 +0200599 needs:
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100600 - meson-testing
Samuel Pitoiset520a77d2019-11-18 09:15:12 +0100601 - x86_test-gl
Eric Anholt46daaca2019-06-28 16:35:32 -0700602
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100603.test-vk:
604 extends:
605 - .test
606 variables:
607 TAG: *x86_test-vk
608 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
609 needs:
610 - meson-testing
611 - x86_test-vk
612
Michel Dänzer576f7b62019-10-22 17:16:52 +0200613.piglit-test:
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100614 extends:
615 - .test-gl
616 - .llvmpipe-rules
Michel Dänzera3b3d3b2019-11-25 18:42:10 +0100617 artifacts:
618 when: on_failure
Michel Dänzer0103f022020-03-06 12:35:17 +0100619 name: "mesa_${CI_JOB_NAME}"
Michel Dänzera3b3d3b2019-11-25 18:42:10 +0100620 paths:
621 - summary/
Michel Dänzer576f7b62019-10-22 17:16:52 +0200622 variables:
623 LIBGL_ALWAYS_SOFTWARE: 1
624 PIGLIT_NO_WINDOW: 1
625 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100626 - install/piglit/run.sh
Michel Dänzer576f7b62019-10-22 17:16:52 +0200627
628piglit-quick_gl:
629 extends: .piglit-test
630 variables:
631 LP_NUM_THREADS: 0
Dave Airliee6b2af52019-12-03 15:23:45 +1000632 NIR_VALIDATE: 0
Michel Dänzer576f7b62019-10-22 17:16:52 +0200633 PIGLIT_OPTIONS: >
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100634 --process-isolation false
Michel Dänzer576f7b62019-10-22 17:16:52 +0200635 -x arb_gpu_shader5
Eric Anholt3097efe2019-12-04 16:13:38 -0800636 -x egl_ext_device_
637 -x egl_ext_platform_device
Matt Turner17c9ec92020-01-21 15:23:39 -0800638 -x ext_timer_query@time-elapsed
Michel Dänzer576f7b62019-10-22 17:16:52 +0200639 -x glx-multithread-clearbuffer
640 -x glx-multithread-shader-compile
641 -x max-texture-size
642 -x maxsize
643 PIGLIT_PROFILES: quick_gl
644
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100645piglit-glslparser:
646 extends: .piglit-test
647 variables:
648 LP_NUM_THREADS: 0
Dave Airliee6b2af52019-12-03 15:23:45 +1000649 NIR_VALIDATE: 0
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100650 PIGLIT_PROFILES: glslparser
651
652piglit-quick_shader:
Michel Dänzer576f7b62019-10-22 17:16:52 +0200653 extends: .piglit-test
654 variables:
655 LP_NUM_THREADS: 1
Dave Airliee6b2af52019-12-03 15:23:45 +1000656 NIR_VALIDATE: 0
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100657 PIGLIT_PROFILES: quick_shader
Michel Dänzer576f7b62019-10-22 17:16:52 +0200658
Samuel Pitoiset16b999b2019-11-19 08:39:00 +0100659.deqp-test:
Michel Dänzer576f7b62019-10-22 17:16:52 +0200660 variables:
661 DEQP_SKIPS: deqp-default-skips.txt
662 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100663 - ./install/deqp-runner.sh
Michel Dänzer576f7b62019-10-22 17:16:52 +0200664
Samuel Pitoiset16b999b2019-11-19 08:39:00 +0100665.deqp-test-gl:
666 extends:
667 - .test-gl
668 - .deqp-test
669
670.deqp-test-vk:
671 extends:
672 - .test-vk
673 - .deqp-test
674 variables:
675 DEQP_VER: vk
676
Samuel Pitoiset1cdb6ed2020-02-26 09:33:14 +0100677.fossilize-test:
678 extends: .test-vk
679 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100680 - ./install/fossilize-runner.sh
Samuel Pitoiset1cdb6ed2020-02-26 09:33:14 +0100681
Michel Dänzer71436f92020-03-03 18:17:12 +0100682llvmpipe-gles2:
Eric Anholt46daaca2019-06-28 16:35:32 -0700683 variables:
684 DEQP_VER: gles2
Eric Anholtf08c8102019-11-04 10:54:41 -0800685 DEQP_PARALLEL: 4
Dave Airliee6b2af52019-12-03 15:23:45 +1000686 NIR_VALIDATE: 0
Eric Anholtf08c8102019-11-04 10:54:41 -0800687 # Don't use threads inside llvmpipe, we've already got all 4 cores
688 # busy with DEQP_PARALLEL.
689 LP_NUM_THREADS: 0
Eric Anholt46daaca2019-06-28 16:35:32 -0700690 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
691 LIBGL_ALWAYS_SOFTWARE: "true"
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100692 extends:
693 - .deqp-test-gl
694 - .llvmpipe-rules
Eric Anholt553cd822019-08-09 10:32:40 -0700695
Michel Dänzer71436f92020-03-03 18:17:12 +0100696softpipe-gles2:
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100697 extends:
698 - llvmpipe-gles2
699 - .softpipe-rules
Eric Anholt553cd822019-08-09 10:32:40 -0700700 variables:
Eric Anholt553cd822019-08-09 10:32:40 -0700701 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
Eric Anholtf08c8102019-11-04 10:54:41 -0800702 DEQP_SKIPS: deqp-softpipe-skips.txt
Eric Anholt553cd822019-08-09 10:32:40 -0700703 GALLIUM_DRIVER: "softpipe"
Eric Anholt553cd822019-08-09 10:32:40 -0700704
Michel Dänzer71436f92020-03-03 18:17:12 +0100705softpipe-gles3:
Eric Anholt52843ec2019-11-05 10:31:29 -0800706 parallel: 2
Eric Anholt553cd822019-08-09 10:32:40 -0700707 variables:
708 DEQP_VER: gles3
Michel Dänzer71436f92020-03-03 18:17:12 +0100709 extends: softpipe-gles2
Eric Anholt52843ec2019-11-05 10:31:29 -0800710
Michel Dänzer71436f92020-03-03 18:17:12 +0100711softpipe-gles31:
Eric Anholt52843ec2019-11-05 10:31:29 -0800712 parallel: 4
713 variables:
714 DEQP_VER: gles31
Michel Dänzer71436f92020-03-03 18:17:12 +0100715 extends: softpipe-gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700716
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +0200717virgl-gles2:
718 variables:
719 DEQP_VER: gles2
720 DEQP_PARALLEL: 4
721 NIR_VALIDATE: 0
722 DEQP_NO_SAVE_RESULTS: 1
723 DEQP_RUNNER_OPTIONS: "--compact-display false"
724 # Don't use threads inside llvmpipe, we've already got all 4 cores
725 # busy with DEQP_PARALLEL.
726 LP_NUM_THREADS: 0
727 DEQP_EXPECTED_FAILS: deqp-virgl-fails.txt
728 LIBGL_ALWAYS_SOFTWARE: "true"
729 GALLIUM_DRIVER: "virpipe"
730 extends:
731 - .deqp-test-gl
732 - .virgl-rules
733
734virgl-gles3:
735 variables:
736 DEQP_VER: gles3
737 CI_NODE_INDEX: 1
738 CI_NODE_TOTAL: 3
739 DEQP_RUNNER_OPTIONS: "--compact-display false --timeout 120"
740 extends: virgl-gles2
741
Tomeu Vizoso5a5316e2020-04-21 14:51:59 +0200742virgl-gles31:
743 variables:
744 DEQP_VER: gles31
745 CI_NODE_INDEX: 1
746 CI_NODE_TOTAL: 10
747 DEQP_OPTIONS: "--deqp-log-images=disable"
748 DEQP_RUNNER_OPTIONS: "--compact-display false --timeout 120"
749 MESA_GLES_VERSION_OVERRIDE: "3.1"
750 MESA_GLSL_VERSION_OVERRIDE: "310"
751 extends: virgl-gles2
752
Eric Anholt8edaa842020-03-19 11:45:01 -0700753# Rules for tests that should not be present in MRs or the main
754# project's pipeline (don't block marge or report red on
755# mesa/mesamaster) but should be present on pipelines in personal
756# branches (so you can opt in to running the flaky test when you want
757# to).
758.test-manual:
759 rules:
Michel Dänzer6a8e5dd2020-04-11 15:32:02 +0200760 - if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
761 changes:
762 *all_paths
763 when: manual
764 - when: never
Eric Anholt8edaa842020-03-19 11:45:01 -0700765
Fritz Koenig2a98cf32020-02-12 19:31:24 +0000766arm64_a630_gles2:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100767 extends:
Samuel Pitoiset520a77d2019-11-18 09:15:12 +0100768 - .deqp-test-gl
Michel Dänzerc6c76522019-11-11 18:13:28 +0100769 - .use-arm_test
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100770 - .freedreno-rules
Eric Anholt6f0dc082019-06-28 16:35:32 -0700771 variables:
772 DEQP_VER: gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700773 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
774 DEQP_SKIPS: deqp-freedreno-a630-skips.txt
775 NIR_VALIDATE: 0
Eric Anholtdd76a6f2019-11-21 05:12:58 -0800776 DEQP_PARALLEL: 4
Rob Clarkfdaf7772019-11-17 11:33:01 -0800777 FLAKES_CHANNEL: "#freedreno-ci"
Eric Anholt6f0dc082019-06-28 16:35:32 -0700778 tags:
779 - mesa-cheza
780 dependencies:
781 - meson-arm64
Eric Anholt6f0dc082019-06-28 16:35:32 -0700782
Fritz Koenig2a98cf32020-02-12 19:31:24 +0000783arm64_a630_gles31:
784 extends: arm64_a630_gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700785 variables:
Michel Dänzer128581d2019-09-11 18:55:43 +0200786 DEQP_VER: gles31
Eric Anholt6f0dc082019-06-28 16:35:32 -0700787
Fritz Koenig2a98cf32020-02-12 19:31:24 +0000788arm64_a630_gles3:
789 extends: arm64_a630_gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700790 variables:
791 DEQP_VER: gles3
792
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800793.baremetal-test:
794 extends:
795 - .ci-run-policy
796 stage: test
797
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800798arm64_a306_gles2:
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800799 extends:
800 - .baremetal-test
801 - .use-arm_build
Eric Anholtf778c482020-03-18 09:51:03 -0700802 - .freedreno-rules
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800803 variables:
Eric Anholt4bc15e72020-03-03 14:38:09 -0800804 BM_KERNEL: /lava-files/Image.gz
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800805 BM_DTB: /lava-files/apq8016-sbc.dtb
806 BM_ROOTFS: /lava-files/rootfs-arm64
807 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800808 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800809 DEQP_SKIPS: deqp-freedreno-a307-skips.txt
810 DEQP_VER: gles2
811 DEQP_PARALLEL: 4
812 script:
813 - .gitlab-ci/bare-metal/fastboot.sh
814 needs:
815 - meson-arm64
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800816 tags:
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800817 - google-freedreno-db410c
818
819# Disabled due to flaky results
Eric Anholt8edaa842020-03-19 11:45:01 -0700820arm64_a306_gles3:
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800821 extends:
822 - arm64_a306_gles2
Eric Anholt8edaa842020-03-19 11:45:01 -0700823 - .test-manual
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800824 parallel: 8
825 variables:
826 DEQP_VER: gles3
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800827
Eric Anholt4bc15e72020-03-03 14:38:09 -0800828arm64_a530_gles2:
829 extends:
830 - arm64_a306_gles2
831 stage: freedreno
832 variables:
833 BM_KERNEL: /lava-files/db820c-kernel
834 BM_DTB: /lava-files/db820c.dtb
835 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
836 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
837 DEQP_SKIPS: deqp-freedreno-a530-skips.txt
838 tags:
839 - google-freedreno-db820c
840
841arm64_a530_gles3:
842 extends:
843 - arm64_a530_gles2
Eric Anholt8edaa842020-03-19 11:45:01 -0700844 - .test-manual
Eric Anholt4bc15e72020-03-03 14:38:09 -0800845 parallel: 6
846 variables:
847 DEQP_VER: gles3
848
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100849# RADV CI
850.test-radv:
Samuel Pitoiset8f554392020-03-09 17:53:51 +0100851 extends: .radv-rules
Samuel Pitoiset48e92032020-03-06 08:39:25 +0100852 stage: radv
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100853 variables:
854 VK_DRIVER: radeon
Samuel Pitoisetff2e11b2019-12-06 17:07:35 +0100855 RADV_DEBUG: checkir
Samuel Pitoiset42a3d822020-02-05 17:04:20 +0100856
Samuel Pitoiset42a3d822020-02-05 17:04:20 +0100857.test-radv-fossilize:
858 extends:
859 - .fossilize-test
860 - .test-radv
Samuel Pitoiset1517e582020-03-06 08:29:45 +0100861 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100862 - ./install/fossilize-runner.sh
863 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
Samuel Pitoiset42a3d822020-02-05 17:04:20 +0100864
Eric Anholt8edaa842020-03-19 11:45:01 -0700865# Can only be triggered manually on personal branches because RADV is the only
866# driver that does Vulkan testing at the moment.
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100867radv_polaris10_vkcts:
868 extends:
869 - .deqp-test-vk
Eric Anholt8edaa842020-03-19 11:45:01 -0700870 - .test-radv
871 - .test-manual
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100872 variables:
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100873 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
874 tags:
875 - polaris10
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200876
Samuel Pitoisete22d5622020-03-06 08:36:14 +0100877radv-fossils:
878 extends:
879 - .fossilize-test
880 - .test-radv
881 script:
882 # Polaris10
883 - export RADV_FORCE_FAMILY="polaris10"
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100884 - ./install/fossilize-runner.sh
885 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
Samuel Pitoisete22d5622020-03-06 08:36:14 +0100886 # Vega10
887 - export RADV_FORCE_FAMILY="gfx900"
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100888 - ./install/fossilize-runner.sh
889 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
Samuel Pitoisete22d5622020-03-06 08:36:14 +0100890 # Navi10
891 - export RADV_FORCE_FAMILY="gfx1010"
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100892 - ./install/fossilize-runner.sh
893 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
Samuel Pitoiset42a3d822020-02-05 17:04:20 +0100894
Andres Gomez0ac731b12020-02-20 18:26:30 +0200895# Traces CI
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200896.traces-test:
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200897 cache:
898 key: ${CI_JOB_NAME}
899 paths:
Rohan Garg90a39af2020-02-28 13:48:53 +0100900 - traces-db/
Andres Gomez0ac731b12020-02-20 18:26:30 +0200901
902.traces-test-gl:
903 extends:
904 - .test-gl
905 - .traces-test
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200906 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100907 - ./install/tracie-runner-gl.sh
Andres Gomez0ac731b12020-02-20 18:26:30 +0200908
909.traces-test-vk:
910 extends:
911 - .test-vk
912 - .traces-test
913 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100914 - ./install/tracie-runner-vk.sh
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200915
916llvmpipe-traces:
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100917 extends:
918 - .traces-test-gl
919 - .llvmpipe-rules
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200920 variables:
921 LIBGL_ALWAYS_SOFTWARE: "true"
922 GALLIUM_DRIVER: "llvmpipe"
Andres Gomez1d755952020-02-20 17:32:08 +0200923 DEVICE_NAME: "gl-vmware-llvmpipe"
Andres Gomez0ac731b12020-02-20 18:26:30 +0200924
925radv-polaris10-traces:
926 extends:
927 - .traces-test-vk
Eric Anholt8edaa842020-03-19 11:45:01 -0700928 - .test-radv
929 - .test-manual
Andres Gomez0ac731b12020-02-20 18:26:30 +0200930 variables:
931 DEVICE_NAME: "vk-amd-polaris10"
932 tags:
933 - polaris10
Tomeu Vizoso8cba1a12020-04-21 15:44:03 +0200934
935virgl-traces:
936 extends:
937 - .traces-test-gl
938 - .virgl-rules
939 variables:
940 LIBGL_ALWAYS_SOFTWARE: "true"
941 GALLIUM_DRIVER: "virpipe"
942 DEVICE_NAME: "gl-virgl"
943 MESA_GLES_VERSION_OVERRIDE: "3.1"
944 MESA_GLSL_VERSION_OVERRIDE: "310"