blob: 4ad29d71117ef6dceb931e4d57d50b15a3206932 [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 Tissoires0b6e03b2020-06-11 17:16:28 +02003 CI_PRE_CLONE_SCRIPT: |-
4 set -o xtrace
5 /usr/bin/wget -q -O- ${CI_PROJECT_URL}/-/raw/${CI_COMMIT_SHA}/.gitlab-ci/download-git-cache.sh | sh -
6 set +o xtrace
Benjamin Tissoires7f8a9a12019-04-02 09:24:00 +02007
8include:
Eric Anholtaf7dca32020-03-06 13:23:20 -08009 - project: 'freedesktop/ci-templates'
Benjamin Tissoires0b6e03b2020-06-11 17:16:28 +020010 ref: &ci-templates-sha 52dd4a94044449c8481d18dcdc221a3c636366d2
Michel Dänzerd00b1c42019-04-02 16:56:54 +020011 file: '/templates/debian.yml'
Benjamin Tissoires0b6e03b2020-06-11 17:16:28 +020012 - project: 'freedesktop/ci-templates'
13 ref: *ci-templates-sha
14 file: '/templates/alpine.yml'
Dylan Baker19851c92019-10-23 14:36:19 -070015 - local: '.gitlab-ci/lava-gitlab-ci.yml'
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +010016 - local: '.gitlab-ci/test-source-dep.yml'
Tomeu Vizoso7b01f722019-09-18 16:03:36 +020017
Eric Engestrom329f5cd2019-01-20 11:21:45 +000018stages:
Michel Dänzer9d1d3a82020-08-06 17:10:08 +020019 - container
Michel Dänzerc2366f02020-05-16 17:17:23 +020020 - container-2
Benjamin Tissoires0b6e03b2020-06-11 17:16:28 +020021 - git-archive
Michel Dänzer3cdc0d52020-07-01 17:37:49 +020022 - deploy
Michel Dänzercc9493f2020-02-27 18:27:56 +010023 - meson-x86_64
24 - scons
25 - meson-misc
26 - llvmpipe
27 - softpipe
28 - freedreno
29 - panfrost
Samuel Pitoiset48e92032020-03-06 08:39:25 +010030 - radv
31 - lima
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +020032 - virgl
Tomeu Vizoso6c8b9212020-07-03 10:04:20 +020033 - radeonsi
Michel Dänzer8775b742020-01-13 09:45:57 +010034 - success
Eric Engestrom329f5cd2019-01-20 11:21:45 +000035
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +020036# Generic rule to not run the job during scheduled pipelines
37# ----------------------------------------------------------
38.scheduled_pipelines-rules:
39 rules: &ignore_scheduled_pipelines
Michel Dänzerc3ae82b2020-09-08 17:44:40 +020040 if: &is-scheduled-pipeline '$CI_PIPELINE_SOURCE == "schedule"'
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +020041 when: never
42
Michel Dänzerac56d662020-09-08 12:20:39 +020043# YAML anchors for rule conditions
44# --------------------------------
45.rules-anchors:
46 rules:
Michel Dänzer208876b2020-09-08 18:00:21 +020047 # For Marge Bot
48 - if: &is-for-marge '$GITLAB_USER_LOGIN == "marge-bot"'
49 when: never
Michel Dänzer22a7c252020-09-08 17:52:24 +020050 # Forked project branch
Michel Dänzer8cb450f2020-09-08 18:02:58 +020051 - if: &is-forked-branch '$CI_PROJECT_NAMESPACE != "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
Michel Dänzer22a7c252020-09-08 17:52:24 +020052 when: manual
Michel Dänzer24f53292020-09-08 17:30:49 +020053 # Forked project branch / pre-merge pipeline
Michel Dänzer8cb450f2020-09-08 18:02:58 +020054 - if: &is-forked-branch-or-pre-merge '$CI_PROJECT_NAMESPACE != "mesa" || $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
Michel Dänzer24f53292020-09-08 17:30:49 +020055 when: manual
Michel Dänzerac56d662020-09-08 12:20:39 +020056 # Pipeline runs for the master branch of the main project
Michel Dänzerefec5762020-09-02 18:35:32 +020057 - if: &is-main-master '$CI_PROJECT_NAMESPACE == "mesa" && $CI_COMMIT_REF_NAME == "master" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != "master"'
Michel Dänzerac56d662020-09-08 12:20:39 +020058 when: always
Michel Dänzerb47f1bb2020-09-08 17:47:18 +020059 # Post-merge pipeline
60 - if: &is-post-merge '$CI_PROJECT_NAMESPACE == "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
61 when: on_success
Michel Dänzera33026e2020-09-08 12:36:11 +020062 # Post-merge pipeline, not for Marge Bot
Michel Dänzer8cb450f2020-09-08 18:02:58 +020063 - if: &is-post-merge-not-for-marge '$CI_PROJECT_NAMESPACE == "mesa" && $GITLAB_USER_LOGIN != "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
Michel Dänzera33026e2020-09-08 12:36:11 +020064 when: on_success
Michel Dänzer0fcb8b32020-09-08 17:58:32 +020065 # Pre-merge pipeline
66 - if: &is-pre-merge '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
67 when: on_success
Michel Dänzerf79ae942020-09-08 12:31:08 +020068 # Pre-merge pipeline for Marge Bot
69 - if: &is-pre-merge-for-marge '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
70 when: on_success
Michel Dänzerac56d662020-09-08 12:20:39 +020071
72
Erik Faye-Lund87747072020-06-22 11:10:29 +020073.docs-base:
Michel Dänzer8e2cb8e2020-06-22 11:21:06 +020074 extends: .ci-run-policy
Erik Faye-Lund064fe5f2019-05-27 17:12:10 +020075 image: alpine
Erik Faye-Lund064fe5f2019-05-27 17:12:10 +020076 script:
Erik Faye-Lundcb119002020-07-02 13:09:36 +020077 - apk --no-cache add py3-pip graphviz
Erik Faye-Lund064fe5f2019-05-27 17:12:10 +020078 - pip3 install sphinx sphinx_rtd_theme
79 - sphinx-build -b html docs public
Erik Faye-Lund87747072020-06-22 11:10:29 +020080
81pages:
82 extends: .docs-base
Erik Faye-Lund196ac4c2020-06-22 11:10:40 +020083 stage: deploy
Erik Faye-Lund064fe5f2019-05-27 17:12:10 +020084 artifacts:
85 paths:
86 - public
Michel Dänzer7b09d502020-08-06 17:12:11 +020087 needs: []
Michel Dänzer8e2cb8e2020-06-22 11:21:06 +020088 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +020089 - *ignore_scheduled_pipelines
Michel Dänzerac56d662020-09-08 12:20:39 +020090 - if: *is-main-master
Michel Dänzer8e2cb8e2020-06-22 11:21:06 +020091 changes: &docs-or-ci
92 - docs/**/*
93 - .gitlab-ci.yml
Michel Dänzerfc41ec12020-07-01 17:41:06 +020094 when: always
Michel Dänzer8e2cb8e2020-06-22 11:21:06 +020095 # Other cases default to never
Eric Engestrom329f5cd2019-01-20 11:21:45 +000096
Erik Faye-Lund87747072020-06-22 11:10:29 +020097test-docs:
98 extends: .docs-base
Michel Dänzerd9693c62020-07-21 16:13:37 +020099 # Cancel job if a newer commit is pushed to the same branch
100 interruptible: true
Michel Dänzer9d1d3a82020-08-06 17:10:08 +0200101 stage: deploy
102 needs: []
Michel Dänzer1c612e82020-06-22 11:13:05 +0200103 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200104 - *ignore_scheduled_pipelines
Michel Dänzer0836e902020-09-02 18:39:52 +0200105 - if: *is-main-master
106 changes: *docs-or-ci
107 when: never
Michel Dänzerf79ae942020-09-08 12:31:08 +0200108 - if: *is-pre-merge-for-marge
Michel Dänzer8e2cb8e2020-06-22 11:21:06 +0200109 changes: *docs-or-ci
Michel Dänzer1c612e82020-06-22 11:13:05 +0200110 when: on_success
Michel Dänzera33026e2020-09-08 12:36:11 +0200111 - if: *is-post-merge-not-for-marge
Michel Dänzerf13f32f2020-08-31 18:46:37 +0200112 changes: *docs-or-ci
113 when: on_success
Michel Dänzer24f53292020-09-08 17:30:49 +0200114 - if: *is-forked-branch-or-pre-merge
Michel Dänzer615f1c82020-09-01 11:44:54 +0200115 changes: *docs-or-ci
Michel Dänzer1c612e82020-06-22 11:13:05 +0200116 when: manual
117 # Other cases default to never
Erik Faye-Lund87747072020-06-22 11:10:29 +0200118
Eric Engestrom7f5d9c22019-02-22 15:52:08 +0000119# When to automatically run the CI
Michel Dänzere426f402019-09-06 17:35:52 +0200120.ci-run-policy:
Michel Dänzer41797a12019-09-26 09:27:27 +0200121 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200122 - *ignore_scheduled_pipelines
Michel Dänzer42fe6002020-04-03 12:50:11 +0200123 # If any files affecting the pipeline are changed, build/test jobs run
124 # automatically once all dependency jobs have passed
125 - changes: &all_paths
Michel Dänzer8775b742020-01-13 09:45:57 +0100126 - VERSION
Eric Engestrom576bff52020-05-14 22:51:38 +0200127 - bin/git_sha1_gen.py
128 - bin/install_megadrivers.py
129 - bin/meson_get_version.py
130 - bin/symbols-check.py
Michel Dänzer8775b742020-01-13 09:45:57 +0100131 # GitLab CI
132 - .gitlab-ci.yml
133 - .gitlab-ci/**/*
134 # Meson
135 - meson*
136 - build-support/**/*
137 - subprojects/**/*
138 # SCons
139 - SConstruct
140 - scons/**/*
141 - common.py
142 # Source code
143 - include/**/*
144 - src/**/*
145 when: on_success
Michel Dänzer42fe6002020-04-03 12:50:11 +0200146 # Otherwise, build/test jobs won't run
Michel Dänzer8775b742020-01-13 09:45:57 +0100147 - when: never
Michel Dänzer6140ed32019-03-26 18:39:41 +0100148 retry:
149 max: 2
150 when:
151 - runner_system_failure
Eric Engestrom7f5d9c22019-02-22 15:52:08 +0000152
Michel Dänzer8775b742020-01-13 09:45:57 +0100153success:
154 stage: success
155 image: debian:stable-slim
Michel Dänzer6cba4682020-06-22 11:16:17 +0200156 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200157 - *ignore_scheduled_pipelines
Michel Dänzerb47f1bb2020-09-08 17:47:18 +0200158 - if: *is-post-merge
Michel Dänzer6cba4682020-06-22 11:16:17 +0200159 when: never
Michel Dänzer208876b2020-09-08 18:00:21 +0200160 - if: *is-for-marge
Michel Dänzer6cba4682020-06-22 11:16:17 +0200161 changes: *docs-or-ci
162 when: never
163 - changes: *all_paths
164 when: never
Michel Dänzer0fcb8b32020-09-08 17:58:32 +0200165 - if: *is-pre-merge
Michel Dänzera6c4db92020-08-28 17:08:57 +0200166 when: on_success
Michel Dänzer2dd0cc62020-01-20 18:34:34 +0100167 variables:
168 GIT_STRATEGY: none
Michel Dänzer8775b742020-01-13 09:45:57 +0100169 script:
170 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
171
172
Michel Dänzere426f402019-09-06 17:35:52 +0200173.ci-deqp-artifacts:
Eric Anholt46daaca2019-06-28 16:35:32 -0700174 artifacts:
Michel Dänzer0103f022020-03-06 12:35:17 +0100175 name: "mesa_${CI_JOB_NAME}"
Eric Anholt46daaca2019-06-28 16:35:32 -0700176 when: always
177 untracked: false
178 paths:
179 # Watch out! Artifacts are relative to the build dir.
180 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
181 - artifacts
Eric Engestrom7f5d9c22019-02-22 15:52:08 +0000182
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100183# Build the CI docker images.
Michel Dänzerc6c76522019-11-11 18:13:28 +0100184#
Eric Anholtaf7dca32020-03-06 13:23:20 -0800185# 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 +0100186# image doesn't exist yet, the container stage job generates it.
187#
188# In order to generate a new image, one should generally change the tag.
189# While removing the image from the registry would also work, that's not
190# recommended except for ephemeral images during development: Replacing
191# an image after a significant amount of time might pull in newer
192# versions of gcc/clang or other packages, which might break the build
193# with older commits using the same tag.
194#
195# After merging a change resulting in generating a new image to the
196# main repository, it's recommended to remove the image from the source
197# repository's container registry, so that the image from the main
198# repository's registry will be used there as well.
Michel Dänzer8a199922019-09-06 17:04:47 +0200199
Eric Engestrom81b98e92019-10-14 23:04:14 +0100200.container:
Michel Dänzer9d1d3a82020-08-06 17:10:08 +0200201 stage: container
Eric Engestrom81b98e92019-10-14 23:04:14 +0100202 extends:
203 - .ci-run-policy
Michel Dänzer42fe6002020-04-03 12:50:11 +0200204 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200205 - *ignore_scheduled_pipelines
Michel Dänzer549b4a32020-06-29 11:33:13 +0200206 # Run pipeline by default in the main project if any CI pipeline
207 # configuration files were changed, to ensure docker images are up to date
Michel Dänzerb47f1bb2020-09-08 17:47:18 +0200208 - if: *is-post-merge
Michel Dänzer42fe6002020-04-03 12:50:11 +0200209 changes:
Michel Dänzer549b4a32020-06-29 11:33:13 +0200210 - .gitlab-ci.yml
211 - .gitlab-ci/**/*
212 when: on_success
213 # Run pipeline by default if it was triggered by Marge Bot, is for a
214 # merge request, and any files affecting the pipeline were changed
Michel Dänzerf79ae942020-09-08 12:31:08 +0200215 - if: *is-pre-merge-for-marge
Michel Dänzer549b4a32020-06-29 11:33:13 +0200216 changes:
Michel Dänzer42fe6002020-04-03 12:50:11 +0200217 *all_paths
218 when: on_success
Michel Dänzer549b4a32020-06-29 11:33:13 +0200219 # Run pipeline by default in the main project if it was not triggered by
220 # Marge Bot, and any files affecting the pipeline were changed
Michel Dänzera33026e2020-09-08 12:36:11 +0200221 - if: *is-post-merge-not-for-marge
Michel Dänzer549b4a32020-06-29 11:33:13 +0200222 changes:
223 *all_paths
224 when: on_success
225 # Allow triggering jobs manually in other cases if any files affecting the
226 # pipeline were changed
Michel Dänzer4176dfa2020-04-03 11:46:12 +0200227 - changes:
Michel Dänzer42fe6002020-04-03 12:50:11 +0200228 *all_paths
229 when: manual
230 # Otherwise, container jobs won't run
231 - when: never
Eric Engestrom81b98e92019-10-14 23:04:14 +0100232 variables:
Eric Anholtaf7dca32020-03-06 13:23:20 -0800233 FDO_DISTRIBUTION_VERSION: buster-slim
Michel Dänzerfcd33772020-03-23 18:16:07 +0100234 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
Eric Anholtfd24a952020-06-26 10:59:41 -0700235 FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
Eric Engestrom81b98e92019-10-14 23:04:14 +0100236 # no need to pull the whole repo to build the container image
237 GIT_STRATEGY: none
238
Michel Dänzera85da8e2020-05-30 15:53:41 +0200239# Debian 10 based x86 build image base
240x86_build-base:
Michel Dänzere426f402019-09-06 17:35:52 +0200241 extends:
Michel Dänzerfcd33772020-03-23 18:16:07 +0100242 - .fdo.container-build@debian
Eric Engestrom81b98e92019-10-14 23:04:14 +0100243 - .container
Michel Dänzerc6c76522019-11-11 18:13:28 +0100244 variables:
Dave Airlie137d7d22020-10-06 10:49:00 +1000245 FDO_DISTRIBUTION_TAG: &x86_build-base "2020-10-06-clang10-2"
Michel Dänzera85da8e2020-05-30 15:53:41 +0200246
247.use-x86_build-base:
248 extends:
249 - x86_build-base
250 - .ci-run-policy
251 stage: container-2
252 variables:
253 BASE_TAG: *x86_build-base
254 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_build-base:$BASE_TAG"
255 needs:
256 - x86_build-base
257
258# Debian 10 based x86 main build image
259x86_build:
260 extends:
261 - .use-x86_build-base
262 variables:
Dave Airlieb0df97b2020-10-09 12:07:31 +1000263 FDO_DISTRIBUTION_TAG: &x86_build "2020-10-09-spvtools-1"
Eric Engestrom46d23c02019-01-20 11:26:53 +0000264
Michel Dänzer3a48f452019-11-13 17:43:41 +0100265.use-x86_build:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100266 variables:
267 TAG: *x86_build
268 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
Michel Dänzereb86cba2019-10-10 15:27:17 +0200269 needs:
Michel Dänzer3a48f452019-11-13 17:43:41 +0100270 - x86_build
Michel Dänzereb86cba2019-10-10 15:27:17 +0200271
Michel Dänzer3acd5a62020-06-01 19:08:30 +0200272# Debian 10 based i386 cross-build image
273i386_build:
274 extends:
275 - .use-x86_build-base
276 variables:
Dave Airlie137d7d22020-10-06 10:49:00 +1000277 FDO_DISTRIBUTION_TAG: &i386_build "2020-10-06-clang10-2"
Michel Dänzer3acd5a62020-06-01 19:08:30 +0200278
279.use-i386_build:
280 variables:
281 TAG: *i386_build
282 image: "$CI_REGISTRY_IMAGE/debian/i386_build:$TAG"
283 needs:
Michel Dänzer3acd5a62020-06-01 19:08:30 +0200284 - i386_build
285
286# Debian 10 based ppc64el cross-build image
287ppc64el_build:
288 extends:
289 - .use-x86_build-base
290 variables:
Dave Airlie137d7d22020-10-06 10:49:00 +1000291 FDO_DISTRIBUTION_TAG: &ppc64el_build "2020-10-06-clang10-2"
Michel Dänzer3acd5a62020-06-01 19:08:30 +0200292
293.use-ppc64el_build:
294 variables:
295 TAG: *ppc64el_build
296 image: "$CI_REGISTRY_IMAGE/debian/ppc64el_build:$TAG"
297 needs:
Michel Dänzer3acd5a62020-06-01 19:08:30 +0200298 - ppc64el_build
299
300# Debian 10 based s390x cross-build image
301s390x_build:
302 extends:
303 - .use-x86_build-base
304 variables:
Dave Airlie137d7d22020-10-06 10:49:00 +1000305 FDO_DISTRIBUTION_TAG: &s390x_build "2020-10-06-clang10-2"
Michel Dänzer3acd5a62020-06-01 19:08:30 +0200306
307.use-s390x_build:
308 variables:
309 TAG: *s390x_build
310 image: "$CI_REGISTRY_IMAGE/debian/s390x_build:$TAG"
311 needs:
Michel Dänzer3acd5a62020-06-01 19:08:30 +0200312 - s390x_build
313
Eric Anholt0767af32020-09-09 16:37:54 -0700314# Android NDK cross-build image
315android_build:
316 extends:
317 - .use-x86_build-base
318 variables:
319 FDO_DISTRIBUTION_TAG: &android_build "2020-10-05-shrink"
320
321.use-android_build:
322 variables:
323 TAG: *android_build
324 image: "$CI_REGISTRY_IMAGE/debian/android_build:$TAG"
325 needs:
326 - android_build
327
Michel Dänzerc2366f02020-05-16 17:17:23 +0200328# Debian 10 based x86 test image base
329x86_test-base:
Michel Dänzera85da8e2020-05-30 15:53:41 +0200330 extends: x86_build-base
Michel Dänzeraebf43d2019-11-05 18:52:24 +0100331 variables:
Dave Airlie137d7d22020-10-06 10:49:00 +1000332 FDO_DISTRIBUTION_TAG: &x86_test-base "2020-10-06-clang10-2"
Michel Dänzerc2366f02020-05-16 17:17:23 +0200333
334.use-x86_test-base:
335 extends:
Michel Dänzera85da8e2020-05-30 15:53:41 +0200336 - x86_build-base
Michel Dänzerc2366f02020-05-16 17:17:23 +0200337 - .ci-run-policy
338 stage: container-2
339 variables:
340 BASE_TAG: *x86_test-base
341 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_test-base:$BASE_TAG"
342 needs:
343 - x86_test-base
344
345# Debian 10 based x86 test image for GL
346x86_test-gl:
347 extends: .use-x86_test-base
348 variables:
Dave Airlieb0df97b2020-10-09 12:07:31 +1000349 FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-10-09-spvtools-1"
Michel Dänzeraebf43d2019-11-05 18:52:24 +0100350
Samuel Pitoisetf2a594f2019-11-18 09:23:18 +0100351# Debian 10 based x86 test image for VK
352x86_test-vk:
Michel Dänzerc2366f02020-05-16 17:17:23 +0200353 extends: .use-x86_test-base
Samuel Pitoisetf2a594f2019-11-18 09:23:18 +0100354 variables:
Dave Airlie137d7d22020-10-06 10:49:00 +1000355 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-10-06-clang10-2"
Samuel Pitoisetf2a594f2019-11-18 09:23:18 +0100356
Michel Dänzerc6c76522019-11-11 18:13:28 +0100357# Debian 9 based x86 build image (old LLVM)
Michel Dänzer3a48f452019-11-13 17:43:41 +0100358x86_build_old:
Michel Dänzera85da8e2020-05-30 15:53:41 +0200359 extends: x86_build-base
Michel Dänzer8a199922019-09-06 17:04:47 +0200360 variables:
Eric Anholtd3b652f2020-08-13 14:21:50 -0700361 FDO_DISTRIBUTION_TAG: &x86_build_old "2020-08-13-gold"
Eric Anholtaf7dca32020-03-06 13:23:20 -0800362 FDO_DISTRIBUTION_VERSION: stretch-slim
Michel Dänzer8a199922019-09-06 17:04:47 +0200363
Michel Dänzer3a48f452019-11-13 17:43:41 +0100364.use-x86_build_old:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100365 variables:
366 TAG: *x86_build_old
367 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG"
Michel Dänzer88319f22019-09-18 16:17:01 +0200368 needs:
Michel Dänzer3a48f452019-11-13 17:43:41 +0100369 - x86_build_old
Michel Dänzer88319f22019-09-18 16:17:01 +0200370
Michel Dänzerc6c76522019-11-11 18:13:28 +0100371# Debian 10 based ARM build image
Michel Dänzer3a48f452019-11-13 17:43:41 +0100372arm_build:
Michel Dänzere426f402019-09-06 17:35:52 +0200373 extends:
Michel Dänzerfcd33772020-03-23 18:16:07 +0100374 - .fdo.container-build@debian@arm64v8
Eric Engestrom81b98e92019-10-14 23:04:14 +0100375 - .container
Eric Anholt6f0dc082019-06-28 16:35:32 -0700376 variables:
Christian Gmeiner2f62a442020-09-09 22:21:14 +0200377 FDO_DISTRIBUTION_TAG: &arm_build "2020-09-10-libdrm"
Eric Engestrom46d23c02019-01-20 11:26:53 +0000378
Michel Dänzerc6c76522019-11-11 18:13:28 +0100379.use-arm_build:
Michel Dänzerb4d3ae22019-11-04 09:54:09 +0100380 variables:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100381 TAG: *arm_build
382 image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG"
383 needs:
384 - arm_build
385
Christian Gmeiner408b36a2020-06-07 22:03:34 +0200386# Debian 10 based x86 baremetal image base
387arm_test-base:
388 extends:
389 - .fdo.container-build@debian
390 - .container
391 variables:
Dave Airlie137d7d22020-10-06 10:49:00 +1000392 FDO_DISTRIBUTION_TAG: &arm_test-base "2020-10-06-clang10-2"
Christian Gmeiner408b36a2020-06-07 22:03:34 +0200393
394.use-arm_test-base:
395 extends:
396 - arm_test-base
397 - .ci-run-policy
398 stage: container-2
399 variables:
400 BASE_TAG: *arm_test-base
401 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/arm_test-base:$BASE_TAG"
402 needs:
403 - arm_test-base
404
Christian Gmeiner839bc2d2020-06-07 23:19:50 +0200405# x86 image with ARM64 rootfs for baremetal testing.
406arm64_test:
Christian Gmeiner408b36a2020-06-07 22:03:34 +0200407 extends:
408 - .use-arm_test-base
Eric Anholt68b3b5b2020-05-13 11:08:08 -0700409 variables:
Rob Clark8abe3bb2020-09-02 15:43:20 -0700410 FDO_DISTRIBUTION_TAG: &arm64_test "2020-09-28-deqp-surfaceless-fix"
Eric Anholt68b3b5b2020-05-13 11:08:08 -0700411
Christian Gmeiner839bc2d2020-06-07 23:19:50 +0200412.use-arm64_test:
Eric Anholt68b3b5b2020-05-13 11:08:08 -0700413 variables:
Christian Gmeiner839bc2d2020-06-07 23:19:50 +0200414 TAG: *arm64_test
415 image: "$CI_REGISTRY_IMAGE/debian/arm64_test:$TAG"
Eric Anholt68b3b5b2020-05-13 11:08:08 -0700416 needs:
Christian Gmeiner839bc2d2020-06-07 23:19:50 +0200417 - arm64_test
Eric Anholt68b3b5b2020-05-13 11:08:08 -0700418
Daniel Stone07885cb2020-03-24 11:11:36 +0000419# Native Windows docker builds
Dylan Baker138c0032020-05-19 14:01:47 -0700420#
Daniel Stone07885cb2020-03-24 11:11:36 +0000421# Unlike the above Linux-based builds - including MinGW/SCons builds which
422# cross-compile for Windows - which use the freedesktop ci-templates, we
423# cannot use the same scheme here. As Windows lacks support for
424# Docker-in-Docker, and Podman does not run natively on Windows, we have
425# to open-code much of the same ourselves.
426#
427# This is achieved by first running in a native Windows shell instance
428# (host PowerShell) in the container stage to build and push the image,
429# then in the build stage by executing inside Docker.
430
431.windows-docker-vs2019:
432 variables:
Daniel Stone0f46a312020-05-05 15:49:22 +0100433 WINDOWS_TAG: "2020-05-05-llvm"
Daniel Stone07885cb2020-03-24 11:11:36 +0000434 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
435 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
436
Daniel Stoneb8f2d712020-08-28 19:08:39 +0100437.windows_build_vs2019:
Daniel Stone07885cb2020-03-24 11:11:36 +0000438 extends:
439 - .container
440 - .windows-docker-vs2019
Michel Dänzer9d1d3a82020-08-06 17:10:08 +0200441 stage: container
Daniel Stone07885cb2020-03-24 11:11:36 +0000442 variables:
443 GIT_STRATEGY: fetch # we do actually need the full repository though
Daniel Stone0f46a312020-05-05 15:49:22 +0100444 timeout: 4h # LLVM takes ages
Daniel Stone07885cb2020-03-24 11:11:36 +0000445 tags:
446 - windows
447 - shell
448 - "1809"
Daniel Stone2db1d732020-03-30 10:16:18 +0100449 - mesa
Daniel Stone07885cb2020-03-24 11:11:36 +0000450 script:
451 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
Dylan Baker138c0032020-05-19 14:01:47 -0700452
Daniel Stone07885cb2020-03-24 11:11:36 +0000453.use-windows_build_vs2019:
454 extends: .windows-docker-vs2019
455 image: "$WINDOWS_IMAGE"
456 needs:
Daniel Stone79113462020-04-16 14:56:18 +0100457 - windows_build_vs2019
Eric Engestrom81b98e92019-10-14 23:04:14 +0100458
Benjamin Tissoires0b6e03b2020-06-11 17:16:28 +0200459git_archive:
460 extends: .fdo.container-build@alpine
Michel Dänzer9d1d3a82020-08-06 17:10:08 +0200461 stage: container
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200462 rules:
Michel Dänzerc3ae82b2020-09-08 17:44:40 +0200463 - if: *is-scheduled-pipeline
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200464 when: always
Benjamin Tissoires0b6e03b2020-06-11 17:16:28 +0200465 variables:
466 FDO_REPO_SUFFIX: &git-archive-suffix "alpine/git_archive"
Benjamin Tissoires1639d3c2020-07-07 14:44:33 +0200467 FDO_DISTRIBUTION_EXEC: 'pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366'
Benjamin Tissoires0b6e03b2020-06-11 17:16:28 +0200468 # no need to pull the whole repo to build the container image
469 GIT_STRATEGY: none
Benjamin Tissoires1639d3c2020-07-07 14:44:33 +0200470 FDO_DISTRIBUTION_TAG: &git-archive-tag "2020-07-07"
Benjamin Tissoires0b6e03b2020-06-11 17:16:28 +0200471 FDO_DISTRIBUTION_PACKAGES: git py3-pip
472
473
474# Git archive
475
476make git archive:
477 stage: git-archive
478 extends: .fdo.suffixed-image@alpine
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200479 rules:
Michel Dänzerc3ae82b2020-09-08 17:44:40 +0200480 - if: *is-scheduled-pipeline
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +0200481 when: on_success
Benjamin Tissoires0b6e03b2020-06-11 17:16:28 +0200482 # ensure we are running on packet
483 tags:
484 - packet.net
485 variables:
486 FDO_DISTRIBUTION_TAG: *git-archive-tag
487 FDO_REPO_SUFFIX: *git-archive-suffix
488 needs:
489 - git_archive
490
491 script:
492 # compress the current folder
493 - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .
494
495 # login with the JWT token
496 - ci-fairy minio login $CI_JOB_JWT
497 - ci-fairy minio cp ../$CI_PROJECT_NAME.tar.gz minio://minio-packet.freedesktop.org/git-cache/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_PROJECT_NAME.tar.gz
498
499
Eric Engestrom46d23c02019-01-20 11:26:53 +0000500# BUILD
501
Dylan Baker06e46472019-10-23 14:21:31 -0700502# Shared between windows and Linux
503.build-common:
Eric Engestromaba78c22019-10-14 23:52:58 +0100504 extends: .ci-run-policy
Michel Dänzerd9693c62020-07-21 16:13:37 +0200505 # Cancel job if a newer commit is pushed to the same branch
506 interruptible: true
Eric Engestrom46d23c02019-01-20 11:26:53 +0000507 artifacts:
Michel Dänzer0103f022020-03-06 12:35:17 +0100508 name: "mesa_${CI_JOB_NAME}"
Eric Anholtdd3d0b22019-07-24 09:27:48 -0700509 when: always
510 paths:
511 - _build/meson-logs/*.txt
512 # scons:
Michel Dänzer5229f272019-07-26 12:20:41 +0200513 - build/*/config.log
Eric Anholtf60defa2019-04-10 15:59:12 -0700514 - shader-db
Dylan Baker06e46472019-10-23 14:21:31 -0700515
516# Just Linux
517.build-linux:
518 extends: .build-common
Michel Dänzere9de19f2019-04-04 18:01:27 +0200519 variables:
520 CCACHE_COMPILERCHECK: "content"
Michel Dänzer32618ee2019-11-20 09:11:35 +0100521 CCACHE_COMPRESS: "true"
522 CCACHE_DIR: /cache/mesa/ccache
Eric Engestrom23b485c2019-02-12 16:59:27 +0000523 # Use ccache transparently, and print stats before/after
524 before_script:
525 - export PATH="/usr/lib/ccache:$PATH"
526 - export CCACHE_BASEDIR="$PWD"
Michel Dänzer32618ee2019-11-20 09:11:35 +0100527 - ccache --show-stats
Eric Engestrom23b485c2019-02-12 16:59:27 +0000528 after_script:
Eric Engestrom23b485c2019-02-12 16:59:27 +0000529 - ccache --show-stats
Eric Engestrom46d23c02019-01-20 11:26:53 +0000530
Dylan Baker19851c92019-10-23 14:36:19 -0700531.build-windows:
532 extends: .build-common
533 tags:
Daniel Stone07885cb2020-03-24 11:11:36 +0000534 - windows
535 - docker
536 - "1809"
Daniel Stone9197fd52020-03-30 15:58:51 +0100537 - mesa
Dylan Baker19851c92019-10-23 14:36:19 -0700538 cache:
539 key: ${CI_JOB_NAME}
540 paths:
541 - subprojects/packagecache
542
Eric Engestrom46d23c02019-01-20 11:26:53 +0000543.meson-build:
Eric Engestromaba78c22019-10-14 23:52:58 +0100544 extends:
Dylan Baker06e46472019-10-23 14:21:31 -0700545 - .build-linux
Michel Dänzer3a48f452019-11-13 17:43:41 +0100546 - .use-x86_build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100547 stage: meson-x86_64
Michel Dänzer5f0ff002019-12-13 11:02:16 +0100548 variables:
Dave Airlie137d7d22020-10-06 10:49:00 +1000549 LLVM_VERSION: 10
Eric Engestrom23b485c2019-02-12 16:59:27 +0000550 script:
Michel Dänzercc2b3a92019-05-03 10:49:43 +0200551 - .gitlab-ci/meson-build.sh
Eric Engestrom46d23c02019-01-20 11:26:53 +0000552
Eric Engestrom06b245b2019-01-23 15:46:10 +0000553.scons-build:
Eric Engestromaba78c22019-10-14 23:52:58 +0100554 extends:
Dylan Baker06e46472019-10-23 14:21:31 -0700555 - .build-linux
Michel Dänzer3a48f452019-11-13 17:43:41 +0100556 - .use-x86_build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100557 stage: scons
Eric Engestrom06b245b2019-01-23 15:46:10 +0000558 script:
Eric Anholtfd24a952020-06-26 10:59:41 -0700559 - env SCONSFLAGS="-j${FDO_CI_CONCURRENT:-4}" .gitlab-ci/scons-build.sh
Eric Engestrom06b245b2019-01-23 15:46:10 +0000560
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100561meson-testing:
Michel Dänzere426f402019-09-06 17:35:52 +0200562 extends:
563 - .meson-build
564 - .ci-deqp-artifacts
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200565 variables:
Dylan Baker138c0032020-05-19 14:01:47 -0700566 UNWIND: "enabled"
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200567 DRI_LOADERS: >
568 -D glx=dri
Dylan Baker138c0032020-05-19 14:01:47 -0700569 -D gbm=enabled
570 -D egl=enabled
Eric Engestrome00adef2019-06-25 15:44:16 +0100571 -D platforms=x11
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100572 GALLIUM_ST: >
Dylan Baker138c0032020-05-19 14:01:47 -0700573 -D dri3=enabled
Tomeu Vizoso6c8b9212020-07-03 10:04:20 +0200574 GALLIUM_DRIVERS: "swrast,virgl,radeonsi"
Samuel Pitoiset40c6a562019-11-19 14:46:53 +0100575 VULKAN_DRIVERS: amd
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100576 BUILDTYPE: "debugoptimized"
Eric Anholt3c7c0212019-12-16 21:23:02 -0800577 EXTRA_OPTION: >
578 -D werror=true
Tomeu Vizoso6c8b9212020-07-03 10:04:20 +0200579 UPLOAD_FOR_LAVA: 1
580 DEBIAN_ARCH: amd64
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100581 script:
582 - .gitlab-ci/meson-build.sh
583 - .gitlab-ci/prepare-artifacts.sh
584
Dave Airlie0a172dc2020-09-29 08:40:13 +1000585meson-clover-testing:
586 extends:
587 - .meson-build
588 - .ci-deqp-artifacts
589 variables:
590 UNWIND: "enabled"
591 LLVM_VERSION: 10
592 DRI_LOADERS: >
593 -D glx=disabled
594 -D egl=disabled
595 -D gbm=disabled
596 GALLIUM_ST: >
597 -D gallium-opencl=icd
598 -D opencl-spirv=true
599 GALLIUM_DRIVERS: "swrast"
600 BUILDTYPE: "debugoptimized"
601 script:
602 - .gitlab-ci/meson-build.sh
603 - .gitlab-ci/prepare-artifacts.sh
604
Michel Dänzerc56f0912020-03-12 12:29:40 +0100605meson-gallium:
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100606 extends: .meson-build
607 variables:
Dylan Baker138c0032020-05-19 14:01:47 -0700608 UNWIND: "enabled"
Samuel Pitoiset66b56272019-11-19 12:23:41 +0100609 DRI_LOADERS: >
610 -D glx=dri
Dylan Baker138c0032020-05-19 14:01:47 -0700611 -D gbm=enabled
612 -D egl=enabled
Eric Engestrome00adef2019-06-25 15:44:16 +0100613 -D platforms=x11,wayland
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200614 GALLIUM_ST: >
Dylan Baker138c0032020-05-19 14:01:47 -0700615 -D dri3=enabled
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200616 -D gallium-extra-hud=true
Dylan Baker138c0032020-05-19 14:01:47 -0700617 -D gallium-vdpau=enabled
618 -D gallium-xvmc=enabled
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200619 -D gallium-omx=bellagio
Dylan Baker138c0032020-05-19 14:01:47 -0700620 -D gallium-va=enabled
621 -D gallium-xa=enabled
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200622 -D gallium-nine=true
623 -D gallium-opencl=disabled
Samuel Pitoisete6d26d72019-11-19 14:36:02 +0100624 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
Dave Airlieb38879f2020-06-19 16:40:27 +1000625 VULKAN_DRIVERS: swrast
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200626 EXTRA_OPTION: >
627 -D osmesa=gallium
628 -D tools=all
Timothy Arceri1af1eb92020-07-08 13:56:51 +1000629 -D werror=true
Michel Dänzer59fcb012019-10-23 18:42:53 +0200630 script:
631 - .gitlab-ci/meson-build.sh
632 - .gitlab-ci/run-shader-db.sh
Rob Clarkddcee242020-07-24 10:34:47 -0700633 - src/freedreno/.gitlab-ci/run-fdtools.sh
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200634
Eric Anholt373e25e2020-08-24 10:15:35 -0700635# Test a release build with -Werror so new warnings don't sneak in.
636meson-release:
637 extends: .meson-build
638 variables:
639 UNWIND: "enabled"
640 DRI_LOADERS: >
641 -D glx=dri
642 -D gbm=enabled
643 -D egl=enabled
644 -D platforms=x11,wayland
645 GALLIUM_ST: >
646 -D dri3=enabled
647 -D gallium-extra-hud=true
648 -D gallium-vdpau=enabled
649 -D gallium-xvmc=disabled
650 -D gallium-omx=disabled
651 -D gallium-va=enabled
652 -D gallium-xa=enabled
653 -D gallium-nine=false
654 -D gallium-opencl=disabled
655 -D llvm=false
656 GALLIUM_DRIVERS: "nouveau,kmsro,r300,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
657 BUILDTYPE: "release"
658 EXTRA_OPTION: >
659 -D osmesa=none
660 -D tools=all
661 -D werror=true
662 script:
663 - .gitlab-ci/meson-build.sh
664
Michel Dänzerc56f0912020-03-12 12:29:40 +0100665meson-classic:
666 extends: .meson-build
667 variables:
Dylan Baker138c0032020-05-19 14:01:47 -0700668 UNWIND: "enabled"
Michel Dänzerc56f0912020-03-12 12:29:40 +0100669 DRI_LOADERS: >
670 -D glx=dri
Dylan Baker138c0032020-05-19 14:01:47 -0700671 -D gbm=enabled
672 -D egl=enabled
Michel Dänzerc56f0912020-03-12 12:29:40 +0100673 -D platforms=x11,wayland,drm,surfaceless
674 DRI_DRIVERS: "auto"
675 EXTRA_OPTION: >
676 -D osmesa=classic
677 -D tools=all
Timothy Arceria1b89db2020-07-03 13:10:09 +1000678 -D werror=true
Michel Dänzerc56f0912020-03-12 12:29:40 +0100679
Kristian H. Kristensen879444a2020-07-28 15:35:36 -0700680meson-android:
Eric Anholt0767af32020-09-09 16:37:54 -0700681 extends:
682 - .meson-cross
683 - .use-android_build
Kristian H. Kristensen879444a2020-07-28 15:35:36 -0700684 variables:
685 UNWIND: "disabled"
686 DRI_LOADERS: >
687 -D glx=disabled
688 -D gbm=disabled
689 -D egl=enabled
690 -D platforms=android
Kristian H. Kristensen879444a2020-07-28 15:35:36 -0700691 EXTRA_OPTION: >
692 -D android-stub=true
Eric Anholt0767af32020-09-09 16:37:54 -0700693 -D llvm=disabled
Eric Anholtab57df22020-09-24 16:44:50 -0700694 -D platform-sdk-version=26
Kristian H. Kristensen879444a2020-07-28 15:35:36 -0700695 GALLIUM_ST: >
696 -D dri3=disabled
697 -D gallium-vdpau=disabled
698 -D gallium-xvmc=disabled
699 -D gallium-omx=disabled
700 -D gallium-va=disabled
701 -D gallium-xa=disabled
702 -D gallium-nine=false
703 -D gallium-opencl=disabled
Eric Anholt0767af32020-09-09 16:37:54 -0700704 LLVM_VERSION: ""
705 script:
706 # arm64 build: Can't build v3d/vc4 because they require expat for v3d_decode.
707 - PKG_CONFIG_PATH=/usr/local/lib/aarch64-linux-android/pkgconfig/:/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/pkgconfig/ CROSS=aarch64-linux-android GALLIUM_DRIVERS=etnaviv,freedreno,lima,panfrost VULKAN_DRIVERS=freedreno .gitlab-ci/meson-build.sh
708 # x86_64 build:
709 # Can't do Intel because gen_decoder.c currently requires libexpat, which
710 # is not a dependency that AOSP wants to accept. Can't do Radeon because
711 # it requires LLVM, which we don't have an Android build of.
712 # - PKG_CONFIG_PATH=/usr/local/lib/x86_64-linux-android/pkgconfig/ CROSS=x86_64-linux-android GALLIUM_DRIVERS=iris VULKAN_DRIVERS=intel .gitlab-ci/meson-build.sh
Kristian H. Kristensen879444a2020-07-28 15:35:36 -0700713
Michel Dänzere5364462019-09-13 11:59:43 +0200714.meson-cross:
715 extends:
716 - .meson-build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100717 stage: meson-misc
Michel Dänzere5364462019-09-13 11:59:43 +0200718 variables:
Dylan Baker138c0032020-05-19 14:01:47 -0700719 UNWIND: "disabled"
Michel Dänzere5364462019-09-13 11:59:43 +0200720 DRI_LOADERS: >
721 -D glx=disabled
Dylan Baker138c0032020-05-19 14:01:47 -0700722 -D gbm=disabled
723 -D egl=enabled
Eric Engestroma38e21d2019-06-25 13:47:04 +0100724 -D platforms=[]
Michel Dänzere5364462019-09-13 11:59:43 +0200725 -D osmesa=none
726 GALLIUM_ST: >
Dylan Baker138c0032020-05-19 14:01:47 -0700727 -D dri3=disabled
728 -D gallium-vdpau=disabled
729 -D gallium-xvmc=disabled
Michel Dänzere5364462019-09-13 11:59:43 +0200730 -D gallium-omx=disabled
Dylan Baker138c0032020-05-19 14:01:47 -0700731 -D gallium-va=disabled
732 -D gallium-xa=disabled
Michel Dänzere5364462019-09-13 11:59:43 +0200733 -D gallium-nine=false
Michel Dänzer65610ec2020-01-30 18:21:15 +0100734 LLVM_VERSION: "8"
Michel Dänzere5364462019-09-13 11:59:43 +0200735
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200736.meson-arm:
Michel Dänzerc6c76522019-11-11 18:13:28 +0100737 extends:
738 - .meson-cross
739 - .use-arm_build
Michel Dänzere5364462019-09-13 11:59:43 +0200740 variables:
Alejandro Piñeiroe4af07b2020-10-01 12:08:17 +0200741 VULKAN_DRIVERS: freedreno,broadcom
Michel Dänzer793f6b32019-10-08 19:48:41 +0200742 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100743 BUILDTYPE: "debugoptimized"
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200744 tags:
745 - aarch64
746
747meson-armhf:
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100748 extends:
749 - .meson-arm
750 - .ci-deqp-artifacts
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200751 variables:
752 CROSS: armhf
Michel Dänzer793f6b32019-10-08 19:48:41 +0200753 LLVM_VERSION: "7"
Eric Anholt25741582020-02-24 10:31:33 -0800754 EXTRA_OPTION: >
Dylan Baker138c0032020-05-19 14:01:47 -0700755 -D llvm=disabled
Tomeu Vizosodcd171f2020-04-01 13:07:46 +0200756 UPLOAD_FOR_LAVA: 1
757 DEBIAN_ARCH: armhf
Tomeu Vizoso22d97642019-12-17 11:50:14 +0100758 script:
759 - .gitlab-ci/meson-build.sh
760 - .gitlab-ci/prepare-artifacts.sh
Michel Dänzere5364462019-09-13 11:59:43 +0200761
762meson-arm64:
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200763 extends:
764 - .meson-arm
765 - .ci-deqp-artifacts
Michel Dänzere5364462019-09-13 11:59:43 +0200766 variables:
Alejandro Piñeiroe4af07b2020-10-01 12:08:17 +0200767 VULKAN_DRIVERS: "freedreno,broadcom"
Eric Anholt25741582020-02-24 10:31:33 -0800768 EXTRA_OPTION: >
Dylan Baker138c0032020-05-19 14:01:47 -0700769 -D llvm=disabled
Tomeu Vizosodcd171f2020-04-01 13:07:46 +0200770 UPLOAD_FOR_LAVA: 1
771 DEBIAN_ARCH: arm64
Michel Dänzer59fcb012019-10-23 18:42:53 +0200772 script:
773 - .gitlab-ci/meson-build.sh
774 - .gitlab-ci/prepare-artifacts.sh
Michel Dänzere5364462019-09-13 11:59:43 +0200775
Rohan Garg9c0bbba2020-02-20 16:37:48 +0100776meson-arm64-build-test:
777 extends:
778 - .meson-arm
779 - .ci-deqp-artifacts
780 variables:
781 VULKAN_DRIVERS: "amd"
Tomeu Vizosoa9560932020-08-03 16:19:38 +0200782 EXTRA_OPTION: >
783 -Dtools=panfrost
Eric Anholt22a63962020-10-19 11:54:24 -0700784 -D werror=true
Rohan Garg9c0bbba2020-02-20 16:37:48 +0100785 script:
786 - .gitlab-ci/meson-build.sh
787
Michel Dänzera2cce702019-03-20 15:58:31 +0100788meson-clang:
789 extends: .meson-build
790 variables:
Dylan Baker138c0032020-05-19 14:01:47 -0700791 UNWIND: "enabled"
Samuel Pitoiset73621762019-11-19 14:37:32 +0100792 DRI_LOADERS: >
793 -D glvnd=true
Michel Dänzera2cce702019-03-20 15:58:31 +0100794 DRI_DRIVERS: "auto"
Boris Brezillonf7583bd2020-09-22 12:00:18 +0200795 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink,radeonsi,tegra"
Alejandro Piñeiroe4af07b2020-10-01 12:08:17 +0200796 VULKAN_DRIVERS: intel,amd,freedreno,broadcom
Dave Airlie137d7d22020-10-06 10:49:00 +1000797 CC: "ccache clang-10"
798 CXX: "ccache clang++-10"
Michel Dänzera2cce702019-03-20 15:58:31 +0100799
Daniel Stoneb8f2d712020-08-28 19:08:39 +0100800.meson-windows-vs2019:
Dylan Baker19851c92019-10-23 14:36:19 -0700801 extends:
802 - .build-windows
Daniel Stone07885cb2020-03-24 11:11:36 +0000803 - .use-windows_build_vs2019
Michel Dänzercc9493f2020-02-27 18:27:56 +0100804 stage: meson-misc
Dylan Baker19851c92019-10-23 14:36:19 -0700805 script:
Daniel Stone07885cb2020-03-24 11:11:36 +0000806 - . .\.gitlab-ci\windows\mesa_build.ps1
Dylan Baker19851c92019-10-23 14:36:19 -0700807
Michel Dänzer82b30092019-05-03 18:19:25 +0200808scons-win64:
809 extends: .scons-build
810 variables:
Jose Fonseca27d58a12020-03-28 10:36:28 +0000811 SCONS_TARGET: platform=windows machine=x86_64 debug=1
Michel Dänzer82b30092019-05-03 18:19:25 +0200812 SCONS_CHECK_COMMAND: "true"
Jose Fonseca27d58a12020-03-28 10:36:28 +0000813 allow_failure: true
Eric Engestrom89a74672019-01-21 09:42:37 +0000814
Michel Dänzer68977152019-05-03 10:58:48 +0200815meson-clover:
Eric Engestromb5a70af2019-01-28 18:05:22 +0000816 extends: .meson-build
817 variables:
Dylan Baker138c0032020-05-19 14:01:47 -0700818 UNWIND: "enabled"
Eric Engestromb5a70af2019-01-28 18:05:22 +0000819 DRI_LOADERS: >
820 -D glx=disabled
Dylan Baker138c0032020-05-19 14:01:47 -0700821 -D egl=disabled
822 -D gbm=disabled
Michel Dänzer262e3882020-05-30 23:55:28 +0200823 GALLIUM_DRIVERS: "r600,radeonsi"
Eric Engestromb5a70af2019-01-28 18:05:22 +0000824 GALLIUM_ST: >
Dylan Baker138c0032020-05-19 14:01:47 -0700825 -D dri3=disabled
826 -D gallium-vdpau=disabled
827 -D gallium-xvmc=disabled
Eric Engestromb5a70af2019-01-28 18:05:22 +0000828 -D gallium-omx=disabled
Dylan Baker138c0032020-05-19 14:01:47 -0700829 -D gallium-va=disabled
830 -D gallium-xa=disabled
Eric Engestromb5a70af2019-01-28 18:05:22 +0000831 -D gallium-nine=false
832 -D gallium-opencl=icd
Michel Dänzer68977152019-05-03 10:58:48 +0200833 script:
Samuel Pitoiset7d1c0912019-08-21 11:45:25 +0200834 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
Dave Airlie137d7d22020-10-06 10:49:00 +1000835 - LLVM_VERSION=9 .gitlab-ci/meson-build.sh
836 - .gitlab-ci/meson-build.sh
Michel Dänzer8a199922019-09-06 17:04:47 +0200837
Michel Dänzer82b30092019-05-03 18:19:25 +0200838meson-vulkan:
839 extends: .meson-build
840 variables:
Dylan Baker138c0032020-05-19 14:01:47 -0700841 UNWIND: "disabled"
Michel Dänzer82b30092019-05-03 18:19:25 +0200842 DRI_LOADERS: >
843 -D glx=disabled
Dylan Baker138c0032020-05-19 14:01:47 -0700844 -D gbm=disabled
845 -D egl=disabled
Eric Engestrome00adef2019-06-25 15:44:16 +0100846 -D platforms=x11,wayland
Michel Dänzer82b30092019-05-03 18:19:25 +0200847 -D osmesa=none
848 GALLIUM_ST: >
Dylan Baker138c0032020-05-19 14:01:47 -0700849 -D dri3=enabled
850 -D gallium-vdpau=disabled
851 -D gallium-xvmc=disabled
Michel Dänzer82b30092019-05-03 18:19:25 +0200852 -D gallium-omx=disabled
Dylan Baker138c0032020-05-19 14:01:47 -0700853 -D gallium-va=disabled
854 -D gallium-xa=disabled
Michel Dänzer82b30092019-05-03 18:19:25 +0200855 -D gallium-nine=false
856 -D gallium-opencl=disabled
Michel Dänzer75cc8c02019-09-25 12:56:58 +0200857 -D b_sanitize=undefined
858 -D c_args=-fno-sanitize-recover=all
859 -D cpp_args=-fno-sanitize-recover=all
860 UBSAN_OPTIONS: "print_stacktrace=1"
Alejandro Piñeiroe4af07b2020-10-01 12:08:17 +0200861 VULKAN_DRIVERS: intel,amd,freedreno,broadcom
Eric Engestrom5f8d29a2019-05-08 18:17:23 +0200862 EXTRA_OPTION: >
863 -D vulkan-overlay-layer=true
Rhys Perry54394a42020-06-03 14:25:12 +0100864 -D build-aco-tests=true
Eric Anholt3c7c0212019-12-16 21:23:02 -0800865 -D werror=true
Michel Dänzer82b30092019-05-03 18:19:25 +0200866
Eric Anholt11aa32a2019-07-11 12:58:28 -0700867meson-i386:
Michel Dänzer3acd5a62020-06-01 19:08:30 +0200868 extends:
869 - .meson-cross
870 - .use-i386_build
Eric Anholt11aa32a2019-07-11 12:58:28 -0700871 variables:
Eric Engestrom1c82fa02019-08-09 23:46:50 +0100872 CROSS: i386
Samuel Pitoiset529c0ba2020-03-04 09:37:46 +0100873 VULKAN_DRIVERS: intel,amd
Michel Dänzera0591862020-03-12 12:31:05 +0100874 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
Eric Anholt11aa32a2019-07-11 12:58:28 -0700875 EXTRA_OPTION: >
Eric Anholt11aa32a2019-07-11 12:58:28 -0700876 -D vulkan-overlay-layer=true
Eric Anholtf6e59912019-12-16 21:23:02 -0800877 -D werror=true
Eric Anholt11aa32a2019-07-11 12:58:28 -0700878
Michel Dänzer65610ec2020-01-30 18:21:15 +0100879meson-s390x:
880 extends:
881 - .meson-cross
Michel Dänzer3acd5a62020-06-01 19:08:30 +0200882 - .use-s390x_build
Michel Dänzer130c0ba2020-03-18 18:41:43 +0100883 tags:
884 - kvm
Michel Dänzer65610ec2020-01-30 18:21:15 +0100885 variables:
886 CROSS: s390x
Michel Dänzer6c99de982020-05-23 16:07:53 +0200887 EXTRA_OPTION: >
888 -D werror=true
Michel Dänzer65610ec2020-01-30 18:21:15 +0100889 GALLIUM_DRIVERS: "swrast"
Michel Dänzer65610ec2020-01-30 18:21:15 +0100890
891meson-ppc64el:
892 extends:
893 - meson-s390x
Michel Dänzer3acd5a62020-06-01 19:08:30 +0200894 - .use-ppc64el_build
Michel Dänzer65610ec2020-01-30 18:21:15 +0100895 variables:
896 CROSS: ppc64el
Michel Dänzer6c99de982020-05-23 16:07:53 +0200897 EXTRA_OPTION: ""
Michel Dänzer8be81f82020-01-31 16:07:10 +0100898 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
Michel Dänzer8be81f82020-01-31 16:07:10 +0100899 VULKAN_DRIVERS: "amd"
Michel Dänzer65610ec2020-01-30 18:21:15 +0100900
Dylan Baker449f8312019-10-11 09:04:14 -0700901meson-mingw32-x86_64:
Dylan Bakerd905d9b2019-09-19 10:21:51 -0700902 extends: .meson-build
Michel Dänzercc9493f2020-02-27 18:27:56 +0100903 stage: meson-misc
Dylan Bakerd905d9b2019-09-19 10:21:51 -0700904 variables:
Dylan Baker138c0032020-05-19 14:01:47 -0700905 UNWIND: "disabled"
Dylan Bakerd905d9b2019-09-19 10:21:51 -0700906 DRI_DRIVERS: ""
907 GALLIUM_DRIVERS: "swrast"
908 EXTRA_OPTION: >
Dylan Baker138c0032020-05-19 14:01:47 -0700909 -Dllvm=disabled
Dylan Bakerd905d9b2019-09-19 10:21:51 -0700910 -Dosmesa=gallium
911 --cross-file=.gitlab-ci/x86_64-w64-mingw32
912
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100913.test:
Michel Dänzer576f7b62019-10-22 17:16:52 +0200914 extends:
915 - .ci-run-policy
Michel Dänzerd9693c62020-07-21 16:13:37 +0200916 # Cancel job if a newer commit is pushed to the same branch
917 interruptible: true
Eric Anholt46daaca2019-06-28 16:35:32 -0700918 variables:
919 GIT_STRATEGY: none # testing doesn't build anything from source
Michel Dänzer576f7b62019-10-22 17:16:52 +0200920 before_script:
Eric Anholt46daaca2019-06-28 16:35:32 -0700921 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
922 - rm -rf install
923 - tar -xf artifacts/install.tar
Samuel Pitoiseteab328f2019-11-14 14:00:46 +0100924 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
Eric Anholt46daaca2019-06-28 16:35:32 -0700925 artifacts:
Rob Clarkfdaf7772019-11-17 11:33:01 -0800926 when: always
Michel Dänzer0103f022020-03-06 12:35:17 +0100927 name: "mesa_${CI_JOB_NAME}"
Eric Anholt46daaca2019-06-28 16:35:32 -0700928 paths:
929 - results/
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100930
Dave Airlie0a172dc2020-09-29 08:40:13 +1000931.use-x86_test-gl:
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100932 extends:
933 - .test
934 variables:
935 TAG: *x86_test-gl
936 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
Michel Dänzerc5aa2712019-10-22 11:19:17 +0200937 needs:
Samuel Pitoiset520a77d2019-11-18 09:15:12 +0100938 - x86_test-gl
Eric Anholt46daaca2019-06-28 16:35:32 -0700939
Dave Airlie0a172dc2020-09-29 08:40:13 +1000940.test-gl:
941 extends:
942 - .use-x86_test-gl
943 needs:
944 - x86_test-gl
945 - meson-testing
946
Samuel Pitoiset0b246d32019-11-18 09:30:27 +0100947.test-vk:
948 extends:
949 - .test
950 variables:
951 TAG: *x86_test-vk
952 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
953 needs:
954 - meson-testing
955 - x86_test-vk
956
Dave Airlie0a172dc2020-09-29 08:40:13 +1000957.test-cl:
958 extends:
959 - .use-x86_test-gl
960 needs:
961 - x86_test-gl
962 - meson-clover-testing
963
Michel Dänzer576f7b62019-10-22 17:16:52 +0200964.piglit-test:
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +0100965 extends:
966 - .test-gl
967 - .llvmpipe-rules
Michel Dänzera3b3d3b2019-11-25 18:42:10 +0100968 artifacts:
969 when: on_failure
Michel Dänzer0103f022020-03-06 12:35:17 +0100970 name: "mesa_${CI_JOB_NAME}"
Michel Dänzera3b3d3b2019-11-25 18:42:10 +0100971 paths:
972 - summary/
Michel Dänzer576f7b62019-10-22 17:16:52 +0200973 variables:
974 LIBGL_ALWAYS_SOFTWARE: 1
975 PIGLIT_NO_WINDOW: 1
976 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +0100977 - install/piglit/run.sh
Michel Dänzer576f7b62019-10-22 17:16:52 +0200978
Dave Airlie0a172dc2020-09-29 08:40:13 +1000979piglit-cl:
980 extends:
981 - .piglit-test
982 - .test-cl
983 variables:
984 LP_CL: 1
985 LP_NUM_THREADS: 1
986 PIGLIT_PROFILES: cl
987 PIGLIT_OPTIONS: >
988 -x bswap -x phatk
989 script:
990 - install/piglit/run_cl.sh
991
Michel Dänzer576f7b62019-10-22 17:16:52 +0200992piglit-quick_gl:
993 extends: .piglit-test
994 variables:
995 LP_NUM_THREADS: 0
996 PIGLIT_OPTIONS: >
Michel Dänzer5585b8e2019-12-03 10:45:28 +0100997 --process-isolation false
Eric Anholt3097efe2019-12-04 16:13:38 -0800998 -x egl_ext_device_
999 -x egl_ext_platform_device
Matt Turner17c9ec92020-01-21 15:23:39 -08001000 -x ext_timer_query@time-elapsed
Michel Dänzer576f7b62019-10-22 17:16:52 +02001001 -x glx-multithread-clearbuffer
1002 -x glx-multithread-shader-compile
1003 -x max-texture-size
1004 -x maxsize
1005 PIGLIT_PROFILES: quick_gl
1006
Michel Dänzer5585b8e2019-12-03 10:45:28 +01001007piglit-glslparser:
1008 extends: .piglit-test
1009 variables:
1010 LP_NUM_THREADS: 0
1011 PIGLIT_PROFILES: glslparser
1012
1013piglit-quick_shader:
Michel Dänzer576f7b62019-10-22 17:16:52 +02001014 extends: .piglit-test
1015 variables:
1016 LP_NUM_THREADS: 1
Michel Dänzer5585b8e2019-12-03 10:45:28 +01001017 PIGLIT_PROFILES: quick_shader
Michel Dänzer576f7b62019-10-22 17:16:52 +02001018
Samuel Pitoiset16b999b2019-11-19 08:39:00 +01001019.deqp-test:
Michel Dänzer576f7b62019-10-22 17:16:52 +02001020 variables:
1021 DEQP_SKIPS: deqp-default-skips.txt
1022 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +01001023 - ./install/deqp-runner.sh
Michel Dänzer576f7b62019-10-22 17:16:52 +02001024
Samuel Pitoiset16b999b2019-11-19 08:39:00 +01001025.deqp-test-gl:
1026 extends:
1027 - .test-gl
1028 - .deqp-test
1029
1030.deqp-test-vk:
1031 extends:
1032 - .test-vk
1033 - .deqp-test
1034 variables:
1035 DEQP_VER: vk
1036
Samuel Pitoiset1cdb6ed2020-02-26 09:33:14 +01001037.fossilize-test:
1038 extends: .test-vk
1039 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +01001040 - ./install/fossilize-runner.sh
Samuel Pitoiset276e6d72020-06-25 11:21:12 +02001041 artifacts:
1042 when: on_failure
1043 name: "mesa_${CI_JOB_NAME}"
1044 paths:
1045 - results/
Samuel Pitoiset1cdb6ed2020-02-26 09:33:14 +01001046
Michel Dänzer71436f92020-03-03 18:17:12 +01001047llvmpipe-gles2:
Eric Anholt46daaca2019-06-28 16:35:32 -07001048 variables:
1049 DEQP_VER: gles2
Eric Anholtfd24a952020-06-26 10:59:41 -07001050 # Don't use threads inside llvmpipe, we've already got all cores
1051 # busy at the deqp-runner level.
Eric Anholtf08c8102019-11-04 10:54:41 -08001052 LP_NUM_THREADS: 0
Eric Anholt46daaca2019-06-28 16:35:32 -07001053 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
1054 LIBGL_ALWAYS_SOFTWARE: "true"
Eric Anholt8b221e02020-04-17 12:39:32 -07001055 DEQP_EXPECTED_RENDERER: llvmpipe
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +01001056 extends:
1057 - .deqp-test-gl
1058 - .llvmpipe-rules
Eric Anholt553cd822019-08-09 10:32:40 -07001059
Michel Dänzer71436f92020-03-03 18:17:12 +01001060softpipe-gles2:
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +01001061 extends:
1062 - llvmpipe-gles2
1063 - .softpipe-rules
Eric Anholt553cd822019-08-09 10:32:40 -07001064 variables:
Eric Anholt553cd822019-08-09 10:32:40 -07001065 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
Eric Anholtf08c8102019-11-04 10:54:41 -08001066 DEQP_SKIPS: deqp-softpipe-skips.txt
Eric Anholt553cd822019-08-09 10:32:40 -07001067 GALLIUM_DRIVER: "softpipe"
Eric Anholt8b221e02020-04-17 12:39:32 -07001068 DEQP_EXPECTED_RENDERER: softpipe
Eric Anholt553cd822019-08-09 10:32:40 -07001069
Michel Dänzer71436f92020-03-03 18:17:12 +01001070softpipe-gles3:
Eric Anholt553cd822019-08-09 10:32:40 -07001071 variables:
1072 DEQP_VER: gles3
Michel Dänzer71436f92020-03-03 18:17:12 +01001073 extends: softpipe-gles2
Eric Anholt52843ec2019-11-05 10:31:29 -08001074
Michel Dänzer71436f92020-03-03 18:17:12 +01001075softpipe-gles31:
Michel Dänzer589d8662020-07-21 16:36:28 +02001076 parallel: 2
Eric Anholt52843ec2019-11-05 10:31:29 -08001077 variables:
1078 DEQP_VER: gles31
Michel Dänzer71436f92020-03-03 18:17:12 +01001079 extends: softpipe-gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -07001080
Eric Anholt86840612020-08-25 13:43:27 -07001081# Note that KHR-GL3* test sets include all tests from the previous
1082# version, so we only need to run one test list (unlike dEQP-GLES,
1083# where the test sets are separate).
1084softpipe-gl:
1085 variables:
1086 DEQP_VER: gl33
1087 extends:
1088 - softpipe-gles2
1089
Tomeu Vizoso2102d5e2020-05-12 10:18:48 +02001090virgl-gles2-on-gl:
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +02001091 variables:
1092 DEQP_VER: gles2
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +02001093 DEQP_NO_SAVE_RESULTS: 1
Daniel Stonee513d8d2020-08-17 18:47:16 +01001094 DEQP_SKIPS: deqp-virgl-gl-skips.txt
Eric Anholtfd24a952020-06-26 10:59:41 -07001095 # Don't use threads inside llvmpipe, we've already got all cores
1096 # busy at the deqp-runner level.
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +02001097 LP_NUM_THREADS: 0
Tomeu Vizoso2102d5e2020-05-12 10:18:48 +02001098 DEQP_EXPECTED_FAILS: deqp-virgl-gl-fails.txt
1099 DEQP_OPTIONS: "--deqp-log-images=disable"
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +02001100 LIBGL_ALWAYS_SOFTWARE: "true"
1101 GALLIUM_DRIVER: "virpipe"
Eric Anholt8b221e02020-04-17 12:39:32 -07001102 DEQP_EXPECTED_RENDERER: virgl
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +02001103 extends:
1104 - .deqp-test-gl
1105 - .virgl-rules
1106
Tomeu Vizoso2102d5e2020-05-12 10:18:48 +02001107virgl-gles3-on-gl:
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +02001108 variables:
1109 DEQP_VER: gles3
Tomeu Vizoso2102d5e2020-05-12 10:18:48 +02001110 DEQP_RUNNER_OPTIONS: "--timeout 180"
1111 extends: virgl-gles2-on-gl
Tomeu Vizosoad3ef6d2020-04-01 09:17:25 +02001112
Tomeu Vizoso2102d5e2020-05-12 10:18:48 +02001113virgl-gles31-on-gl:
Michel Dänzer589d8662020-07-21 16:36:28 +02001114 parallel: 2
Tomeu Vizoso5a5316e2020-04-21 14:51:59 +02001115 variables:
1116 DEQP_VER: gles31
Tomeu Vizoso5a5316e2020-04-21 14:51:59 +02001117 MESA_GLES_VERSION_OVERRIDE: "3.1"
1118 MESA_GLSL_VERSION_OVERRIDE: "310"
Dave Airliec8c74502020-06-04 12:10:40 +10001119 MESA_EXTENSION_OVERRIDE: "-GL_OES_tessellation_shader"
Tomeu Vizoso2102d5e2020-05-12 10:18:48 +02001120 extends: virgl-gles3-on-gl
Tomeu Vizoso5a5316e2020-04-21 14:51:59 +02001121
Tomeu Vizoso287bf5f2020-05-13 09:46:06 +02001122virgl-gl30-on-gl:
1123 variables:
1124 DEQP_VER: gl30
1125 extends: virgl-gles2-on-gl
1126
1127virgl-gl31-on-gl:
1128 variables:
1129 DEQP_VER: gl31
1130 extends: virgl-gles2-on-gl
1131
1132virgl-gl32-on-gl:
1133 variables:
1134 DEQP_VER: gl32
1135 extends: virgl-gles2-on-gl
1136
Eric Anholt8edaa842020-03-19 11:45:01 -07001137# Rules for tests that should not be present in MRs or the main
1138# project's pipeline (don't block marge or report red on
1139# mesa/mesamaster) but should be present on pipelines in personal
1140# branches (so you can opt in to running the flaky test when you want
1141# to).
1142.test-manual:
1143 rules:
Benjamin Tissoires1a3eb432020-07-07 15:02:35 +02001144 - *ignore_scheduled_pipelines
Michel Dänzer22a7c252020-09-08 17:52:24 +02001145 - if: *is-forked-branch
Michel Dänzer6a8e5dd2020-04-11 15:32:02 +02001146 changes:
1147 *all_paths
1148 when: manual
1149 - when: never
Eric Anholt8edaa842020-03-19 11:45:01 -07001150
Tomeu Vizoso2102d5e2020-05-12 10:18:48 +02001151virgl-gles2-on-gles:
1152 variables:
1153 VIRGL_HOST_API: GLES
1154 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1155 extends:
1156 - virgl-gles2-on-gl
1157 - .test-manual
1158
1159virgl-gles3-on-gles:
1160 variables:
1161 VIRGL_HOST_API: GLES
1162 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1163 extends:
1164 - virgl-gles3-on-gl
1165 - .test-manual
1166
1167virgl-gles31-on-gles:
1168 variables:
1169 VIRGL_HOST_API: GLES
1170 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1171 extends:
1172 - virgl-gles31-on-gl
1173 - .test-manual
1174
Fritz Koenig2a98cf32020-02-12 19:31:24 +00001175arm64_a630_gles2:
Michel Dänzerc6c76522019-11-11 18:13:28 +01001176 extends:
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001177 - arm64_a306_gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -07001178 variables:
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001179 BM_KERNEL: /lava-files/cheza-kernel
1180 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
Eric Anholt6f0dc082019-06-28 16:35:32 -07001181 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
Eric Anholtc19b7fc2020-08-19 10:43:54 -07001182 DEQP_FLAKES: deqp-freedreno-a630-flakes.txt
Eric Anholt72fe7b92020-06-08 15:36:16 -07001183 GIT_STRATEGY: none
Eric Anholt8b221e02020-04-17 12:39:32 -07001184 DEQP_EXPECTED_RENDERER: FD630
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001185 DEQP_NO_SAVE_RESULTS: ""
Eric Anholt6f0dc082019-06-28 16:35:32 -07001186 tags:
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001187 - google-freedreno-cheza
1188 script:
Eric Anholt72fe7b92020-06-08 15:36:16 -07001189 - ./install/bare-metal/cros-servo.sh
Eric Anholt6f0dc082019-06-28 16:35:32 -07001190
Fritz Koenig2a98cf32020-02-12 19:31:24 +00001191arm64_a630_gles31:
1192 extends: arm64_a630_gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -07001193 variables:
Michel Dänzer128581d2019-09-11 18:55:43 +02001194 DEQP_VER: gles31
Eric Anholt6f0dc082019-06-28 16:35:32 -07001195
Fritz Koenig2a98cf32020-02-12 19:31:24 +00001196arm64_a630_gles3:
1197 extends: arm64_a630_gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -07001198 variables:
1199 DEQP_VER: gles3
1200
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001201# We almost always manage to lower UBOs back to constant uploads in
1202# the test suite, so get a little testing for it here.
Rob Clarke5169b12020-07-16 14:20:22 -07001203arm64_a630_noubo:
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001204 extends: arm64_a630_gles31
Eric Anholt5082ac02020-04-17 12:02:37 -07001205 variables:
1206 DEQP_VER: gles31
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001207 IR3_SHADER_DEBUG: nouboopt
1208 DEQP_CASELIST_FILTER: "functional.*ubo"
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001209
1210# The driver does some guessing as to whether to render using gmem
1211# or bypass, and some GLES3.1 features interact with either one.
1212# Do a little testing with gmem and bypass forced.
Rob Clarke5169b12020-07-16 14:20:22 -07001213arm64_a630_bypass:
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001214 extends: arm64_a630_gles31
1215 variables:
Eric Anholt5082ac02020-04-17 12:02:37 -07001216 CI_NODE_INDEX: 1
1217 CI_NODE_TOTAL: 5
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001218 FD_MESA_DEBUG: nogmem
1219 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1220
Rob Clarke5169b12020-07-16 14:20:22 -07001221arm64_a630_traces:
Eric Anholtb88c46f2020-06-08 14:51:59 -07001222 extends:
1223 - arm64_a630_gles2
1224 variables:
1225 BARE_METAL_TEST_SCRIPT: "/install/tracie-runner-gl.sh"
1226 DEVICE_NAME: "freedreno-a630"
Tomeu Vizoso7d5f4d32020-08-05 10:17:26 +02001227 DRIVER_NAME: "freedreno"
Eric Anholtb88c46f2020-06-08 14:51:59 -07001228 TRACIE_NO_UNIT_TESTS: 1
Tomeu Vizosod4ca45e2020-07-31 08:13:15 +02001229 TRACIE_UPLOAD_TO_MINIO: 1
Eric Anholtb88c46f2020-06-08 14:51:59 -07001230 # This lets us run several more traces which don't use any features we're
1231 # missing.
1232 MESA_GLSL_VERSION_OVERRIDE: "460"
1233 MESA_GL_VERSION_OVERRIDE: "4.6"
Alexandros Frantzisf4210df2020-09-04 14:20:39 +03001234 artifacts:
1235 reports:
1236 junit: results/junit.xml
Eric Anholtb88c46f2020-06-08 14:51:59 -07001237
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001238# Along with checking gmem path, check that we don't get obvious nir
1239# validation failures (though it's too expensive to have it on for the
1240# full CTS)
Rob Clarke5169b12020-07-16 14:20:22 -07001241arm64_a630_gmem:
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001242 extends: arm64_a630_gles31
1243 variables:
1244 CI_NODE_INDEX: 1
1245 CI_NODE_TOTAL: 5
1246 FD_MESA_DEBUG: nobypass
Eric Anholt5082ac02020-04-17 12:02:37 -07001247
Eric Anholt5c0d34c2020-08-27 09:28:53 -07001248arm64_a630_gl:
1249 extends: arm64_a630_gles2
1250 variables:
1251 DEQP_VER: gl30
1252
Rob Clark1b39d742020-09-01 17:14:51 -07001253# disabled pending https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1859
1254.arm64_a630_gles3_multisample:
1255 extends: arm64_a630_gles3
1256 variables:
1257 DEQP_CONFIG: rgba8888d24s8ms4
1258 DEQP_VARIANT: multisample
1259 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-multisample-fails.txt
1260
1261# disabled pending https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1859
1262.arm64_a630_gles31_multisample:
1263 extends: arm64_a630_gles31
1264 variables:
1265 DEQP_CONFIG: rgba8888d24s8ms4
1266 DEQP_VARIANT: multisample
1267 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-multisample-fails.txt
1268
1269arm64_a630_gles3_565nozs:
1270 extends: arm64_a630_gles3
1271 variables:
1272 DEQP_CONFIG: rgb565d0s0ms0
1273 DEQP_VARIANT: 565-no-depth-no-stencil
1274 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-565nozs-fails.txt
1275
1276arm64_a630_gles31_565nozs:
1277 extends: arm64_a630_gles31
1278 variables:
1279 DEQP_CONFIG: rgb565d0s0ms0
1280 DEQP_VARIANT: 565-no-depth-no-stencil
1281 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-565nozs-fails.txt
1282
Jonathan Marekbe33d582020-07-14 10:58:56 -04001283arm64_a630_vk:
Eric Anholt9e11cce2020-05-25 12:57:25 -07001284 extends: arm64_a630_gles2
1285 variables:
1286 DEQP_VER: vk
1287 CI_NODE_INDEX: 1
1288 CI_NODE_TOTAL: 50
1289 VK_DRIVER: freedreno
1290 # Force binning in the main run, which makes sure we render at
1291 # least 2 bins. This is the path that impacts the most different
1292 # features. However, we end up with flaky results in
1293 # dEQP-VK.binding_model.*.geometry and dEQP-VK.glsl.*_vertex.
1294 TU_DEBUG: forcebin
1295
1296# Do a separate sysmem pass over the testcases that really affect sysmem
1297# rendering. This is currently very flaky, leave it as an option for devs
1298# to click play on in their branches.
Rob Clarke5169b12020-07-16 14:20:22 -07001299arm64_a630_vk_sysmem:
Eric Anholt9e11cce2020-05-25 12:57:25 -07001300 extends:
Jonathan Marekbe33d582020-07-14 10:58:56 -04001301 - arm64_a630_vk
Eric Anholt9e11cce2020-05-25 12:57:25 -07001302 variables:
1303 CI_NODE_INDEX: 1
1304 CI_NODE_TOTAL: 10
1305 DEQP_CASELIST_FILTER: "dEQP-VK.renderpass.*"
1306 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1307 TU_DEBUG: sysmem
1308
Eric Anholtcf5ba9d2020-03-03 14:38:09 -08001309.baremetal-test:
1310 extends:
1311 - .ci-run-policy
Eric Anholt109816b2020-06-08 15:09:51 -07001312 - .test
Michel Dänzerd9693c62020-07-21 16:13:37 +02001313 # Cancel job if a newer commit is pushed to the same branch
1314 interruptible: true
Eric Anholtcf5ba9d2020-03-03 14:38:09 -08001315 stage: test
Eric Anholt6f4fc4f2020-05-15 11:22:37 -07001316 artifacts:
1317 when: always
1318 name: "mesa_${CI_JOB_NAME}"
1319 paths:
1320 - results/
1321 - serial*.txt
Eric Anholtcf5ba9d2020-03-03 14:38:09 -08001322
Eric Anholtaea8c9c2020-03-03 11:44:45 -08001323arm64_a306_gles2:
Eric Anholtcf5ba9d2020-03-03 14:38:09 -08001324 extends:
1325 - .baremetal-test
Christian Gmeiner839bc2d2020-06-07 23:19:50 +02001326 - .use-arm64_test
Eric Anholtf778c482020-03-18 09:51:03 -07001327 - .freedreno-rules
Eric Anholtaea8c9c2020-03-03 11:44:45 -08001328 variables:
Eric Anholt4bc15e72020-03-03 14:38:09 -08001329 BM_KERNEL: /lava-files/Image.gz
Eric Anholtcf5ba9d2020-03-03 14:38:09 -08001330 BM_DTB: /lava-files/apq8016-sbc.dtb
1331 BM_ROOTFS: /lava-files/rootfs-arm64
1332 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
Eric Anholt3b5e71c2020-05-01 09:57:00 -07001333 FLAKES_CHANNEL: "#freedreno-ci"
Eric Anholt109816b2020-06-08 15:09:51 -07001334 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
Eric Anholtaea8c9c2020-03-03 11:44:45 -08001335 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
Eric Anholtc19b7fc2020-08-19 10:43:54 -07001336 DEQP_SKIPS: deqp-default-skips.txt
1337 DEQP_FLAKES: deqp-freedreno-a307-flakes.txt
Eric Anholtcf5ba9d2020-03-03 14:38:09 -08001338 DEQP_VER: gles2
1339 DEQP_PARALLEL: 4
Eric Anholt8b221e02020-04-17 12:39:32 -07001340 DEQP_EXPECTED_RENDERER: FD307
Eric Anholt46d9b502020-05-22 15:48:55 -07001341 # Since we can't get artifacts back yet, skip making them.
1342 DEQP_NO_SAVE_RESULTS: 1
Eric Anholtcf5ba9d2020-03-03 14:38:09 -08001343 script:
Eric Anholt72fe7b92020-06-08 15:36:16 -07001344 - ./install/bare-metal/fastboot.sh
Eric Anholtcf5ba9d2020-03-03 14:38:09 -08001345 needs:
Christian Gmeiner839bc2d2020-06-07 23:19:50 +02001346 - arm64_test
Eric Anholtcf5ba9d2020-03-03 14:38:09 -08001347 - meson-arm64
Eric Anholtaea8c9c2020-03-03 11:44:45 -08001348 tags:
Eric Anholtcf5ba9d2020-03-03 14:38:09 -08001349 - google-freedreno-db410c
1350
Eric Anholtb4bccbd2020-05-15 11:20:44 -07001351# Fractional run, single threaded, due to flaky results
Eric Anholt8edaa842020-03-19 11:45:01 -07001352arm64_a306_gles3:
Eric Anholtcf5ba9d2020-03-03 14:38:09 -08001353 extends:
1354 - arm64_a306_gles2
Eric Anholtcf5ba9d2020-03-03 14:38:09 -08001355 variables:
1356 DEQP_VER: gles3
Eric Anholtfa49a502020-04-22 11:30:38 -07001357 DEQP_PARALLEL: 1
1358 CI_NODE_INDEX: 1
Eric Anholtb4bccbd2020-05-15 11:20:44 -07001359 CI_NODE_TOTAL: 25
Eric Anholtaea8c9c2020-03-03 11:44:45 -08001360
Eric Anholtae442c32020-05-15 16:15:07 -07001361# Fractional runs with debug options. Note that since we're not
1362# hitting the iommu faults, we can run in parallel (derive from gles2, not gles3).
1363arm64_a306_gles3_options:
1364 extends: arm64_a306_gles2
1365 variables:
1366 DEQP_VER: gles3
1367 script:
1368 # Check that the non-constbuf UBO case works.
Eric Anholt72fe7b92020-06-08 15:36:16 -07001369 - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" ./install/bare-metal/fastboot.sh
Eric Anholtae442c32020-05-15 16:15:07 -07001370
Eric Anholtb05c1072020-10-16 17:20:11 -07001371.arm64_a530_deqp:
Eric Anholt4bc15e72020-03-03 14:38:09 -08001372 extends:
1373 - arm64_a306_gles2
Eric Anholt4bc15e72020-03-03 14:38:09 -08001374 variables:
1375 BM_KERNEL: /lava-files/db820c-kernel
1376 BM_DTB: /lava-files/db820c.dtb
Eric Anholt6033c102020-05-19 16:33:10 -07001377 # Disable SMP because only CPU 0 is at a freq higher than 19mhz on
1378 # current upstream kernel.
1379 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 nosmp"
Eric Anholt4bc15e72020-03-03 14:38:09 -08001380 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
Eric Anholtc19b7fc2020-08-19 10:43:54 -07001381 DEQP_FLAKES: deqp-freedreno-a530-flakes.txt
Eric Anholt8b221e02020-04-17 12:39:32 -07001382 DEQP_EXPECTED_RENDERER: FD530
Eric Anholt4bc15e72020-03-03 14:38:09 -08001383 tags:
1384 - google-freedreno-db820c
1385
Eric Anholtb05c1072020-10-16 17:20:11 -07001386arm64_a530_gles2:
1387 extends:
1388 - .arm64_a530_deqp
1389 parallel: 2
1390
Eric Anholt4bc15e72020-03-03 14:38:09 -08001391arm64_a530_gles3:
1392 extends:
Eric Anholtb05c1072020-10-16 17:20:11 -07001393 - .arm64_a530_deqp
Eric Anholt4bc15e72020-03-03 14:38:09 -08001394 variables:
1395 DEQP_VER: gles3
Eric Anholtfa49a502020-04-22 11:30:38 -07001396 DEQP_PARALLEL: 1
1397 CI_NODE_INDEX: 1
Eric Anholt6bf40c22020-05-19 16:44:14 -07001398 CI_NODE_TOTAL: 40
Eric Anholt4bc15e72020-03-03 14:38:09 -08001399
Eric Anholt6c011522020-04-22 12:08:06 -07001400arm64_a530_gles31:
1401 extends:
1402 - arm64_a530_gles3
1403 variables:
1404 DEQP_VER: gles31
Eric Anholt6bf40c22020-05-19 16:44:14 -07001405 CI_NODE_INDEX: 1
1406 CI_NODE_TOTAL: 10
Eric Anholt6c011522020-04-22 12:08:06 -07001407
Samuel Pitoisetc1a36272019-11-13 11:03:52 +01001408# RADV CI
1409.test-radv:
Samuel Pitoiset8f554392020-03-09 17:53:51 +01001410 extends: .radv-rules
Samuel Pitoiset48e92032020-03-06 08:39:25 +01001411 stage: radv
Samuel Pitoisetc1a36272019-11-13 11:03:52 +01001412 variables:
1413 VK_DRIVER: radeon
Samuel Pitoiseta44cfac2020-05-04 11:44:45 +02001414 ACO_DEBUG: validateir,validatera
Samuel Pitoiset42a3d822020-02-05 17:04:20 +01001415
Eric Anholt8edaa842020-03-19 11:45:01 -07001416# Can only be triggered manually on personal branches because RADV is the only
1417# driver that does Vulkan testing at the moment.
Samuel Pitoisetc1a36272019-11-13 11:03:52 +01001418radv_polaris10_vkcts:
1419 extends:
1420 - .deqp-test-vk
Eric Anholt8edaa842020-03-19 11:45:01 -07001421 - .test-radv
1422 - .test-manual
Samuel Pitoisetc1a36272019-11-13 11:03:52 +01001423 variables:
Samuel Pitoisetc1a36272019-11-13 11:03:52 +01001424 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
1425 tags:
1426 - polaris10
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +02001427
Samuel Pitoisete22d5622020-03-06 08:36:14 +01001428radv-fossils:
1429 extends:
1430 - .fossilize-test
1431 - .test-radv
1432 script:
Samuel Pitoisetf9dbca82020-05-04 11:48:46 +02001433 # Pitcairn (GFX6)
1434 - export RADV_FORCE_FAMILY="pitcairn"
1435 - ./install/fossilize-runner.sh
Samuel Pitoisetf9dbca82020-05-04 11:48:46 +02001436 # Bonaire (GFX7)
1437 - export RADV_FORCE_FAMILY="bonaire"
1438 - ./install/fossilize-runner.sh
Samuel Pitoisetf9dbca82020-05-04 11:48:46 +02001439 # Polaris10 (GFX8)
Samuel Pitoisete22d5622020-03-06 08:36:14 +01001440 - export RADV_FORCE_FAMILY="polaris10"
Tomeu Vizoso92f3c512020-03-24 12:58:30 +01001441 - ./install/fossilize-runner.sh
Samuel Pitoisetf9dbca82020-05-04 11:48:46 +02001442 # Vega10 (GFX9)
Samuel Pitoisete22d5622020-03-06 08:36:14 +01001443 - export RADV_FORCE_FAMILY="gfx900"
Tomeu Vizoso92f3c512020-03-24 12:58:30 +01001444 - ./install/fossilize-runner.sh
Samuel Pitoisetf9dbca82020-05-04 11:48:46 +02001445 # Navi10 (GFX10)
Samuel Pitoisete22d5622020-03-06 08:36:14 +01001446 - export RADV_FORCE_FAMILY="gfx1010"
Tomeu Vizoso92f3c512020-03-24 12:58:30 +01001447 - ./install/fossilize-runner.sh
Samuel Pitoisetac6e2072020-08-10 13:29:14 +02001448 # Sienna Cichlid (GFX10)
1449 - export RADV_FORCE_FAMILY="gfx1030"
1450 - ./install/fossilize-runner.sh
Samuel Pitoiset42a3d822020-02-05 17:04:20 +01001451
Andres Gomez0ac731b12020-02-20 18:26:30 +02001452# Traces CI
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +02001453.traces-test:
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +02001454 cache:
1455 key: ${CI_JOB_NAME}
1456 paths:
Rohan Garg90a39af2020-02-28 13:48:53 +01001457 - traces-db/
Tomeu Vizosodfe394b2020-07-21 10:48:43 +02001458 variables:
1459 TRACIE_UPLOAD_TO_MINIO: 1
Alexandros Frantzis7e82e252020-09-04 12:44:53 +03001460 artifacts:
1461 reports:
1462 junit: results/junit.xml
Andres Gomez0ac731b12020-02-20 18:26:30 +02001463
1464.traces-test-gl:
1465 extends:
1466 - .test-gl
1467 - .traces-test
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +02001468 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +01001469 - ./install/tracie-runner-gl.sh
Andres Gomez0ac731b12020-02-20 18:26:30 +02001470
1471.traces-test-vk:
1472 extends:
1473 - .test-vk
1474 - .traces-test
1475 script:
Tomeu Vizoso92f3c512020-03-24 12:58:30 +01001476 - ./install/tracie-runner-vk.sh
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +02001477
1478llvmpipe-traces:
Pierre-Eric Pelloux-Prayer2a9d6fd2019-10-30 20:39:08 +01001479 extends:
1480 - .traces-test-gl
1481 - .llvmpipe-rules
Alexandros Frantzis803ab5d2020-01-08 17:46:46 +02001482 variables:
1483 LIBGL_ALWAYS_SOFTWARE: "true"
1484 GALLIUM_DRIVER: "llvmpipe"
Andres Gomez1d755952020-02-20 17:32:08 +02001485 DEVICE_NAME: "gl-vmware-llvmpipe"
Tomeu Vizoso7d5f4d32020-08-05 10:17:26 +02001486 DRIVER_NAME: "llvmpipe"
Andres Gomez0ac731b12020-02-20 18:26:30 +02001487
1488radv-polaris10-traces:
1489 extends:
1490 - .traces-test-vk
Eric Anholt8edaa842020-03-19 11:45:01 -07001491 - .test-radv
1492 - .test-manual
Andres Gomez0ac731b12020-02-20 18:26:30 +02001493 variables:
1494 DEVICE_NAME: "vk-amd-polaris10"
Tomeu Vizoso7d5f4d32020-08-05 10:17:26 +02001495 DRIVER_NAME: "radv"
Andres Gomez0ac731b12020-02-20 18:26:30 +02001496 tags:
1497 - polaris10
Tomeu Vizoso8cba1a12020-04-21 15:44:03 +02001498
Andres Gomezb6b100c2020-04-24 19:32:42 +03001499radv-raven-traces:
1500 extends:
1501 - .traces-test-vk
1502 - .test-radv
1503 - .test-manual
1504 variables:
1505 DEVICE_NAME: "vk-amd-raven"
Tomeu Vizoso7d5f4d32020-08-05 10:17:26 +02001506 DRIVER_NAME: "radv"
Andres Gomezb6b100c2020-04-24 19:32:42 +03001507 tags:
1508 - raven
1509
Tomeu Vizoso8cba1a12020-04-21 15:44:03 +02001510virgl-traces:
1511 extends:
1512 - .traces-test-gl
1513 - .virgl-rules
1514 variables:
1515 LIBGL_ALWAYS_SOFTWARE: "true"
1516 GALLIUM_DRIVER: "virpipe"
1517 DEVICE_NAME: "gl-virgl"
Tomeu Vizoso7d5f4d32020-08-05 10:17:26 +02001518 DRIVER_NAME: "virgl"
Tomeu Vizoso8cba1a12020-04-21 15:44:03 +02001519 MESA_GLES_VERSION_OVERRIDE: "3.1"
1520 MESA_GLSL_VERSION_OVERRIDE: "310"