blob: f1697574de2201aa2ba7adfe822153221112bc9b [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
Michel Dänzer8775b742020-01-13 09:45:57 +010022 - success
Eric Engestrom329f5cd2019-01-20 11:21:45 +000023
24
Eric Engestrom7f5d9c22019-02-22 15:52:08 +000025# When to automatically run the CI
Michel Dänzere426f402019-09-06 17:35:52 +020026.ci-run-policy:
Michel Dänzer41797a12019-09-26 09:27:27 +020027 rules:
Michel Dänzer8775b742020-01-13 09:45:57 +010028 # Run pipeline by default for merge requests changing files affecting it
29 - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
30 changes: &paths
31 - VERSION
32 - bin/**/*
33 # GitLab CI
34 - .gitlab-ci.yml
35 - .gitlab-ci/**/*
36 # Meson
37 - meson*
38 - build-support/**/*
39 - subprojects/**/*
40 # SCons
41 - SConstruct
42 - scons/**/*
43 - common.py
44 # Source code
45 - include/**/*
46 - src/**/*
47 when: on_success
48 # Run pipeline by default in the main project if files affecting it were
49 # changed
50 - if: '$CI_PROJECT_PATH == "mesa/mesa"'
51 changes:
52 *paths
53 when: on_success
54 # Allow triggering jobs manually on branches of forked projects
Michel Dänzer5a6a88f2020-01-20 18:39:50 +010055 - if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
Michel Dänzer8775b742020-01-13 09:45:57 +010056 when: manual
57 # Otherwise, most jobs won't run
58 - when: never
Michel Dänzer6140ed32019-03-26 18:39:41 +010059 retry:
60 max: 2
61 when:
62 - runner_system_failure
Eric Engestromac78ca42019-11-12 23:42:21 +000063 # Cancel CI run if a newer commit is pushed to the same branch
64 interruptible: true
Eric Engestrom7f5d9c22019-02-22 15:52:08 +000065
Michel Dänzer8775b742020-01-13 09:45:57 +010066success:
67 stage: success
68 image: debian:stable-slim
69 only:
70 - merge_requests
71 except:
72 changes:
73 *paths
Michel Dänzer2dd0cc62020-01-20 18:34:34 +010074 variables:
75 GIT_STRATEGY: none
Michel Dänzer8775b742020-01-13 09:45:57 +010076 script:
77 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
78
79
Michel Dänzere426f402019-09-06 17:35:52 +020080.ci-deqp-artifacts:
Eric Anholt46daaca2019-06-28 16:35:32 -070081 artifacts:
Michel Dänzer0103f022020-03-06 12:35:17 +010082 name: "mesa_${CI_JOB_NAME}"
Eric Anholt46daaca2019-06-28 16:35:32 -070083 when: always
84 untracked: false
85 paths:
86 # Watch out! Artifacts are relative to the build dir.
87 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
88 - artifacts
Eric Engestrom7f5d9c22019-02-22 15:52:08 +000089
Tomeu Vizoso22d97642019-12-17 11:50:14 +010090# Build the CI docker images.
Michel Dänzerc6c76522019-11-11 18:13:28 +010091#
Eric Anholtaf7dca32020-03-06 13:23:20 -080092# 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 +010093# image doesn't exist yet, the container stage job generates it.
94#
95# In order to generate a new image, one should generally change the tag.
96# While removing the image from the registry would also work, that's not
97# recommended except for ephemeral images during development: Replacing
98# an image after a significant amount of time might pull in newer
99# versions of gcc/clang or other packages, which might break the build
100# with older commits using the same tag.
101#
102# After merging a change resulting in generating a new image to the
103# main repository, it's recommended to remove the image from the source
104# repository's container registry, so that the image from the main
105# repository's registry will be used there as well.
Michel Dänzer8a199922019-09-06 17:04:47 +0200106
Eric Engestrom81b98e92019-10-14 23:04:14 +0100107.container:
108 stage: container
109 extends:
110 - .ci-run-policy
111 variables:
Eric Anholtaf7dca32020-03-06 13:23:20 -0800112 FDO_DISTRIBUTION_VERSION: buster-slim
Michel Dänzerfcd33772020-03-23 18:16:07 +0100113 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
Eric Anholtaf7dca32020-03-06 13:23:20 -0800114 FDO_DISTRIBUTION_EXEC: 'bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
Eric Engestrom81b98e92019-10-14 23:04:14 +0100115 # no need to pull the whole repo to build the container image
116 GIT_STRATEGY: none
117
Michel Dänzerc6c76522019-11-11 18:13:28 +0100118# Debian 10 based x86 build image
Michel Dänzer3a48f452019-11-13 17:43:41 +0100119x86_build:
Michel Dänzere426f402019-09-06 17:35:52 +0200120 extends:
Michel Dänzerfcd33772020-03-23 18:16:07 +0100121 - .fdo.container-build@debian
Eric Engestrom81b98e92019-10-14 23:04:14 +0100122 - .container
Michel Dänzerc6c76522019-11-11 18:13:28 +0100123 variables:
Eric Anholtaf7dca32020-03-06 13:23:20 -0800124 FDO_DISTRIBUTION_TAG: &x86_build "2020-03-13"
Eric Engestrom46d23c02019-01-20 11:26:53 +0000125
Michel Dänzer3a48f452019-11-13 17:43:41 +0100126.use-x86_build:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100127 variables:
128 TAG: *x86_build
129 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
Michel Dänzereb86cba2019-10-10 15:27:17 +0200130 needs:
Michel Dänzer3a48f452019-11-13 17:43:41 +0100131 - x86_build
Michel Dänzereb86cba2019-10-10 15:27:17 +0200132
Samuel Pitoiset520a77d2019-11-18 09:15:12 +0100133# Debian 10 based x86 test image for GL
134x86_test-gl:
Michel Dänzer3a48f452019-11-13 17:43:41 +0100135 extends: x86_build
Michel Dänzeraebf43d2019-11-05 18:52:24 +0100136 variables:
Eric Anholtaf7dca32020-03-06 13:23:20 -0800137 FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-03-13"
Michel Dänzeraebf43d2019-11-05 18:52:24 +0100138
Samuel Pitoisetf2a594f2019-11-18 09:23:18 +0100139# Debian 10 based x86 test image for VK
140x86_test-vk:
141 extends: x86_build
142 variables:
Andres Gomezfb8fa832020-03-08 23:37:23 +0200143 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-03-27"
Samuel Pitoisetf2a594f2019-11-18 09:23:18 +0100144
Michel Dänzerc6c76522019-11-11 18:13:28 +0100145# Debian 9 based x86 build image (old LLVM)
Michel Dänzer3a48f452019-11-13 17:43:41 +0100146x86_build_old:
147 extends: x86_build
Michel Dänzer8a199922019-09-06 17:04:47 +0200148 variables:
Eric Anholtaf7dca32020-03-06 13:23:20 -0800149 FDO_DISTRIBUTION_TAG: &x86_build_old "2019-09-18"
150 FDO_DISTRIBUTION_VERSION: stretch-slim
Michel Dänzer8a199922019-09-06 17:04:47 +0200151
Michel Dänzer3a48f452019-11-13 17:43:41 +0100152.use-x86_build_old:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100153 variables:
154 TAG: *x86_build_old
155 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG"
Michel Dänzer88319f22019-09-18 16:17:01 +0200156 needs:
Michel Dänzer3a48f452019-11-13 17:43:41 +0100157 - x86_build_old
Michel Dänzer88319f22019-09-18 16:17:01 +0200158
Michel Dänzerc6c76522019-11-11 18:13:28 +0100159# Debian 10 based ARM build image
Michel Dänzer3a48f452019-11-13 17:43:41 +0100160arm_build:
Michel Dänzere426f402019-09-06 17:35:52 +0200161 extends:
Michel Dänzerfcd33772020-03-23 18:16:07 +0100162 - .fdo.container-build@debian@arm64v8
Eric Engestrom81b98e92019-10-14 23:04:14 +0100163 - .container
Eric Anholt6f0dc082019-06-28 16:35:32 -0700164 variables:
Tomeu Vizosob1238492020-03-24 12:58:43 +0100165 FDO_DISTRIBUTION_TAG: &arm_build "2020-03-24"
Eric Engestrom46d23c02019-01-20 11:26:53 +0000166
Michel Dänzerc6c76522019-11-11 18:13:28 +0100167.use-arm_build:
Michel Dänzerb4d3ae22019-11-04 09:54:09 +0100168 variables:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100169 TAG: *arm_build
170 image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG"
171 needs:
172 - arm_build
173
174# Debian 10 based ARM test image
175arm_test:
176 extends: arm_build
177 variables:
Eric Anholtaf7dca32020-03-06 13:23:20 -0800178 FDO_DISTRIBUTION_TAG: &arm_test "2020-01-30"
Michel Dänzerc6c76522019-11-11 18:13:28 +0100179
180.use-arm_test:
181 variables:
182 TAG: *arm_test
183 image: "$CI_REGISTRY_IMAGE/debian/arm_test:$TAG"
184 needs:
185 - meson-arm64
186 - arm_test
Michel Dänzerb4d3ae22019-11-04 09:54:09 +0100187
Daniel Stone07885cb2020-03-24 11:11:36 +0000188# Native Windows docker builds
189#
190# Unlike the above Linux-based builds - including MinGW/SCons builds which
191# cross-compile for Windows - which use the freedesktop ci-templates, we
192# cannot use the same scheme here. As Windows lacks support for
193# Docker-in-Docker, and Podman does not run natively on Windows, we have
194# to open-code much of the same ourselves.
195#
196# This is achieved by first running in a native Windows shell instance
197# (host PowerShell) in the container stage to build and push the image,
198# then in the build stage by executing inside Docker.
199
200.windows-docker-vs2019:
201 variables:
202 WINDOWS_TAG: "2020-03-24"
203 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
204 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
205
206windows_build_vs2019:
207 extends:
208 - .container
209 - .windows-docker-vs2019
210 stage: container
211 variables:
212 GIT_STRATEGY: fetch # we do actually need the full repository though
213 tags:
214 - windows
215 - shell
216 - "1809"
Daniel Stone2db1d732020-03-30 10:16:18 +0100217 - mesa
Daniel Stone07885cb2020-03-24 11:11:36 +0000218 script:
219 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
220
221.use-windows_build_vs2019:
222 extends: .windows-docker-vs2019
223 image: "$WINDOWS_IMAGE"
224 needs:
225 - windows_build_vs2019
Eric Engestrom81b98e92019-10-14 23:04:14 +0100226
Eric Engestrom46d23c02019-01-20 11:26:53 +0000227# BUILD
228
Dylan Baker06e46472019-10-23 14:21:31 -0700229# Shared between windows and Linux
230.build-common:
Eric Engestromaba78c22019-10-14 23:52:58 +0100231 extends: .ci-run-policy
Eric Engestrom46d23c02019-01-20 11:26:53 +0000232 artifacts:
Michel Dänzer0103f022020-03-06 12:35:17 +0100233 name: "mesa_${CI_JOB_NAME}"
Eric Anholtdd3d0b22019-07-24 09:27:48 -0700234 when: always
235 paths:
236 - _build/meson-logs/*.txt
237 # scons:
Michel Dänzer5229f272019-07-26 12:20:41 +0200238 - build/*/config.log
Eric Anholtf60defa2019-04-10 15:59:12 -0700239 - shader-db
Dylan Baker06e46472019-10-23 14:21:31 -0700240
241# Just Linux
242.build-linux:
243 extends: .build-common
Michel Dänzere9de19f2019-04-04 18:01:27 +0200244 variables:
245 CCACHE_COMPILERCHECK: "content"
Michel Dänzer32618ee2019-11-20 09:11:35 +0100246 CCACHE_COMPRESS: "true"
247 CCACHE_DIR: /cache/mesa/ccache
Eric Engestrom23b485c2019-02-12 16:59:27 +0000248 # Use ccache transparently, and print stats before/after
249 before_script:
250 - export PATH="/usr/lib/ccache:$PATH"
251 - export CCACHE_BASEDIR="$PWD"
Michel Dänzer32618ee2019-11-20 09:11:35 +0100252 - ccache --show-stats
Eric Engestrom23b485c2019-02-12 16:59:27 +0000253 after_script:
Eric Engestrom23b485c2019-02-12 16:59:27 +0000254 - ccache --show-stats
Eric Engestrom46d23c02019-01-20 11:26:53 +0000255
Dylan Baker19851c92019-10-23 14:36:19 -0700256.build-windows:
257 extends: .build-common
258 tags:
Daniel Stone07885cb2020-03-24 11:11:36 +0000259 - windows
260 - docker
261 - "1809"
Daniel Stone9197fd52020-03-30 15:58:51 +0100262 - mesa
Dylan Baker19851c92019-10-23 14:36:19 -0700263 cache:
264 key: ${CI_JOB_NAME}
265 paths:
266 - subprojects/packagecache
267
Eric Engestrom46d23c02019-01-20 11:26:53 +0000268.meson-build:
Eric Engestromaba78c22019-10-14 23:52:58 +0100269 extends:
Dylan Baker06e46472019-10-23 14:21:31 -0700270 - .build-linux
Michel Dänzer3a48f452019-11-13 17:43:41 +0100271 - .use-x86_build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100272 stage: meson-x86_64
Michel Dänzer5f0ff002019-12-13 11:02:16 +0100273 variables:
274 LLVM_VERSION: 9
Eric Engestrom23b485c2019-02-12 16:59:27 +0000275 script:
Michel Dänzercc2b3a92019-05-03 10:49:43 +0200276 - .gitlab-ci/meson-build.sh
Eric Engestrom46d23c02019-01-20 11:26:53 +0000277
Eric Engestrom06b245b2019-01-23 15:46:10 +0000278.scons-build:
Eric Engestromaba78c22019-10-14 23:52:58 +0100279 extends:
Dylan Baker06e46472019-10-23 14:21:31 -0700280 - .build-linux
Michel Dänzer3a48f452019-11-13 17:43:41 +0100281 - .use-x86_build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100282 stage: scons
Eric Engestrom06b245b2019-01-23 15:46:10 +0000283 variables:
Eric Anholtcb655d22019-11-06 11:14:14 -0800284 SCONSFLAGS: "-j4"
Eric Engestrom06b245b2019-01-23 15:46:10 +0000285 script:
Michel Dänzer0374aac2019-09-12 11:34:43 +0200286 - .gitlab-ci/scons-build.sh
Eric Engestrom06b245b2019-01-23 15:46:10 +0000287
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100288meson-testing:
Michel Dänzere426f402019-09-06 17:35:52 +0200289 extends:
290 - .meson-build
291 - .ci-deqp-artifacts
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200292 variables:
293 UNWIND: "true"
294 DRI_LOADERS: >
295 -D glx=dri
296 -D gbm=true
297 -D egl=true
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100298 -D platforms=x11,drm,surfaceless
299 GALLIUM_ST: >
300 -D dri3=true
301 GALLIUM_DRIVERS: "swrast"
Samuel Pitoiset40c6a562019-11-19 14:46:53 +0100302 VULKAN_DRIVERS: amd
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100303 BUILDTYPE: "debugoptimized"
Eric Anholt3c7c0212019-12-16 21:23:02 -0800304 EXTRA_OPTION: >
305 -D werror=true
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100306 script:
307 - .gitlab-ci/meson-build.sh
308 - .gitlab-ci/prepare-artifacts.sh
309
Michel Dänzerc56f0912020-03-12 12:29:40 +0100310meson-gallium:
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100311 extends: .meson-build
312 variables:
313 UNWIND: "true"
314 DRI_LOADERS: >
315 -D glx=dri
316 -D gbm=true
317 -D egl=true
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200318 -D platforms=x11,wayland,drm,surfaceless
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200319 GALLIUM_ST: >
320 -D dri3=true
321 -D gallium-extra-hud=true
322 -D gallium-vdpau=true
323 -D gallium-xvmc=true
324 -D gallium-omx=bellagio
325 -D gallium-va=true
326 -D gallium-xa=true
327 -D gallium-nine=true
328 -D gallium-opencl=disabled
Samuel Pitoisete6d26d72019-11-19 14:36:02 +0100329 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 +0200330 EXTRA_OPTION: >
331 -D osmesa=gallium
332 -D tools=all
Michel Dänzer59fcb012019-10-23 18:42:53 +0200333 script:
334 - .gitlab-ci/meson-build.sh
335 - .gitlab-ci/run-shader-db.sh
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200336
Michel Dänzerc56f0912020-03-12 12:29:40 +0100337meson-classic:
338 extends: .meson-build
339 variables:
340 UNWIND: "true"
341 DRI_LOADERS: >
342 -D glx=dri
343 -D gbm=true
344 -D egl=true
345 -D platforms=x11,wayland,drm,surfaceless
346 DRI_DRIVERS: "auto"
347 EXTRA_OPTION: >
348 -D osmesa=classic
349 -D tools=all
350
Michel Dänzere5364462019-09-13 11:59:43 +0200351.meson-cross:
352 extends:
353 - .meson-build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100354 stage: meson-misc
Michel Dänzere5364462019-09-13 11:59:43 +0200355 variables:
356 UNWIND: "false"
357 DRI_LOADERS: >
358 -D glx=disabled
359 -D gbm=false
360 -D egl=true
361 -D platforms=surfaceless
362 -D osmesa=none
363 GALLIUM_ST: >
364 -D dri3=false
365 -D gallium-vdpau=false
366 -D gallium-xvmc=false
367 -D gallium-omx=disabled
368 -D gallium-va=false
369 -D gallium-xa=false
370 -D gallium-nine=false
Michel Dänzer65610ec2020-01-30 18:21:15 +0100371 LLVM_VERSION: "8"
Michel Dänzere5364462019-09-13 11:59:43 +0200372
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200373.meson-arm:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100374 extends:
375 - .meson-cross
376 - .use-arm_build
Michel Dänzere5364462019-09-13 11:59:43 +0200377 variables:
Michel Dänzere5364462019-09-13 11:59:43 +0200378 VULKAN_DRIVERS: freedreno
Michel Dänzer793f6b32019-10-08 19:48:41 +0200379 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100380 BUILDTYPE: "debugoptimized"
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200381 tags:
382 - aarch64
383
384meson-armhf:
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100385 extends:
386 - .meson-arm
387 - .ci-deqp-artifacts
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200388 variables:
389 CROSS: armhf
Michel Dänzer793f6b32019-10-08 19:48:41 +0200390 LLVM_VERSION: "7"
Eric Anholt25741582020-02-24 10:31:33 -0800391 EXTRA_OPTION: >
392 -D llvm=false
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100393 script:
394 - .gitlab-ci/meson-build.sh
395 - .gitlab-ci/prepare-artifacts.sh
Michel Dänzere5364462019-09-13 11:59:43 +0200396
397meson-arm64:
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200398 extends:
399 - .meson-arm
400 - .ci-deqp-artifacts
Michel Dänzere5364462019-09-13 11:59:43 +0200401 variables:
Rohan Garg9c0bbba2020-02-20 16:37:48 +0100402 VULKAN_DRIVERS: "freedreno"
Eric Anholt25741582020-02-24 10:31:33 -0800403 EXTRA_OPTION: >
404 -D llvm=false
Michel Dänzer59fcb012019-10-23 18:42:53 +0200405 script:
406 - .gitlab-ci/meson-build.sh
407 - .gitlab-ci/prepare-artifacts.sh
Michel Dänzere5364462019-09-13 11:59:43 +0200408
Rohan Garg9c0bbba2020-02-20 16:37:48 +0100409meson-arm64-build-test:
410 extends:
411 - .meson-arm
412 - .ci-deqp-artifacts
413 variables:
414 VULKAN_DRIVERS: "amd"
415 script:
416 - .gitlab-ci/meson-build.sh
417
Michel Dänzera2cce702019-03-20 15:58:31 +0100418meson-clang:
419 extends: .meson-build
420 variables:
421 UNWIND: "true"
Samuel Pitoiset73621762019-11-19 14:37:32 +0100422 DRI_LOADERS: >
423 -D glvnd=true
Michel Dänzera2cce702019-03-20 15:58:31 +0100424 DRI_DRIVERS: "auto"
425 GALLIUM_DRIVERS: "auto"
Eric Engestrom47f419d2019-05-01 12:09:26 +0100426 VULKAN_DRIVERS: intel,amd,freedreno
Michel Dänzer5f0ff002019-12-13 11:02:16 +0100427 CC: "ccache clang-9"
428 CXX: "ccache clang++-9"
Michel Dänzera2cce702019-03-20 15:58:31 +0100429
Daniel Stone9197fd52020-03-30 15:58:51 +0100430meson-windows-vs2019:
Dylan Baker19851c92019-10-23 14:36:19 -0700431 extends:
432 - .build-windows
Daniel Stone07885cb2020-03-24 11:11:36 +0000433 - .use-windows_build_vs2019
Michel Dänzercc9493f2020-02-27 18:27:56 +0100434 stage: meson-misc
Dylan Baker19851c92019-10-23 14:36:19 -0700435 script:
Daniel Stone07885cb2020-03-24 11:11:36 +0000436 - . .\.gitlab-ci\windows\mesa_build.ps1
Dylan Baker19851c92019-10-23 14:36:19 -0700437
Michel Dänzer82b30092019-05-03 18:19:25 +0200438scons-win64:
439 extends: .scons-build
440 variables:
Jose Fonseca27d58a12020-03-28 10:36:28 +0000441 SCONS_TARGET: platform=windows machine=x86_64 debug=1
Michel Dänzer82b30092019-05-03 18:19:25 +0200442 SCONS_CHECK_COMMAND: "true"
Jose Fonseca27d58a12020-03-28 10:36:28 +0000443 allow_failure: true
Eric Engestrom89a74672019-01-21 09:42:37 +0000444
Michel Dänzer68977152019-05-03 10:58:48 +0200445meson-clover:
Eric Engestromb5a70af2019-01-28 18:05:22 +0000446 extends: .meson-build
447 variables:
448 UNWIND: "true"
449 DRI_LOADERS: >
450 -D glx=disabled
451 -D egl=false
452 -D gbm=false
453 GALLIUM_ST: >
454 -D dri3=false
455 -D gallium-vdpau=false
456 -D gallium-xvmc=false
457 -D gallium-omx=disabled
458 -D gallium-va=false
459 -D gallium-xa=false
460 -D gallium-nine=false
461 -D gallium-opencl=icd
Michel Dänzer68977152019-05-03 10:58:48 +0200462 script:
463 - export GALLIUM_DRIVERS="r600,radeonsi"
464 - .gitlab-ci/meson-build.sh
Samuel Pitoiset7d1c0912019-08-21 11:45:25 +0200465 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
Michel Dänzer68977152019-05-03 10:58:48 +0200466 - export GALLIUM_DRIVERS="i915,r600"
Michel Dänzer8a199922019-09-06 17:04:47 +0200467 - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh
468 - LLVM_VERSION=7 .gitlab-ci/meson-build.sh
469
470meson-clover-old-llvm:
Michel Dänzer88319f22019-09-18 16:17:01 +0200471 extends:
472 - meson-clover
Michel Dänzer3a48f452019-11-13 17:43:41 +0100473 - .use-x86_build_old
Michel Dänzer8a199922019-09-06 17:04:47 +0200474 variables:
475 UNWIND: "false"
476 DRI_LOADERS: >
477 -D glx=disabled
478 -D egl=false
479 -D gbm=false
480 -D platforms=drm,surfaceless
481 GALLIUM_DRIVERS: "i915,r600"
482 script:
Michel Dänzer68977152019-05-03 10:58:48 +0200483 - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh
484 - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh
485 - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh
Eric Engestrom8dab7072019-01-28 18:09:24 +0000486
Michel Dänzer82b30092019-05-03 18:19:25 +0200487meson-vulkan:
488 extends: .meson-build
489 variables:
490 UNWIND: "false"
491 DRI_LOADERS: >
492 -D glx=disabled
493 -D gbm=false
494 -D egl=false
495 -D platforms=x11,wayland,drm
496 -D osmesa=none
497 GALLIUM_ST: >
498 -D dri3=true
499 -D gallium-vdpau=false
500 -D gallium-xvmc=false
501 -D gallium-omx=disabled
502 -D gallium-va=false
503 -D gallium-xa=false
504 -D gallium-nine=false
505 -D gallium-opencl=disabled
Michel Dänzer75cc8c02019-09-25 12:56:58 +0200506 -D b_sanitize=undefined
507 -D c_args=-fno-sanitize-recover=all
508 -D cpp_args=-fno-sanitize-recover=all
509 UBSAN_OPTIONS: "print_stacktrace=1"
Michel Dänzer82b30092019-05-03 18:19:25 +0200510 VULKAN_DRIVERS: intel,amd,freedreno
Eric Engestrom5f8d29a2019-05-08 18:17:23 +0200511 EXTRA_OPTION: >
512 -D vulkan-overlay-layer=true
Eric Anholt3c7c0212019-12-16 21:23:02 -0800513 -D werror=true
Michel Dänzer82b30092019-05-03 18:19:25 +0200514
Eric Anholt11aa32a2019-07-11 12:58:28 -0700515meson-i386:
516 extends: .meson-cross
517 variables:
Eric Engestrom1c82fa02019-08-09 23:46:50 +0100518 CROSS: i386
Samuel Pitoiset529c0ba2020-03-04 09:37:46 +0100519 VULKAN_DRIVERS: intel,amd
Michel Dänzera0591862020-03-12 12:31:05 +0100520 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
Eric Anholt11aa32a2019-07-11 12:58:28 -0700521 EXTRA_OPTION: >
Eric Anholt11aa32a2019-07-11 12:58:28 -0700522 -D vulkan-overlay-layer=true
Eric Anholtf6e59912019-12-16 21:23:02 -0800523 -D werror=true
Samuel Pitoiset529c0ba2020-03-04 09:37:46 +0100524 script:
525 - dpkg -i /var/cache/apt/archives/$CROSS/*.deb
526 - .gitlab-ci/meson-build.sh
Eric Anholt11aa32a2019-07-11 12:58:28 -0700527
Michel Dänzer65610ec2020-01-30 18:21:15 +0100528meson-s390x:
529 extends:
530 - .meson-cross
Michel Dänzer130c0ba2020-03-18 18:41:43 +0100531 tags:
532 - kvm
Michel Dänzer65610ec2020-01-30 18:21:15 +0100533 variables:
534 CROSS: s390x
535 GALLIUM_DRIVERS: "swrast"
Michel Dänzer65610ec2020-01-30 18:21:15 +0100536 script:
Samuel Pitoiset529c0ba2020-03-04 09:37:46 +0100537 # For unknown reasons "too many" installed i386 libraries cause qemu to
538 # crash while executing llvm-config for s390x.
539 - apt-get remove -y libglib2.0-0:i386
Michel Dänzer65610ec2020-01-30 18:21:15 +0100540 - dpkg -i /var/cache/apt/archives/$CROSS/*.deb
541 - .gitlab-ci/meson-build.sh
542
543meson-ppc64el:
544 extends:
545 - meson-s390x
546 variables:
547 CROSS: ppc64el
Michel Dänzer8be81f82020-01-31 16:07:10 +0100548 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
Michel Dänzer8be81f82020-01-31 16:07:10 +0100549 VULKAN_DRIVERS: "amd"
Michel Dänzer65610ec2020-01-30 18:21:15 +0100550
Dylan Baker449f8312019-10-11 09:04:14 -0700551meson-mingw32-x86_64:
Dylan Bakerd905d9b2019-09-19 10:21:51 -0700552 extends: .meson-build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100553 stage: meson-misc
Dylan Bakerd905d9b2019-09-19 10:21:51 -0700554 variables:
555 UNWIND: "false"
556 DRI_DRIVERS: ""
557 GALLIUM_DRIVERS: "swrast"
558 EXTRA_OPTION: >
559 -Dllvm=false
560 -Dosmesa=gallium
561 --cross-file=.gitlab-ci/x86_64-w64-mingw32
562
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100563.test:
Michel Dänzer576f7b62019-10-22 17:16:52 +0200564 extends:
565 - .ci-run-policy
Eric Anholt46daaca2019-06-28 16:35:32 -0700566 variables:
567 GIT_STRATEGY: none # testing doesn't build anything from source
Michel Dänzer576f7b62019-10-22 17:16:52 +0200568 before_script:
Eric Anholt46daaca2019-06-28 16:35:32 -0700569 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
570 - rm -rf install
571 - tar -xf artifacts/install.tar
Samuel Pitoiseteab328f2019-11-14 14:00:46 +0100572 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
Eric Anholt46daaca2019-06-28 16:35:32 -0700573 artifacts:
Rob Clarkfdaf7772019-11-17 11:33:01 -0800574 when: always
Michel Dänzer0103f022020-03-06 12:35:17 +0100575 name: "mesa_${CI_JOB_NAME}"
Eric Anholt46daaca2019-06-28 16:35:32 -0700576 paths:
577 - results/
Michel Dänzercccb68b2019-09-13 11:13:12 +0200578 dependencies:
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100579 - meson-testing
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100580
581.test-gl:
582 extends:
583 - .test
584 variables:
585 TAG: *x86_test-gl
586 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
Michel Dänzerc5aa2712019-10-22 11:19:17 +0200587 needs:
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100588 - meson-testing
Samuel Pitoiset520a77d2019-11-18 09:15:12 +0100589 - x86_test-gl
Eric Anholt46daaca2019-06-28 16:35:32 -0700590
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100591.test-vk:
592 extends:
593 - .test
594 variables:
595 TAG: *x86_test-vk
596 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
597 needs:
598 - meson-testing
599 - x86_test-vk
600
Michel Dänzer576f7b62019-10-22 17:16:52 +0200601.piglit-test:
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100602 extends:
603 - .test-gl
604 - .llvmpipe-rules
Michel Dänzera3b3d3b2019-11-25 18:42:10 +0100605 artifacts:
606 when: on_failure
Michel Dänzer0103f022020-03-06 12:35:17 +0100607 name: "mesa_${CI_JOB_NAME}"
Michel Dänzera3b3d3b2019-11-25 18:42:10 +0100608 paths:
609 - summary/
Michel Dänzer576f7b62019-10-22 17:16:52 +0200610 variables:
611 LIBGL_ALWAYS_SOFTWARE: 1
612 PIGLIT_NO_WINDOW: 1
613 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100614 - install/piglit/run.sh
Michel Dänzer576f7b62019-10-22 17:16:52 +0200615
616piglit-quick_gl:
617 extends: .piglit-test
618 variables:
619 LP_NUM_THREADS: 0
Dave Airliee6b2af52019-12-03 15:23:45 +1000620 NIR_VALIDATE: 0
Michel Dänzer576f7b62019-10-22 17:16:52 +0200621 PIGLIT_OPTIONS: >
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100622 --process-isolation false
Michel Dänzer576f7b62019-10-22 17:16:52 +0200623 -x arb_gpu_shader5
Eric Anholt3097efe2019-12-04 16:13:38 -0800624 -x egl_ext_device_
625 -x egl_ext_platform_device
Matt Turner17c9ec92020-01-21 15:23:39 -0800626 -x ext_timer_query@time-elapsed
Michel Dänzer576f7b62019-10-22 17:16:52 +0200627 -x glx-multithread-clearbuffer
628 -x glx-multithread-shader-compile
629 -x max-texture-size
630 -x maxsize
631 PIGLIT_PROFILES: quick_gl
632
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100633piglit-glslparser:
634 extends: .piglit-test
635 variables:
636 LP_NUM_THREADS: 0
Dave Airliee6b2af52019-12-03 15:23:45 +1000637 NIR_VALIDATE: 0
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100638 PIGLIT_PROFILES: glslparser
639
640piglit-quick_shader:
Michel Dänzer576f7b62019-10-22 17:16:52 +0200641 extends: .piglit-test
642 variables:
643 LP_NUM_THREADS: 1
Dave Airliee6b2af52019-12-03 15:23:45 +1000644 NIR_VALIDATE: 0
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100645 PIGLIT_PROFILES: quick_shader
Michel Dänzer576f7b62019-10-22 17:16:52 +0200646
Samuel Pitoiset16b999b2019-11-19 08:39:00 +0100647.deqp-test:
Michel Dänzer576f7b62019-10-22 17:16:52 +0200648 variables:
649 DEQP_SKIPS: deqp-default-skips.txt
650 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100651 - ./install/deqp-runner.sh
Michel Dänzer576f7b62019-10-22 17:16:52 +0200652
Samuel Pitoiset16b999b2019-11-19 08:39:00 +0100653.deqp-test-gl:
654 extends:
655 - .test-gl
656 - .deqp-test
657
658.deqp-test-vk:
659 extends:
660 - .test-vk
661 - .deqp-test
662 variables:
663 DEQP_VER: vk
664
Samuel Pitoiset1cdb6ed2020-02-26 09:33:14 +0100665.fossilize-test:
666 extends: .test-vk
667 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100668 - ./install/fossilize-runner.sh
Samuel Pitoiset1cdb6ed2020-02-26 09:33:14 +0100669
Michel Dänzer71436f92020-03-03 18:17:12 +0100670llvmpipe-gles2:
Eric Anholt46daaca2019-06-28 16:35:32 -0700671 variables:
672 DEQP_VER: gles2
Eric Anholtf08c8102019-11-04 10:54:41 -0800673 DEQP_PARALLEL: 4
Dave Airliee6b2af52019-12-03 15:23:45 +1000674 NIR_VALIDATE: 0
Eric Anholtf08c8102019-11-04 10:54:41 -0800675 # Don't use threads inside llvmpipe, we've already got all 4 cores
676 # busy with DEQP_PARALLEL.
677 LP_NUM_THREADS: 0
Eric Anholt46daaca2019-06-28 16:35:32 -0700678 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
679 LIBGL_ALWAYS_SOFTWARE: "true"
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100680 extends:
681 - .deqp-test-gl
682 - .llvmpipe-rules
Eric Anholt553cd822019-08-09 10:32:40 -0700683
Michel Dänzer71436f92020-03-03 18:17:12 +0100684softpipe-gles2:
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100685 extends:
686 - llvmpipe-gles2
687 - .softpipe-rules
Eric Anholt553cd822019-08-09 10:32:40 -0700688 variables:
Eric Anholt553cd822019-08-09 10:32:40 -0700689 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
Eric Anholtf08c8102019-11-04 10:54:41 -0800690 DEQP_SKIPS: deqp-softpipe-skips.txt
Eric Anholt553cd822019-08-09 10:32:40 -0700691 GALLIUM_DRIVER: "softpipe"
Eric Anholt553cd822019-08-09 10:32:40 -0700692
Michel Dänzer71436f92020-03-03 18:17:12 +0100693softpipe-gles3:
Eric Anholt52843ec2019-11-05 10:31:29 -0800694 parallel: 2
Eric Anholt553cd822019-08-09 10:32:40 -0700695 variables:
696 DEQP_VER: gles3
Michel Dänzer71436f92020-03-03 18:17:12 +0100697 extends: softpipe-gles2
Eric Anholt52843ec2019-11-05 10:31:29 -0800698
Michel Dänzer71436f92020-03-03 18:17:12 +0100699softpipe-gles31:
Eric Anholt52843ec2019-11-05 10:31:29 -0800700 parallel: 4
701 variables:
702 DEQP_VER: gles31
Michel Dänzer71436f92020-03-03 18:17:12 +0100703 extends: softpipe-gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700704
Eric Anholt8edaa842020-03-19 11:45:01 -0700705# Rules for tests that should not be present in MRs or the main
706# project's pipeline (don't block marge or report red on
707# mesa/mesamaster) but should be present on pipelines in personal
708# branches (so you can opt in to running the flaky test when you want
709# to).
710.test-manual:
711 rules:
712 # Never test in the main project.
713 - if: '$CI_PROJECT_PATH == "mesa/mesa"'
714 when: never
715 # Never test in merge requests.
716 - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
717 when: never
718 # Otherwise, allow testing manually for personal branches.
719 - when: manual
720
Fritz Koenig2a98cf32020-02-12 19:31:24 +0000721arm64_a630_gles2:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100722 extends:
Samuel Pitoiset520a77d2019-11-18 09:15:12 +0100723 - .deqp-test-gl
Michel Dänzerc6c76522019-11-11 18:13:28 +0100724 - .use-arm_test
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100725 - .freedreno-rules
Eric Anholt6f0dc082019-06-28 16:35:32 -0700726 variables:
727 DEQP_VER: gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700728 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
729 DEQP_SKIPS: deqp-freedreno-a630-skips.txt
730 NIR_VALIDATE: 0
Eric Anholtdd76a6f2019-11-21 05:12:58 -0800731 DEQP_PARALLEL: 4
Rob Clarkfdaf7772019-11-17 11:33:01 -0800732 FLAKES_CHANNEL: "#freedreno-ci"
Eric Anholt6f0dc082019-06-28 16:35:32 -0700733 tags:
734 - mesa-cheza
735 dependencies:
736 - meson-arm64
Eric Anholt6f0dc082019-06-28 16:35:32 -0700737
Fritz Koenig2a98cf32020-02-12 19:31:24 +0000738arm64_a630_gles31:
739 extends: arm64_a630_gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700740 variables:
Michel Dänzer128581d2019-09-11 18:55:43 +0200741 DEQP_VER: gles31
Eric Anholt6f0dc082019-06-28 16:35:32 -0700742
Fritz Koenig2a98cf32020-02-12 19:31:24 +0000743arm64_a630_gles3:
744 extends: arm64_a630_gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700745 variables:
746 DEQP_VER: gles3
747
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800748.baremetal-test:
749 extends:
750 - .ci-run-policy
751 stage: test
752
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800753arm64_a306_gles2:
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800754 extends:
755 - .baremetal-test
756 - .use-arm_build
Eric Anholtf778c482020-03-18 09:51:03 -0700757 - .freedreno-rules
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800758 variables:
Eric Anholt4bc15e72020-03-03 14:38:09 -0800759 BM_KERNEL: /lava-files/Image.gz
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800760 BM_DTB: /lava-files/apq8016-sbc.dtb
761 BM_ROOTFS: /lava-files/rootfs-arm64
762 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800763 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800764 DEQP_SKIPS: deqp-freedreno-a307-skips.txt
765 DEQP_VER: gles2
766 DEQP_PARALLEL: 4
767 script:
768 - .gitlab-ci/bare-metal/fastboot.sh
769 needs:
770 - meson-arm64
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800771 tags:
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800772 - google-freedreno-db410c
773
774# Disabled due to flaky results
Eric Anholt8edaa842020-03-19 11:45:01 -0700775arm64_a306_gles3:
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800776 extends:
777 - arm64_a306_gles2
Eric Anholt8edaa842020-03-19 11:45:01 -0700778 - .test-manual
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800779 parallel: 8
780 variables:
781 DEQP_VER: gles3
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800782
Eric Anholt4bc15e72020-03-03 14:38:09 -0800783arm64_a530_gles2:
784 extends:
785 - arm64_a306_gles2
786 stage: freedreno
787 variables:
788 BM_KERNEL: /lava-files/db820c-kernel
789 BM_DTB: /lava-files/db820c.dtb
790 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
791 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
792 DEQP_SKIPS: deqp-freedreno-a530-skips.txt
793 tags:
794 - google-freedreno-db820c
795
796arm64_a530_gles3:
797 extends:
798 - arm64_a530_gles2
Eric Anholt8edaa842020-03-19 11:45:01 -0700799 - .test-manual
Eric Anholt4bc15e72020-03-03 14:38:09 -0800800 parallel: 6
801 variables:
802 DEQP_VER: gles3
803
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100804# RADV CI
805.test-radv:
Samuel Pitoiset8f554392020-03-09 17:53:51 +0100806 extends: .radv-rules
Samuel Pitoiset48e92032020-03-06 08:39:25 +0100807 stage: radv
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100808 variables:
809 VK_DRIVER: radeon
Samuel Pitoisetff2e11b2019-12-06 17:07:35 +0100810 RADV_DEBUG: checkir
Samuel Pitoiset42a3d822020-02-05 17:04:20 +0100811
Samuel Pitoiset42a3d822020-02-05 17:04:20 +0100812.test-radv-fossilize:
813 extends:
814 - .fossilize-test
815 - .test-radv
Samuel Pitoiset1517e582020-03-06 08:29:45 +0100816 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100817 - ./install/fossilize-runner.sh
818 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
Samuel Pitoiset42a3d822020-02-05 17:04:20 +0100819
Eric Anholt8edaa842020-03-19 11:45:01 -0700820# Can only be triggered manually on personal branches because RADV is the only
821# driver that does Vulkan testing at the moment.
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100822radv_polaris10_vkcts:
823 extends:
824 - .deqp-test-vk
Eric Anholt8edaa842020-03-19 11:45:01 -0700825 - .test-radv
826 - .test-manual
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100827 variables:
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100828 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
829 tags:
830 - polaris10
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200831
Samuel Pitoisete22d5622020-03-06 08:36:14 +0100832radv-fossils:
833 extends:
834 - .fossilize-test
835 - .test-radv
836 script:
837 # Polaris10
838 - export RADV_FORCE_FAMILY="polaris10"
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100839 - ./install/fossilize-runner.sh
840 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
Samuel Pitoisete22d5622020-03-06 08:36:14 +0100841 # Vega10
842 - export RADV_FORCE_FAMILY="gfx900"
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100843 - ./install/fossilize-runner.sh
844 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
Samuel Pitoisete22d5622020-03-06 08:36:14 +0100845 # Navi10
846 - export RADV_FORCE_FAMILY="gfx1010"
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100847 - ./install/fossilize-runner.sh
848 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
Samuel Pitoiset42a3d822020-02-05 17:04:20 +0100849
Andres Gomez0ac731b12020-02-20 18:26:30 +0200850# Traces CI
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200851.traces-test:
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200852 cache:
853 key: ${CI_JOB_NAME}
854 paths:
Rohan Garg90a39af2020-02-28 13:48:53 +0100855 - traces-db/
Andres Gomez0ac731b12020-02-20 18:26:30 +0200856
857.traces-test-gl:
858 extends:
859 - .test-gl
860 - .traces-test
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200861 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100862 - ./install/tracie-runner-gl.sh
Andres Gomez0ac731b12020-02-20 18:26:30 +0200863
864.traces-test-vk:
865 extends:
866 - .test-vk
867 - .traces-test
868 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100869 - ./install/tracie-runner-vk.sh
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200870
871llvmpipe-traces:
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100872 extends:
873 - .traces-test-gl
874 - .llvmpipe-rules
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200875 variables:
876 LIBGL_ALWAYS_SOFTWARE: "true"
877 GALLIUM_DRIVER: "llvmpipe"
Andres Gomez1d755952020-02-20 17:32:08 +0200878 DEVICE_NAME: "gl-vmware-llvmpipe"
Andres Gomez0ac731b12020-02-20 18:26:30 +0200879
880radv-polaris10-traces:
881 extends:
882 - .traces-test-vk
Eric Anholt8edaa842020-03-19 11:45:01 -0700883 - .test-radv
884 - .test-manual
Andres Gomez0ac731b12020-02-20 18:26:30 +0200885 variables:
886 DEVICE_NAME: "vk-amd-polaris10"
887 tags:
888 - polaris10