blob: f80bdac7114bdb43e364979321dbafa621626421 [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'
6 ref: a1699326519fd28526485ce93464e33423bac564
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
113 FDO_REPO_SUFFIX: $CI_JOB_NAME
114 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:
Eric Anholtaf7dca32020-03-06 13:23:20 -0800121 - .fdo.container-ifnot-exists@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:
Eric Anholtaf7dca32020-03-06 13:23:20 -0800143 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-03-16"
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:
Eric Anholtaf7dca32020-03-06 13:23:20 -0800162 - .fdo.container-ifnot-exists@debian@arm64v8
Eric Engestrom81b98e92019-10-14 23:04:14 +0100163 - .container
Eric Anholt6f0dc082019-06-28 16:35:32 -0700164 variables:
Eric Anholt4bc15e72020-03-03 14:38:09 -0800165 FDO_DISTRIBUTION_TAG: &arm_build "2020-03-17-db820c"
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
Eric Engestrom81b98e92019-10-14 23:04:14 +0100188
Eric Engestrom46d23c02019-01-20 11:26:53 +0000189# BUILD
190
Dylan Baker06e46472019-10-23 14:21:31 -0700191# Shared between windows and Linux
192.build-common:
Eric Engestromaba78c22019-10-14 23:52:58 +0100193 extends: .ci-run-policy
Eric Engestrom46d23c02019-01-20 11:26:53 +0000194 artifacts:
Michel Dänzer0103f022020-03-06 12:35:17 +0100195 name: "mesa_${CI_JOB_NAME}"
Eric Anholtdd3d0b22019-07-24 09:27:48 -0700196 when: always
197 paths:
198 - _build/meson-logs/*.txt
199 # scons:
Michel Dänzer5229f272019-07-26 12:20:41 +0200200 - build/*/config.log
Eric Anholtf60defa2019-04-10 15:59:12 -0700201 - shader-db
Dylan Baker06e46472019-10-23 14:21:31 -0700202
203# Just Linux
204.build-linux:
205 extends: .build-common
Michel Dänzere9de19f2019-04-04 18:01:27 +0200206 variables:
207 CCACHE_COMPILERCHECK: "content"
Michel Dänzer32618ee2019-11-20 09:11:35 +0100208 CCACHE_COMPRESS: "true"
209 CCACHE_DIR: /cache/mesa/ccache
Eric Engestrom23b485c2019-02-12 16:59:27 +0000210 # Use ccache transparently, and print stats before/after
211 before_script:
212 - export PATH="/usr/lib/ccache:$PATH"
213 - export CCACHE_BASEDIR="$PWD"
Michel Dänzer32618ee2019-11-20 09:11:35 +0100214 - ccache --show-stats
Eric Engestrom23b485c2019-02-12 16:59:27 +0000215 after_script:
Eric Engestrom23b485c2019-02-12 16:59:27 +0000216 - ccache --show-stats
Eric Engestrom46d23c02019-01-20 11:26:53 +0000217
Dylan Baker19851c92019-10-23 14:36:19 -0700218.build-windows:
219 extends: .build-common
220 tags:
221 - mesa-windows
222 cache:
223 key: ${CI_JOB_NAME}
224 paths:
225 - subprojects/packagecache
226
Eric Engestrom46d23c02019-01-20 11:26:53 +0000227.meson-build:
Eric Engestromaba78c22019-10-14 23:52:58 +0100228 extends:
Dylan Baker06e46472019-10-23 14:21:31 -0700229 - .build-linux
Michel Dänzer3a48f452019-11-13 17:43:41 +0100230 - .use-x86_build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100231 stage: meson-x86_64
Michel Dänzer5f0ff002019-12-13 11:02:16 +0100232 variables:
233 LLVM_VERSION: 9
Eric Engestrom23b485c2019-02-12 16:59:27 +0000234 script:
Michel Dänzercc2b3a92019-05-03 10:49:43 +0200235 - .gitlab-ci/meson-build.sh
Eric Engestrom46d23c02019-01-20 11:26:53 +0000236
Eric Engestrom06b245b2019-01-23 15:46:10 +0000237.scons-build:
Eric Engestromaba78c22019-10-14 23:52:58 +0100238 extends:
Dylan Baker06e46472019-10-23 14:21:31 -0700239 - .build-linux
Michel Dänzer3a48f452019-11-13 17:43:41 +0100240 - .use-x86_build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100241 stage: scons
Eric Engestrom06b245b2019-01-23 15:46:10 +0000242 variables:
Eric Anholtcb655d22019-11-06 11:14:14 -0800243 SCONSFLAGS: "-j4"
Eric Engestrom06b245b2019-01-23 15:46:10 +0000244 script:
Michel Dänzer0374aac2019-09-12 11:34:43 +0200245 - .gitlab-ci/scons-build.sh
Eric Engestrom06b245b2019-01-23 15:46:10 +0000246
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100247meson-testing:
Michel Dänzere426f402019-09-06 17:35:52 +0200248 extends:
249 - .meson-build
250 - .ci-deqp-artifacts
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200251 variables:
252 UNWIND: "true"
253 DRI_LOADERS: >
254 -D glx=dri
255 -D gbm=true
256 -D egl=true
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100257 -D platforms=x11,drm,surfaceless
258 GALLIUM_ST: >
259 -D dri3=true
260 GALLIUM_DRIVERS: "swrast"
Samuel Pitoiset40c6a562019-11-19 14:46:53 +0100261 VULKAN_DRIVERS: amd
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100262 BUILDTYPE: "debugoptimized"
Eric Anholt3c7c0212019-12-16 21:23:02 -0800263 EXTRA_OPTION: >
264 -D werror=true
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100265 script:
266 - .gitlab-ci/meson-build.sh
267 - .gitlab-ci/prepare-artifacts.sh
268
Michel Dänzerc56f0912020-03-12 12:29:40 +0100269meson-gallium:
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100270 extends: .meson-build
271 variables:
272 UNWIND: "true"
273 DRI_LOADERS: >
274 -D glx=dri
275 -D gbm=true
276 -D egl=true
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200277 -D platforms=x11,wayland,drm,surfaceless
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200278 GALLIUM_ST: >
279 -D dri3=true
280 -D gallium-extra-hud=true
281 -D gallium-vdpau=true
282 -D gallium-xvmc=true
283 -D gallium-omx=bellagio
284 -D gallium-va=true
285 -D gallium-xa=true
286 -D gallium-nine=true
287 -D gallium-opencl=disabled
Samuel Pitoisete6d26d72019-11-19 14:36:02 +0100288 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 +0200289 EXTRA_OPTION: >
290 -D osmesa=gallium
291 -D tools=all
Michel Dänzer59fcb012019-10-23 18:42:53 +0200292 script:
293 - .gitlab-ci/meson-build.sh
294 - .gitlab-ci/run-shader-db.sh
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200295
Michel Dänzerc56f0912020-03-12 12:29:40 +0100296meson-classic:
297 extends: .meson-build
298 variables:
299 UNWIND: "true"
300 DRI_LOADERS: >
301 -D glx=dri
302 -D gbm=true
303 -D egl=true
304 -D platforms=x11,wayland,drm,surfaceless
305 DRI_DRIVERS: "auto"
306 EXTRA_OPTION: >
307 -D osmesa=classic
308 -D tools=all
309
Michel Dänzere5364462019-09-13 11:59:43 +0200310.meson-cross:
311 extends:
312 - .meson-build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100313 stage: meson-misc
Michel Dänzere5364462019-09-13 11:59:43 +0200314 variables:
315 UNWIND: "false"
316 DRI_LOADERS: >
317 -D glx=disabled
318 -D gbm=false
319 -D egl=true
320 -D platforms=surfaceless
321 -D osmesa=none
322 GALLIUM_ST: >
323 -D dri3=false
324 -D gallium-vdpau=false
325 -D gallium-xvmc=false
326 -D gallium-omx=disabled
327 -D gallium-va=false
328 -D gallium-xa=false
329 -D gallium-nine=false
Michel Dänzer65610ec2020-01-30 18:21:15 +0100330 LLVM_VERSION: "8"
Michel Dänzere5364462019-09-13 11:59:43 +0200331
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200332.meson-arm:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100333 extends:
334 - .meson-cross
335 - .use-arm_build
Michel Dänzere5364462019-09-13 11:59:43 +0200336 variables:
Michel Dänzere5364462019-09-13 11:59:43 +0200337 VULKAN_DRIVERS: freedreno
Michel Dänzer793f6b32019-10-08 19:48:41 +0200338 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100339 BUILDTYPE: "debugoptimized"
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200340 tags:
341 - aarch64
342
343meson-armhf:
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100344 extends:
345 - .meson-arm
346 - .ci-deqp-artifacts
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200347 variables:
348 CROSS: armhf
Michel Dänzer793f6b32019-10-08 19:48:41 +0200349 LLVM_VERSION: "7"
Eric Anholt25741582020-02-24 10:31:33 -0800350 EXTRA_OPTION: >
351 -D llvm=false
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100352 script:
353 - .gitlab-ci/meson-build.sh
354 - .gitlab-ci/prepare-artifacts.sh
Michel Dänzere5364462019-09-13 11:59:43 +0200355
356meson-arm64:
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200357 extends:
358 - .meson-arm
359 - .ci-deqp-artifacts
Michel Dänzere5364462019-09-13 11:59:43 +0200360 variables:
Rohan Garg9c0bbba2020-02-20 16:37:48 +0100361 VULKAN_DRIVERS: "freedreno"
Eric Anholt25741582020-02-24 10:31:33 -0800362 EXTRA_OPTION: >
363 -D llvm=false
Michel Dänzer59fcb012019-10-23 18:42:53 +0200364 script:
365 - .gitlab-ci/meson-build.sh
366 - .gitlab-ci/prepare-artifacts.sh
Michel Dänzere5364462019-09-13 11:59:43 +0200367
Rohan Garg9c0bbba2020-02-20 16:37:48 +0100368meson-arm64-build-test:
369 extends:
370 - .meson-arm
371 - .ci-deqp-artifacts
372 variables:
373 VULKAN_DRIVERS: "amd"
374 script:
375 - .gitlab-ci/meson-build.sh
376
Michel Dänzera2cce702019-03-20 15:58:31 +0100377meson-clang:
378 extends: .meson-build
379 variables:
380 UNWIND: "true"
Samuel Pitoiset73621762019-11-19 14:37:32 +0100381 DRI_LOADERS: >
382 -D glvnd=true
Michel Dänzera2cce702019-03-20 15:58:31 +0100383 DRI_DRIVERS: "auto"
384 GALLIUM_DRIVERS: "auto"
Eric Engestrom47f419d2019-05-01 12:09:26 +0100385 VULKAN_DRIVERS: intel,amd,freedreno
Michel Dänzer5f0ff002019-12-13 11:02:16 +0100386 CC: "ccache clang-9"
387 CXX: "ccache clang++-9"
Michel Dänzera2cce702019-03-20 15:58:31 +0100388
Michel Dänzeraaf1b092019-10-30 09:38:20 +0100389.meson-windows:
Dylan Baker19851c92019-10-23 14:36:19 -0700390 extends:
391 - .build-windows
Michel Dänzercc9493f2020-02-27 18:27:56 +0100392 stage: meson-misc
Dylan Baker19851c92019-10-23 14:36:19 -0700393 before_script:
394 - $ENV:ARCH = "x86"
395 - $ENV:VERSION = "2019\Community"
396 script:
397 - cmd /C .gitlab-ci\meson-build.bat
398
Michel Dänzer82b30092019-05-03 18:19:25 +0200399scons-win64:
400 extends: .scons-build
401 variables:
402 SCONS_TARGET: platform=windows machine=x86_64
403 SCONS_CHECK_COMMAND: "true"
Eric Engestrom89a74672019-01-21 09:42:37 +0000404
Michel Dänzer68977152019-05-03 10:58:48 +0200405meson-clover:
Eric Engestromb5a70af2019-01-28 18:05:22 +0000406 extends: .meson-build
407 variables:
408 UNWIND: "true"
409 DRI_LOADERS: >
410 -D glx=disabled
411 -D egl=false
412 -D gbm=false
413 GALLIUM_ST: >
414 -D dri3=false
415 -D gallium-vdpau=false
416 -D gallium-xvmc=false
417 -D gallium-omx=disabled
418 -D gallium-va=false
419 -D gallium-xa=false
420 -D gallium-nine=false
421 -D gallium-opencl=icd
Michel Dänzer68977152019-05-03 10:58:48 +0200422 script:
423 - export GALLIUM_DRIVERS="r600,radeonsi"
424 - .gitlab-ci/meson-build.sh
Samuel Pitoiset7d1c0912019-08-21 11:45:25 +0200425 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
Michel Dänzer68977152019-05-03 10:58:48 +0200426 - export GALLIUM_DRIVERS="i915,r600"
Michel Dänzer8a199922019-09-06 17:04:47 +0200427 - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh
428 - LLVM_VERSION=7 .gitlab-ci/meson-build.sh
429
430meson-clover-old-llvm:
Michel Dänzer88319f22019-09-18 16:17:01 +0200431 extends:
432 - meson-clover
Michel Dänzer3a48f452019-11-13 17:43:41 +0100433 - .use-x86_build_old
Michel Dänzer8a199922019-09-06 17:04:47 +0200434 variables:
435 UNWIND: "false"
436 DRI_LOADERS: >
437 -D glx=disabled
438 -D egl=false
439 -D gbm=false
440 -D platforms=drm,surfaceless
441 GALLIUM_DRIVERS: "i915,r600"
442 script:
Michel Dänzer68977152019-05-03 10:58:48 +0200443 - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh
444 - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh
445 - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh
Eric Engestrom8dab7072019-01-28 18:09:24 +0000446
Michel Dänzer82b30092019-05-03 18:19:25 +0200447meson-vulkan:
448 extends: .meson-build
449 variables:
450 UNWIND: "false"
451 DRI_LOADERS: >
452 -D glx=disabled
453 -D gbm=false
454 -D egl=false
455 -D platforms=x11,wayland,drm
456 -D osmesa=none
457 GALLIUM_ST: >
458 -D dri3=true
459 -D gallium-vdpau=false
460 -D gallium-xvmc=false
461 -D gallium-omx=disabled
462 -D gallium-va=false
463 -D gallium-xa=false
464 -D gallium-nine=false
465 -D gallium-opencl=disabled
Michel Dänzer75cc8c02019-09-25 12:56:58 +0200466 -D b_sanitize=undefined
467 -D c_args=-fno-sanitize-recover=all
468 -D cpp_args=-fno-sanitize-recover=all
469 UBSAN_OPTIONS: "print_stacktrace=1"
Michel Dänzer82b30092019-05-03 18:19:25 +0200470 VULKAN_DRIVERS: intel,amd,freedreno
Eric Engestrom5f8d29a2019-05-08 18:17:23 +0200471 EXTRA_OPTION: >
472 -D vulkan-overlay-layer=true
Eric Anholt3c7c0212019-12-16 21:23:02 -0800473 -D werror=true
Michel Dänzer82b30092019-05-03 18:19:25 +0200474
Eric Anholt11aa32a2019-07-11 12:58:28 -0700475meson-i386:
476 extends: .meson-cross
477 variables:
Eric Engestrom1c82fa02019-08-09 23:46:50 +0100478 CROSS: i386
Samuel Pitoiset529c0ba2020-03-04 09:37:46 +0100479 VULKAN_DRIVERS: intel,amd
Michel Dänzera0591862020-03-12 12:31:05 +0100480 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
Eric Anholt11aa32a2019-07-11 12:58:28 -0700481 EXTRA_OPTION: >
Eric Anholt11aa32a2019-07-11 12:58:28 -0700482 -D vulkan-overlay-layer=true
Eric Anholtf6e59912019-12-16 21:23:02 -0800483 -D werror=true
Samuel Pitoiset529c0ba2020-03-04 09:37:46 +0100484 script:
485 - dpkg -i /var/cache/apt/archives/$CROSS/*.deb
486 - .gitlab-ci/meson-build.sh
Eric Anholt11aa32a2019-07-11 12:58:28 -0700487
Michel Dänzer65610ec2020-01-30 18:21:15 +0100488meson-s390x:
489 extends:
490 - .meson-cross
Michel Dänzer130c0ba2020-03-18 18:41:43 +0100491 tags:
492 - kvm
Michel Dänzer65610ec2020-01-30 18:21:15 +0100493 variables:
494 CROSS: s390x
495 GALLIUM_DRIVERS: "swrast"
Michel Dänzer65610ec2020-01-30 18:21:15 +0100496 script:
Samuel Pitoiset529c0ba2020-03-04 09:37:46 +0100497 # For unknown reasons "too many" installed i386 libraries cause qemu to
498 # crash while executing llvm-config for s390x.
499 - apt-get remove -y libglib2.0-0:i386
Michel Dänzer65610ec2020-01-30 18:21:15 +0100500 - dpkg -i /var/cache/apt/archives/$CROSS/*.deb
501 - .gitlab-ci/meson-build.sh
502
503meson-ppc64el:
504 extends:
505 - meson-s390x
506 variables:
507 CROSS: ppc64el
Michel Dänzer8be81f82020-01-31 16:07:10 +0100508 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
Michel Dänzer8be81f82020-01-31 16:07:10 +0100509 VULKAN_DRIVERS: "amd"
Michel Dänzer65610ec2020-01-30 18:21:15 +0100510
Dylan Baker449f8312019-10-11 09:04:14 -0700511meson-mingw32-x86_64:
Dylan Bakerd905d9b2019-09-19 10:21:51 -0700512 extends: .meson-build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100513 stage: meson-misc
Dylan Bakerd905d9b2019-09-19 10:21:51 -0700514 variables:
515 UNWIND: "false"
516 DRI_DRIVERS: ""
517 GALLIUM_DRIVERS: "swrast"
518 EXTRA_OPTION: >
519 -Dllvm=false
520 -Dosmesa=gallium
521 --cross-file=.gitlab-ci/x86_64-w64-mingw32
522
Michel Dänzer88e57962019-09-12 11:45:13 +0200523scons:
Eric Engestromd4c6d4d2019-01-28 16:30:36 +0000524 extends: .scons-build
525 variables:
Michel Dänzerc3727ae2020-03-12 12:13:44 +0100526 SCONS_TARGET: "llvm=1 swr=1"
527 SCONS_CHECK_COMMAND: "scons force_scons=1 ${SCONS_TARGET} check"
Michel Dänzerbaa50242019-09-12 11:38:06 +0200528 script:
Dylan Baker54053bc2019-10-21 09:29:23 -0700529 - SCONS_TARGET="" SCONS_CHECK_COMMAND="scons check force_scons=1" .gitlab-ci/scons-build.sh
Michel Dänzer5f0ff002019-12-13 11:02:16 +0100530 - LLVM_VERSION=9 .gitlab-ci/scons-build.sh
Michel Dänzer8a199922019-09-06 17:04:47 +0200531
532scons-old-llvm:
Michel Dänzer88319f22019-09-18 16:17:01 +0200533 extends:
534 - scons
Michel Dänzer3a48f452019-11-13 17:43:41 +0100535 - .use-x86_build_old
Michel Dänzerbaa50242019-09-12 11:38:06 +0200536 script:
537 - LLVM_VERSION=3.9 .gitlab-ci/scons-build.sh
Eric Anholt46daaca2019-06-28 16:35:32 -0700538
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100539.test:
Michel Dänzer576f7b62019-10-22 17:16:52 +0200540 extends:
541 - .ci-run-policy
Eric Anholt46daaca2019-06-28 16:35:32 -0700542 variables:
543 GIT_STRATEGY: none # testing doesn't build anything from source
Michel Dänzer576f7b62019-10-22 17:16:52 +0200544 before_script:
Eric Anholt46daaca2019-06-28 16:35:32 -0700545 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
546 - rm -rf install
547 - tar -xf artifacts/install.tar
Samuel Pitoiseteab328f2019-11-14 14:00:46 +0100548 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
Eric Anholt46daaca2019-06-28 16:35:32 -0700549 artifacts:
Rob Clarkfdaf7772019-11-17 11:33:01 -0800550 when: always
Michel Dänzer0103f022020-03-06 12:35:17 +0100551 name: "mesa_${CI_JOB_NAME}"
Eric Anholt46daaca2019-06-28 16:35:32 -0700552 paths:
553 - results/
Michel Dänzercccb68b2019-09-13 11:13:12 +0200554 dependencies:
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100555 - meson-testing
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100556
557.test-gl:
558 extends:
559 - .test
560 variables:
561 TAG: *x86_test-gl
562 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
Michel Dänzerc5aa2712019-10-22 11:19:17 +0200563 needs:
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100564 - meson-testing
Samuel Pitoiset520a77d2019-11-18 09:15:12 +0100565 - x86_test-gl
Eric Anholt46daaca2019-06-28 16:35:32 -0700566
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100567.test-vk:
568 extends:
569 - .test
570 variables:
571 TAG: *x86_test-vk
572 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
573 needs:
574 - meson-testing
575 - x86_test-vk
576
Michel Dänzer576f7b62019-10-22 17:16:52 +0200577.piglit-test:
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100578 extends:
579 - .test-gl
580 - .llvmpipe-rules
Michel Dänzera3b3d3b2019-11-25 18:42:10 +0100581 artifacts:
582 when: on_failure
Michel Dänzer0103f022020-03-06 12:35:17 +0100583 name: "mesa_${CI_JOB_NAME}"
Michel Dänzera3b3d3b2019-11-25 18:42:10 +0100584 paths:
585 - summary/
Michel Dänzer576f7b62019-10-22 17:16:52 +0200586 variables:
587 LIBGL_ALWAYS_SOFTWARE: 1
588 PIGLIT_NO_WINDOW: 1
589 script:
590 - artifacts/piglit/run.sh
591
592piglit-quick_gl:
593 extends: .piglit-test
594 variables:
595 LP_NUM_THREADS: 0
Dave Airliee6b2af52019-12-03 15:23:45 +1000596 NIR_VALIDATE: 0
Michel Dänzer576f7b62019-10-22 17:16:52 +0200597 PIGLIT_OPTIONS: >
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100598 --process-isolation false
Michel Dänzer576f7b62019-10-22 17:16:52 +0200599 -x arb_gpu_shader5
Eric Anholt3097efe2019-12-04 16:13:38 -0800600 -x egl_ext_device_
601 -x egl_ext_platform_device
Matt Turner17c9ec92020-01-21 15:23:39 -0800602 -x ext_timer_query@time-elapsed
Michel Dänzer576f7b62019-10-22 17:16:52 +0200603 -x glx-multithread-clearbuffer
604 -x glx-multithread-shader-compile
605 -x max-texture-size
606 -x maxsize
607 PIGLIT_PROFILES: quick_gl
608
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100609piglit-glslparser:
610 extends: .piglit-test
611 variables:
612 LP_NUM_THREADS: 0
Dave Airliee6b2af52019-12-03 15:23:45 +1000613 NIR_VALIDATE: 0
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100614 PIGLIT_PROFILES: glslparser
615
616piglit-quick_shader:
Michel Dänzer576f7b62019-10-22 17:16:52 +0200617 extends: .piglit-test
618 variables:
619 LP_NUM_THREADS: 1
Dave Airliee6b2af52019-12-03 15:23:45 +1000620 NIR_VALIDATE: 0
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100621 PIGLIT_PROFILES: quick_shader
Michel Dänzer576f7b62019-10-22 17:16:52 +0200622
Samuel Pitoiset16b999b2019-11-19 08:39:00 +0100623.deqp-test:
Michel Dänzer576f7b62019-10-22 17:16:52 +0200624 variables:
625 DEQP_SKIPS: deqp-default-skips.txt
626 script:
627 - ./artifacts/deqp-runner.sh
628
Samuel Pitoiset16b999b2019-11-19 08:39:00 +0100629.deqp-test-gl:
630 extends:
631 - .test-gl
632 - .deqp-test
633
634.deqp-test-vk:
635 extends:
636 - .test-vk
637 - .deqp-test
638 variables:
639 DEQP_VER: vk
640
Samuel Pitoiset1cdb6ed2020-02-26 09:33:14 +0100641.fossilize-test:
642 extends: .test-vk
643 script:
644 - ./artifacts/fossilize-runner.sh
645
Michel Dänzer71436f92020-03-03 18:17:12 +0100646llvmpipe-gles2:
Eric Anholt46daaca2019-06-28 16:35:32 -0700647 variables:
648 DEQP_VER: gles2
Eric Anholtf08c8102019-11-04 10:54:41 -0800649 DEQP_PARALLEL: 4
Dave Airliee6b2af52019-12-03 15:23:45 +1000650 NIR_VALIDATE: 0
Eric Anholtf08c8102019-11-04 10:54:41 -0800651 # Don't use threads inside llvmpipe, we've already got all 4 cores
652 # busy with DEQP_PARALLEL.
653 LP_NUM_THREADS: 0
Eric Anholt46daaca2019-06-28 16:35:32 -0700654 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
655 LIBGL_ALWAYS_SOFTWARE: "true"
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100656 extends:
657 - .deqp-test-gl
658 - .llvmpipe-rules
Eric Anholt553cd822019-08-09 10:32:40 -0700659
Michel Dänzer71436f92020-03-03 18:17:12 +0100660softpipe-gles2:
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100661 extends:
662 - llvmpipe-gles2
663 - .softpipe-rules
Eric Anholt553cd822019-08-09 10:32:40 -0700664 variables:
Eric Anholt553cd822019-08-09 10:32:40 -0700665 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
Eric Anholtf08c8102019-11-04 10:54:41 -0800666 DEQP_SKIPS: deqp-softpipe-skips.txt
Eric Anholt553cd822019-08-09 10:32:40 -0700667 GALLIUM_DRIVER: "softpipe"
Eric Anholt553cd822019-08-09 10:32:40 -0700668
Michel Dänzer71436f92020-03-03 18:17:12 +0100669softpipe-gles3:
Eric Anholt52843ec2019-11-05 10:31:29 -0800670 parallel: 2
Eric Anholt553cd822019-08-09 10:32:40 -0700671 variables:
672 DEQP_VER: gles3
Michel Dänzer71436f92020-03-03 18:17:12 +0100673 extends: softpipe-gles2
Eric Anholt52843ec2019-11-05 10:31:29 -0800674
Michel Dänzer71436f92020-03-03 18:17:12 +0100675softpipe-gles31:
Eric Anholt52843ec2019-11-05 10:31:29 -0800676 parallel: 4
677 variables:
678 DEQP_VER: gles31
Michel Dänzer71436f92020-03-03 18:17:12 +0100679 extends: softpipe-gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700680
Eric Anholt8edaa842020-03-19 11:45:01 -0700681# Rules for tests that should not be present in MRs or the main
682# project's pipeline (don't block marge or report red on
683# mesa/mesamaster) but should be present on pipelines in personal
684# branches (so you can opt in to running the flaky test when you want
685# to).
686.test-manual:
687 rules:
688 # Never test in the main project.
689 - if: '$CI_PROJECT_PATH == "mesa/mesa"'
690 when: never
691 # Never test in merge requests.
692 - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
693 when: never
694 # Otherwise, allow testing manually for personal branches.
695 - when: manual
696
Fritz Koenig2a98cf32020-02-12 19:31:24 +0000697arm64_a630_gles2:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100698 extends:
Samuel Pitoiset520a77d2019-11-18 09:15:12 +0100699 - .deqp-test-gl
Michel Dänzerc6c76522019-11-11 18:13:28 +0100700 - .use-arm_test
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100701 - .freedreno-rules
Eric Anholt6f0dc082019-06-28 16:35:32 -0700702 variables:
703 DEQP_VER: gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700704 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
705 DEQP_SKIPS: deqp-freedreno-a630-skips.txt
706 NIR_VALIDATE: 0
Eric Anholtdd76a6f2019-11-21 05:12:58 -0800707 DEQP_PARALLEL: 4
Rob Clarkfdaf7772019-11-17 11:33:01 -0800708 FLAKES_CHANNEL: "#freedreno-ci"
Eric Anholt6f0dc082019-06-28 16:35:32 -0700709 tags:
710 - mesa-cheza
711 dependencies:
712 - meson-arm64
Eric Anholt6f0dc082019-06-28 16:35:32 -0700713
Fritz Koenig2a98cf32020-02-12 19:31:24 +0000714arm64_a630_gles31:
715 extends: arm64_a630_gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700716 variables:
Michel Dänzer128581d2019-09-11 18:55:43 +0200717 DEQP_VER: gles31
Eric Anholt6f0dc082019-06-28 16:35:32 -0700718
Fritz Koenig2a98cf32020-02-12 19:31:24 +0000719arm64_a630_gles3:
720 extends: arm64_a630_gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700721 variables:
722 DEQP_VER: gles3
723
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800724.baremetal-test:
725 extends:
726 - .ci-run-policy
727 stage: test
728
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800729arm64_a306_gles2:
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800730 extends:
731 - .baremetal-test
732 - .use-arm_build
Eric Anholtf778c482020-03-18 09:51:03 -0700733 - .freedreno-rules
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800734 variables:
Eric Anholt4bc15e72020-03-03 14:38:09 -0800735 BM_KERNEL: /lava-files/Image.gz
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800736 BM_DTB: /lava-files/apq8016-sbc.dtb
737 BM_ROOTFS: /lava-files/rootfs-arm64
738 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800739 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800740 DEQP_SKIPS: deqp-freedreno-a307-skips.txt
741 DEQP_VER: gles2
742 DEQP_PARALLEL: 4
743 script:
744 - .gitlab-ci/bare-metal/fastboot.sh
745 needs:
746 - meson-arm64
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800747 tags:
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800748 - google-freedreno-db410c
749
750# Disabled due to flaky results
Eric Anholt8edaa842020-03-19 11:45:01 -0700751arm64_a306_gles3:
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800752 extends:
753 - arm64_a306_gles2
Eric Anholt8edaa842020-03-19 11:45:01 -0700754 - .test-manual
Eric Anholtcf5ba9d2020-03-03 14:38:09 -0800755 parallel: 8
756 variables:
757 DEQP_VER: gles3
Eric Anholtaea8c9c2020-03-03 11:44:45 -0800758
Eric Anholt4bc15e72020-03-03 14:38:09 -0800759arm64_a530_gles2:
760 extends:
761 - arm64_a306_gles2
762 stage: freedreno
763 variables:
764 BM_KERNEL: /lava-files/db820c-kernel
765 BM_DTB: /lava-files/db820c.dtb
766 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
767 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
768 DEQP_SKIPS: deqp-freedreno-a530-skips.txt
769 tags:
770 - google-freedreno-db820c
771
772arm64_a530_gles3:
773 extends:
774 - arm64_a530_gles2
Eric Anholt8edaa842020-03-19 11:45:01 -0700775 - .test-manual
Eric Anholt4bc15e72020-03-03 14:38:09 -0800776 parallel: 6
777 variables:
778 DEQP_VER: gles3
779
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100780# RADV CI
781.test-radv:
Samuel Pitoiset8f554392020-03-09 17:53:51 +0100782 extends: .radv-rules
Samuel Pitoiset48e92032020-03-06 08:39:25 +0100783 stage: radv
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100784 variables:
785 VK_DRIVER: radeon
Samuel Pitoisetff2e11b2019-12-06 17:07:35 +0100786 RADV_DEBUG: checkir
Samuel Pitoiset42a3d822020-02-05 17:04:20 +0100787
Samuel Pitoiset42a3d822020-02-05 17:04:20 +0100788.test-radv-fossilize:
789 extends:
790 - .fossilize-test
791 - .test-radv
Samuel Pitoiset1517e582020-03-06 08:29:45 +0100792 script:
793 - ./artifacts/fossilize-runner.sh
794 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./artifacts/fossilize-runner.sh
Samuel Pitoiset42a3d822020-02-05 17:04:20 +0100795
Eric Anholt8edaa842020-03-19 11:45:01 -0700796# Can only be triggered manually on personal branches because RADV is the only
797# driver that does Vulkan testing at the moment.
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100798radv_polaris10_vkcts:
799 extends:
800 - .deqp-test-vk
Eric Anholt8edaa842020-03-19 11:45:01 -0700801 - .test-radv
802 - .test-manual
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100803 variables:
Samuel Pitoisetc1a36272019-11-13 11:03:52 +0100804 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
805 tags:
806 - polaris10
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200807
Samuel Pitoisete22d5622020-03-06 08:36:14 +0100808radv-fossils:
809 extends:
810 - .fossilize-test
811 - .test-radv
812 script:
813 # Polaris10
814 - export RADV_FORCE_FAMILY="polaris10"
815 - ./artifacts/fossilize-runner.sh
816 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./artifacts/fossilize-runner.sh
817 # Vega10
818 - export RADV_FORCE_FAMILY="gfx900"
819 - ./artifacts/fossilize-runner.sh
820 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./artifacts/fossilize-runner.sh
821 # Navi10
822 - export RADV_FORCE_FAMILY="gfx1010"
823 - ./artifacts/fossilize-runner.sh
824 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./artifacts/fossilize-runner.sh
Samuel Pitoiset42a3d822020-02-05 17:04:20 +0100825
Andres Gomez0ac731b12020-02-20 18:26:30 +0200826# Traces CI
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200827.traces-test:
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200828 cache:
829 key: ${CI_JOB_NAME}
830 paths:
Rohan Garg90a39af2020-02-28 13:48:53 +0100831 - traces-db/
Andres Gomez0ac731b12020-02-20 18:26:30 +0200832
833.traces-test-gl:
834 extends:
835 - .test-gl
836 - .traces-test
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200837 script:
Andres Gomez0ac731b12020-02-20 18:26:30 +0200838 - ./artifacts/tracie-runner-gl.sh
839
840.traces-test-vk:
841 extends:
842 - .test-vk
843 - .traces-test
844 script:
845 - ./artifacts/tracie-runner-vk.sh
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200846
847llvmpipe-traces:
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100848 extends:
849 - .traces-test-gl
850 - .llvmpipe-rules
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +0200851 variables:
852 LIBGL_ALWAYS_SOFTWARE: "true"
853 GALLIUM_DRIVER: "llvmpipe"
Andres Gomez1d755952020-02-20 17:32:08 +0200854 DEVICE_NAME: "gl-vmware-llvmpipe"
Andres Gomez0ac731b12020-02-20 18:26:30 +0200855
856radv-polaris10-traces:
857 extends:
858 - .traces-test-vk
Eric Anholt8edaa842020-03-19 11:45:01 -0700859 - .test-radv
860 - .test-manual
Andres Gomez0ac731b12020-02-20 18:26:30 +0200861 variables:
862 DEVICE_NAME: "vk-amd-polaris10"
863 tags:
864 - polaris10