Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 1 | variables: |
Eric Anholt | af7dca3 | 2020-03-06 13:23:20 -0800 | [diff] [blame] | 2 | FDO_UPSTREAM_REPO: mesa/mesa |
Benjamin Tissoires | 7f8a9a1 | 2019-04-02 09:24:00 +0200 | [diff] [blame] | 3 | |
| 4 | include: |
Eric Anholt | af7dca3 | 2020-03-06 13:23:20 -0800 | [diff] [blame] | 5 | - project: 'freedesktop/ci-templates' |
Michel Dänzer | fcd3377 | 2020-03-23 18:16:07 +0100 | [diff] [blame] | 6 | ref: 4b2997287317808830e9cb4eb0f99b691787da88 |
Michel Dänzer | d00b1c4 | 2019-04-02 16:56:54 +0200 | [diff] [blame] | 7 | file: '/templates/debian.yml' |
Dylan Baker | 19851c9 | 2019-10-23 14:36:19 -0700 | [diff] [blame] | 8 | - local: '.gitlab-ci/lava-gitlab-ci.yml' |
Pierre-Eric Pelloux-Prayer | 2a9d6fd | 2019-10-30 20:39:08 +0100 | [diff] [blame] | 9 | - local: '.gitlab-ci/test-source-dep.yml' |
Tomeu Vizoso | 7b01f72 | 2019-09-18 16:03:36 +0200 | [diff] [blame] | 10 | |
Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 11 | stages: |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 12 | - container |
Michel Dänzer | cc9493f | 2020-02-27 18:27:56 +0100 | [diff] [blame] | 13 | - meson-x86_64 |
| 14 | - scons |
| 15 | - meson-misc |
| 16 | - llvmpipe |
| 17 | - softpipe |
| 18 | - freedreno |
| 19 | - panfrost |
Samuel Pitoiset | 48e9203 | 2020-03-06 08:39:25 +0100 | [diff] [blame] | 20 | - radv |
| 21 | - lima |
Tomeu Vizoso | ad3ef6d | 2020-04-01 09:17:25 +0200 | [diff] [blame] | 22 | - virgl |
Michel Dänzer | 8775b74 | 2020-01-13 09:45:57 +0100 | [diff] [blame] | 23 | - success |
Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 24 | |
| 25 | |
Eric Engestrom | 7f5d9c2 | 2019-02-22 15:52:08 +0000 | [diff] [blame] | 26 | # When to automatically run the CI |
Michel Dänzer | e426f40 | 2019-09-06 17:35:52 +0200 | [diff] [blame] | 27 | .ci-run-policy: |
Michel Dänzer | 41797a1 | 2019-09-26 09:27:27 +0200 | [diff] [blame] | 28 | rules: |
Michel Dänzer | 42fe600 | 2020-04-03 12:50:11 +0200 | [diff] [blame] | 29 | # If any files affecting the pipeline are changed, build/test jobs run |
| 30 | # automatically once all dependency jobs have passed |
| 31 | - changes: &all_paths |
Michel Dänzer | 8775b74 | 2020-01-13 09:45:57 +0100 | [diff] [blame] | 32 | - VERSION |
| 33 | - bin/**/* |
| 34 | # GitLab CI |
| 35 | - .gitlab-ci.yml |
| 36 | - .gitlab-ci/**/* |
| 37 | # Meson |
| 38 | - meson* |
| 39 | - build-support/**/* |
| 40 | - subprojects/**/* |
| 41 | # SCons |
| 42 | - SConstruct |
| 43 | - scons/**/* |
| 44 | - common.py |
| 45 | # Source code |
| 46 | - include/**/* |
| 47 | - src/**/* |
| 48 | when: on_success |
Michel Dänzer | 42fe600 | 2020-04-03 12:50:11 +0200 | [diff] [blame] | 49 | # Otherwise, build/test jobs won't run |
Michel Dänzer | 8775b74 | 2020-01-13 09:45:57 +0100 | [diff] [blame] | 50 | - when: never |
Michel Dänzer | 6140ed3 | 2019-03-26 18:39:41 +0100 | [diff] [blame] | 51 | retry: |
| 52 | max: 2 |
| 53 | when: |
| 54 | - runner_system_failure |
Eric Engestrom | ac78ca4 | 2019-11-12 23:42:21 +0000 | [diff] [blame] | 55 | # Cancel CI run if a newer commit is pushed to the same branch |
| 56 | interruptible: true |
Eric Engestrom | 7f5d9c2 | 2019-02-22 15:52:08 +0000 | [diff] [blame] | 57 | |
Michel Dänzer | 8775b74 | 2020-01-13 09:45:57 +0100 | [diff] [blame] | 58 | success: |
| 59 | stage: success |
| 60 | image: debian:stable-slim |
| 61 | only: |
| 62 | - merge_requests |
| 63 | except: |
| 64 | changes: |
Michel Dänzer | c12576e | 2020-04-03 11:17:48 +0200 | [diff] [blame] | 65 | *all_paths |
Michel Dänzer | 2dd0cc6 | 2020-01-20 18:34:34 +0100 | [diff] [blame] | 66 | variables: |
| 67 | GIT_STRATEGY: none |
Michel Dänzer | 8775b74 | 2020-01-13 09:45:57 +0100 | [diff] [blame] | 68 | script: |
| 69 | - echo "Dummy job to make sure every merge request pipeline runs at least one job" |
| 70 | |
| 71 | |
Michel Dänzer | e426f40 | 2019-09-06 17:35:52 +0200 | [diff] [blame] | 72 | .ci-deqp-artifacts: |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 73 | artifacts: |
Michel Dänzer | 0103f02 | 2020-03-06 12:35:17 +0100 | [diff] [blame] | 74 | name: "mesa_${CI_JOB_NAME}" |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 75 | when: always |
| 76 | untracked: false |
| 77 | paths: |
| 78 | # Watch out! Artifacts are relative to the build dir. |
| 79 | # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521 |
| 80 | - artifacts |
Eric Engestrom | 7f5d9c2 | 2019-02-22 15:52:08 +0000 | [diff] [blame] | 81 | |
Tomeu Vizoso | 22d9764 | 2019-12-17 11:50:14 +0100 | [diff] [blame] | 82 | # Build the CI docker images. |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 83 | # |
Eric Anholt | af7dca3 | 2020-03-06 13:23:20 -0800 | [diff] [blame] | 84 | # FDO_DISTRIBUTION_TAG is the tag of the docker image used by later stage jobs. If the |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 85 | # image doesn't exist yet, the container stage job generates it. |
| 86 | # |
| 87 | # In order to generate a new image, one should generally change the tag. |
| 88 | # While removing the image from the registry would also work, that's not |
| 89 | # recommended except for ephemeral images during development: Replacing |
| 90 | # an image after a significant amount of time might pull in newer |
| 91 | # versions of gcc/clang or other packages, which might break the build |
| 92 | # with older commits using the same tag. |
| 93 | # |
| 94 | # After merging a change resulting in generating a new image to the |
| 95 | # main repository, it's recommended to remove the image from the source |
| 96 | # repository's container registry, so that the image from the main |
| 97 | # repository's registry will be used there as well. |
Michel Dänzer | 8a19992 | 2019-09-06 17:04:47 +0200 | [diff] [blame] | 98 | |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 99 | .container: |
| 100 | stage: container |
| 101 | extends: |
| 102 | - .ci-run-policy |
Michel Dänzer | 42fe600 | 2020-04-03 12:50:11 +0200 | [diff] [blame] | 103 | rules: |
Michel Dänzer | 4176dfa | 2020-04-03 11:46:12 +0200 | [diff] [blame] | 104 | # Run pipeline by default if it was triggered by Marge Bot, is for a |
| 105 | # merge request, and any files affecting it were changed |
| 106 | - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME' |
Michel Dänzer | 42fe600 | 2020-04-03 12:50:11 +0200 | [diff] [blame] | 107 | changes: |
| 108 | *all_paths |
| 109 | when: on_success |
| 110 | # Run pipeline by default in the main project if any files affecting it were |
| 111 | # changed |
| 112 | - if: '$CI_PROJECT_PATH == "mesa/mesa"' |
| 113 | changes: |
| 114 | *all_paths |
| 115 | when: on_success |
Michel Dänzer | 4176dfa | 2020-04-03 11:46:12 +0200 | [diff] [blame] | 116 | # Allow triggering jobs manually for MRs or branches of forked projects if |
| 117 | # any files affecting the pipeline were changed |
| 118 | - changes: |
Michel Dänzer | 42fe600 | 2020-04-03 12:50:11 +0200 | [diff] [blame] | 119 | *all_paths |
| 120 | when: manual |
| 121 | # Otherwise, container jobs won't run |
| 122 | - when: never |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 123 | variables: |
Eric Anholt | af7dca3 | 2020-03-06 13:23:20 -0800 | [diff] [blame] | 124 | FDO_DISTRIBUTION_VERSION: buster-slim |
Michel Dänzer | fcd3377 | 2020-03-23 18:16:07 +0100 | [diff] [blame] | 125 | FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME" |
Eric Anholt | af7dca3 | 2020-03-06 13:23:20 -0800 | [diff] [blame] | 126 | FDO_DISTRIBUTION_EXEC: 'bash .gitlab-ci/container/${CI_JOB_NAME}.sh' |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 127 | # no need to pull the whole repo to build the container image |
| 128 | GIT_STRATEGY: none |
| 129 | |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 130 | # Debian 10 based x86 build image |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 131 | x86_build: |
Michel Dänzer | e426f40 | 2019-09-06 17:35:52 +0200 | [diff] [blame] | 132 | extends: |
Michel Dänzer | fcd3377 | 2020-03-23 18:16:07 +0100 | [diff] [blame] | 133 | - .fdo.container-build@debian |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 134 | - .container |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 135 | variables: |
Andres Gomez | cb055c6 | 2020-04-22 16:51:48 +0300 | [diff] [blame] | 136 | FDO_DISTRIBUTION_TAG: &x86_build "2020-04-22-winehq" |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 137 | |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 138 | .use-x86_build: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 139 | variables: |
| 140 | TAG: *x86_build |
| 141 | image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG" |
Michel Dänzer | eb86cba | 2019-10-10 15:27:17 +0200 | [diff] [blame] | 142 | needs: |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 143 | - x86_build |
Michel Dänzer | eb86cba | 2019-10-10 15:27:17 +0200 | [diff] [blame] | 144 | |
Samuel Pitoiset | 520a77d | 2019-11-18 09:15:12 +0100 | [diff] [blame] | 145 | # Debian 10 based x86 test image for GL |
| 146 | x86_test-gl: |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 147 | extends: x86_build |
Michel Dänzer | aebf43d | 2019-11-05 18:52:24 +0100 | [diff] [blame] | 148 | variables: |
Tomeu Vizoso | 34ed5ff | 2020-04-21 14:49:19 +0200 | [diff] [blame] | 149 | FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-04-21" |
Michel Dänzer | aebf43d | 2019-11-05 18:52:24 +0100 | [diff] [blame] | 150 | |
Samuel Pitoiset | f2a594f | 2019-11-18 09:23:18 +0100 | [diff] [blame] | 151 | # Debian 10 based x86 test image for VK |
| 152 | x86_test-vk: |
| 153 | extends: x86_build |
| 154 | variables: |
Alexandros Frantzis | 4c6ce82 | 2020-04-09 18:40:38 +0300 | [diff] [blame] | 155 | FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-04-09" |
Samuel Pitoiset | f2a594f | 2019-11-18 09:23:18 +0100 | [diff] [blame] | 156 | |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 157 | # Debian 9 based x86 build image (old LLVM) |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 158 | x86_build_old: |
| 159 | extends: x86_build |
Michel Dänzer | 8a19992 | 2019-09-06 17:04:47 +0200 | [diff] [blame] | 160 | variables: |
Eric Anholt | c1e7e83 | 2020-02-11 15:44:56 -0800 | [diff] [blame] | 161 | FDO_DISTRIBUTION_TAG: &x86_build_old "2019-03-18-jflags" |
Eric Anholt | af7dca3 | 2020-03-06 13:23:20 -0800 | [diff] [blame] | 162 | FDO_DISTRIBUTION_VERSION: stretch-slim |
Michel Dänzer | 8a19992 | 2019-09-06 17:04:47 +0200 | [diff] [blame] | 163 | |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 164 | .use-x86_build_old: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 165 | variables: |
| 166 | TAG: *x86_build_old |
| 167 | image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG" |
Michel Dänzer | 88319f2 | 2019-09-18 16:17:01 +0200 | [diff] [blame] | 168 | needs: |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 169 | - x86_build_old |
Michel Dänzer | 88319f2 | 2019-09-18 16:17:01 +0200 | [diff] [blame] | 170 | |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 171 | # Debian 10 based ARM build image |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 172 | arm_build: |
Michel Dänzer | e426f40 | 2019-09-06 17:35:52 +0200 | [diff] [blame] | 173 | extends: |
Michel Dänzer | fcd3377 | 2020-03-23 18:16:07 +0100 | [diff] [blame] | 174 | - .fdo.container-build@debian@arm64v8 |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 175 | - .container |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 176 | variables: |
Eric Anholt | c1e7e83 | 2020-02-11 15:44:56 -0800 | [diff] [blame] | 177 | FDO_DISTRIBUTION_TAG: &arm_build "2020-04-01-jflags" |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 178 | |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 179 | .use-arm_build: |
Michel Dänzer | b4d3ae2 | 2019-11-04 09:54:09 +0100 | [diff] [blame] | 180 | variables: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 181 | TAG: *arm_build |
| 182 | image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG" |
| 183 | needs: |
| 184 | - arm_build |
| 185 | |
| 186 | # Debian 10 based ARM test image |
| 187 | arm_test: |
| 188 | extends: arm_build |
| 189 | variables: |
Eric Anholt | c1e7e83 | 2020-02-11 15:44:56 -0800 | [diff] [blame] | 190 | FDO_DISTRIBUTION_TAG: &arm_test "2020-03-18-jflags" |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 191 | |
| 192 | .use-arm_test: |
| 193 | variables: |
| 194 | TAG: *arm_test |
| 195 | image: "$CI_REGISTRY_IMAGE/debian/arm_test:$TAG" |
| 196 | needs: |
| 197 | - meson-arm64 |
| 198 | - arm_test |
Michel Dänzer | b4d3ae2 | 2019-11-04 09:54:09 +0100 | [diff] [blame] | 199 | |
Daniel Stone | 07885cb | 2020-03-24 11:11:36 +0000 | [diff] [blame] | 200 | # Native Windows docker builds |
| 201 | # |
| 202 | # Unlike the above Linux-based builds - including MinGW/SCons builds which |
| 203 | # cross-compile for Windows - which use the freedesktop ci-templates, we |
| 204 | # cannot use the same scheme here. As Windows lacks support for |
| 205 | # Docker-in-Docker, and Podman does not run natively on Windows, we have |
| 206 | # to open-code much of the same ourselves. |
| 207 | # |
| 208 | # This is achieved by first running in a native Windows shell instance |
| 209 | # (host PowerShell) in the container stage to build and push the image, |
| 210 | # then in the build stage by executing inside Docker. |
| 211 | |
| 212 | .windows-docker-vs2019: |
| 213 | variables: |
| 214 | WINDOWS_TAG: "2020-03-24" |
| 215 | WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG" |
| 216 | WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG" |
| 217 | |
Daniel Stone | 7911346 | 2020-04-16 14:56:18 +0100 | [diff] [blame] | 218 | windows_build_vs2019: |
Daniel Stone | 07885cb | 2020-03-24 11:11:36 +0000 | [diff] [blame] | 219 | extends: |
| 220 | - .container |
| 221 | - .windows-docker-vs2019 |
| 222 | stage: container |
| 223 | variables: |
| 224 | GIT_STRATEGY: fetch # we do actually need the full repository though |
| 225 | tags: |
| 226 | - windows |
| 227 | - shell |
| 228 | - "1809" |
Daniel Stone | 2db1d73 | 2020-03-30 10:16:18 +0100 | [diff] [blame] | 229 | - mesa |
Daniel Stone | 07885cb | 2020-03-24 11:11:36 +0000 | [diff] [blame] | 230 | script: |
| 231 | - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE |
| 232 | |
| 233 | .use-windows_build_vs2019: |
| 234 | extends: .windows-docker-vs2019 |
| 235 | image: "$WINDOWS_IMAGE" |
| 236 | needs: |
Daniel Stone | 7911346 | 2020-04-16 14:56:18 +0100 | [diff] [blame] | 237 | - windows_build_vs2019 |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 238 | |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 239 | # BUILD |
| 240 | |
Dylan Baker | 06e4647 | 2019-10-23 14:21:31 -0700 | [diff] [blame] | 241 | # Shared between windows and Linux |
| 242 | .build-common: |
Eric Engestrom | aba78c2 | 2019-10-14 23:52:58 +0100 | [diff] [blame] | 243 | extends: .ci-run-policy |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 244 | artifacts: |
Michel Dänzer | 0103f02 | 2020-03-06 12:35:17 +0100 | [diff] [blame] | 245 | name: "mesa_${CI_JOB_NAME}" |
Eric Anholt | dd3d0b2 | 2019-07-24 09:27:48 -0700 | [diff] [blame] | 246 | when: always |
| 247 | paths: |
| 248 | - _build/meson-logs/*.txt |
| 249 | # scons: |
Michel Dänzer | 5229f27 | 2019-07-26 12:20:41 +0200 | [diff] [blame] | 250 | - build/*/config.log |
Eric Anholt | f60defa | 2019-04-10 15:59:12 -0700 | [diff] [blame] | 251 | - shader-db |
Dylan Baker | 06e4647 | 2019-10-23 14:21:31 -0700 | [diff] [blame] | 252 | |
| 253 | # Just Linux |
| 254 | .build-linux: |
| 255 | extends: .build-common |
Michel Dänzer | e9de19f | 2019-04-04 18:01:27 +0200 | [diff] [blame] | 256 | variables: |
| 257 | CCACHE_COMPILERCHECK: "content" |
Michel Dänzer | 32618ee | 2019-11-20 09:11:35 +0100 | [diff] [blame] | 258 | CCACHE_COMPRESS: "true" |
| 259 | CCACHE_DIR: /cache/mesa/ccache |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame] | 260 | # Use ccache transparently, and print stats before/after |
| 261 | before_script: |
| 262 | - export PATH="/usr/lib/ccache:$PATH" |
| 263 | - export CCACHE_BASEDIR="$PWD" |
Michel Dänzer | 32618ee | 2019-11-20 09:11:35 +0100 | [diff] [blame] | 264 | - ccache --show-stats |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame] | 265 | after_script: |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame] | 266 | - ccache --show-stats |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 267 | |
Dylan Baker | 19851c9 | 2019-10-23 14:36:19 -0700 | [diff] [blame] | 268 | .build-windows: |
| 269 | extends: .build-common |
| 270 | tags: |
Daniel Stone | 07885cb | 2020-03-24 11:11:36 +0000 | [diff] [blame] | 271 | - windows |
| 272 | - docker |
| 273 | - "1809" |
Daniel Stone | 9197fd5 | 2020-03-30 15:58:51 +0100 | [diff] [blame] | 274 | - mesa |
Dylan Baker | 19851c9 | 2019-10-23 14:36:19 -0700 | [diff] [blame] | 275 | cache: |
| 276 | key: ${CI_JOB_NAME} |
| 277 | paths: |
| 278 | - subprojects/packagecache |
| 279 | |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 280 | .meson-build: |
Eric Engestrom | aba78c2 | 2019-10-14 23:52:58 +0100 | [diff] [blame] | 281 | extends: |
Dylan Baker | 06e4647 | 2019-10-23 14:21:31 -0700 | [diff] [blame] | 282 | - .build-linux |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 283 | - .use-x86_build |
Michel Dänzer | cc9493f | 2020-02-27 18:27:56 +0100 | [diff] [blame] | 284 | stage: meson-x86_64 |
Michel Dänzer | 5f0ff00 | 2019-12-13 11:02:16 +0100 | [diff] [blame] | 285 | variables: |
| 286 | LLVM_VERSION: 9 |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame] | 287 | script: |
Michel Dänzer | cc2b3a9 | 2019-05-03 10:49:43 +0200 | [diff] [blame] | 288 | - .gitlab-ci/meson-build.sh |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 289 | |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 290 | .scons-build: |
Eric Engestrom | aba78c2 | 2019-10-14 23:52:58 +0100 | [diff] [blame] | 291 | extends: |
Dylan Baker | 06e4647 | 2019-10-23 14:21:31 -0700 | [diff] [blame] | 292 | - .build-linux |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 293 | - .use-x86_build |
Michel Dänzer | cc9493f | 2020-02-27 18:27:56 +0100 | [diff] [blame] | 294 | stage: scons |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 295 | variables: |
Eric Anholt | cb655d2 | 2019-11-06 11:14:14 -0800 | [diff] [blame] | 296 | SCONSFLAGS: "-j4" |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 297 | script: |
Michel Dänzer | 0374aac | 2019-09-12 11:34:43 +0200 | [diff] [blame] | 298 | - .gitlab-ci/scons-build.sh |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 299 | |
Samuel Pitoiset | 66b5627 | 2019-11-19 12:23:41 +0100 | [diff] [blame] | 300 | meson-testing: |
Michel Dänzer | e426f40 | 2019-09-06 17:35:52 +0200 | [diff] [blame] | 301 | extends: |
| 302 | - .meson-build |
| 303 | - .ci-deqp-artifacts |
Michel Dänzer | 42f8d5a | 2019-08-28 12:01:02 +0200 | [diff] [blame] | 304 | variables: |
| 305 | UNWIND: "true" |
| 306 | DRI_LOADERS: > |
| 307 | -D glx=dri |
| 308 | -D gbm=true |
| 309 | -D egl=true |
Samuel Pitoiset | 66b5627 | 2019-11-19 12:23:41 +0100 | [diff] [blame] | 310 | -D platforms=x11,drm,surfaceless |
| 311 | GALLIUM_ST: > |
| 312 | -D dri3=true |
Tomeu Vizoso | ad3ef6d | 2020-04-01 09:17:25 +0200 | [diff] [blame] | 313 | GALLIUM_DRIVERS: "swrast,virgl" |
Samuel Pitoiset | 40c6a56 | 2019-11-19 14:46:53 +0100 | [diff] [blame] | 314 | VULKAN_DRIVERS: amd |
Samuel Pitoiset | 66b5627 | 2019-11-19 12:23:41 +0100 | [diff] [blame] | 315 | BUILDTYPE: "debugoptimized" |
Eric Anholt | 3c7c021 | 2019-12-16 21:23:02 -0800 | [diff] [blame] | 316 | EXTRA_OPTION: > |
| 317 | -D werror=true |
Samuel Pitoiset | 66b5627 | 2019-11-19 12:23:41 +0100 | [diff] [blame] | 318 | script: |
| 319 | - .gitlab-ci/meson-build.sh |
| 320 | - .gitlab-ci/prepare-artifacts.sh |
| 321 | |
Michel Dänzer | c56f091 | 2020-03-12 12:29:40 +0100 | [diff] [blame] | 322 | meson-gallium: |
Samuel Pitoiset | 66b5627 | 2019-11-19 12:23:41 +0100 | [diff] [blame] | 323 | extends: .meson-build |
| 324 | variables: |
| 325 | UNWIND: "true" |
| 326 | DRI_LOADERS: > |
| 327 | -D glx=dri |
| 328 | -D gbm=true |
| 329 | -D egl=true |
Michel Dänzer | 42f8d5a | 2019-08-28 12:01:02 +0200 | [diff] [blame] | 330 | -D platforms=x11,wayland,drm,surfaceless |
Michel Dänzer | 42f8d5a | 2019-08-28 12:01:02 +0200 | [diff] [blame] | 331 | GALLIUM_ST: > |
| 332 | -D dri3=true |
| 333 | -D gallium-extra-hud=true |
| 334 | -D gallium-vdpau=true |
| 335 | -D gallium-xvmc=true |
| 336 | -D gallium-omx=bellagio |
| 337 | -D gallium-va=true |
| 338 | -D gallium-xa=true |
| 339 | -D gallium-nine=true |
| 340 | -D gallium-opencl=disabled |
Samuel Pitoiset | e6d26d7 | 2019-11-19 14:36:02 +0100 | [diff] [blame] | 341 | GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink" |
Michel Dänzer | 42f8d5a | 2019-08-28 12:01:02 +0200 | [diff] [blame] | 342 | EXTRA_OPTION: > |
| 343 | -D osmesa=gallium |
| 344 | -D tools=all |
Michel Dänzer | 59fcb01 | 2019-10-23 18:42:53 +0200 | [diff] [blame] | 345 | script: |
| 346 | - .gitlab-ci/meson-build.sh |
| 347 | - .gitlab-ci/run-shader-db.sh |
Michel Dänzer | 42f8d5a | 2019-08-28 12:01:02 +0200 | [diff] [blame] | 348 | |
Michel Dänzer | c56f091 | 2020-03-12 12:29:40 +0100 | [diff] [blame] | 349 | meson-classic: |
| 350 | extends: .meson-build |
| 351 | variables: |
| 352 | UNWIND: "true" |
| 353 | DRI_LOADERS: > |
| 354 | -D glx=dri |
| 355 | -D gbm=true |
| 356 | -D egl=true |
| 357 | -D platforms=x11,wayland,drm,surfaceless |
| 358 | DRI_DRIVERS: "auto" |
| 359 | EXTRA_OPTION: > |
| 360 | -D osmesa=classic |
| 361 | -D tools=all |
| 362 | |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 363 | .meson-cross: |
| 364 | extends: |
| 365 | - .meson-build |
Michel Dänzer | cc9493f | 2020-02-27 18:27:56 +0100 | [diff] [blame] | 366 | stage: meson-misc |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 367 | variables: |
| 368 | UNWIND: "false" |
| 369 | DRI_LOADERS: > |
| 370 | -D glx=disabled |
| 371 | -D gbm=false |
| 372 | -D egl=true |
| 373 | -D platforms=surfaceless |
| 374 | -D osmesa=none |
| 375 | GALLIUM_ST: > |
| 376 | -D dri3=false |
| 377 | -D gallium-vdpau=false |
| 378 | -D gallium-xvmc=false |
| 379 | -D gallium-omx=disabled |
| 380 | -D gallium-va=false |
| 381 | -D gallium-xa=false |
| 382 | -D gallium-nine=false |
Michel Dänzer | 65610ec | 2020-01-30 18:21:15 +0100 | [diff] [blame] | 383 | LLVM_VERSION: "8" |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 384 | |
Michel Dänzer | 163ec5d | 2019-10-08 19:46:11 +0200 | [diff] [blame] | 385 | .meson-arm: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 386 | extends: |
| 387 | - .meson-cross |
| 388 | - .use-arm_build |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 389 | variables: |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 390 | VULKAN_DRIVERS: freedreno |
Michel Dänzer | 793f6b3 | 2019-10-08 19:48:41 +0200 | [diff] [blame] | 391 | GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4" |
Tomeu Vizoso | 22d9764 | 2019-12-17 11:50:14 +0100 | [diff] [blame] | 392 | BUILDTYPE: "debugoptimized" |
Michel Dänzer | 163ec5d | 2019-10-08 19:46:11 +0200 | [diff] [blame] | 393 | tags: |
| 394 | - aarch64 |
| 395 | |
| 396 | meson-armhf: |
Tomeu Vizoso | 22d9764 | 2019-12-17 11:50:14 +0100 | [diff] [blame] | 397 | extends: |
| 398 | - .meson-arm |
| 399 | - .ci-deqp-artifacts |
Michel Dänzer | 163ec5d | 2019-10-08 19:46:11 +0200 | [diff] [blame] | 400 | variables: |
| 401 | CROSS: armhf |
Michel Dänzer | 793f6b3 | 2019-10-08 19:48:41 +0200 | [diff] [blame] | 402 | LLVM_VERSION: "7" |
Eric Anholt | 2574158 | 2020-02-24 10:31:33 -0800 | [diff] [blame] | 403 | EXTRA_OPTION: > |
| 404 | -D llvm=false |
Tomeu Vizoso | 22d9764 | 2019-12-17 11:50:14 +0100 | [diff] [blame] | 405 | script: |
| 406 | - .gitlab-ci/meson-build.sh |
| 407 | - .gitlab-ci/prepare-artifacts.sh |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 408 | |
| 409 | meson-arm64: |
Michel Dänzer | 163ec5d | 2019-10-08 19:46:11 +0200 | [diff] [blame] | 410 | extends: |
| 411 | - .meson-arm |
| 412 | - .ci-deqp-artifacts |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 413 | variables: |
Rohan Garg | 9c0bbba | 2020-02-20 16:37:48 +0100 | [diff] [blame] | 414 | VULKAN_DRIVERS: "freedreno" |
Eric Anholt | 2574158 | 2020-02-24 10:31:33 -0800 | [diff] [blame] | 415 | EXTRA_OPTION: > |
| 416 | -D llvm=false |
Michel Dänzer | 59fcb01 | 2019-10-23 18:42:53 +0200 | [diff] [blame] | 417 | script: |
| 418 | - .gitlab-ci/meson-build.sh |
| 419 | - .gitlab-ci/prepare-artifacts.sh |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 420 | |
Rohan Garg | 9c0bbba | 2020-02-20 16:37:48 +0100 | [diff] [blame] | 421 | meson-arm64-build-test: |
| 422 | extends: |
| 423 | - .meson-arm |
| 424 | - .ci-deqp-artifacts |
| 425 | variables: |
| 426 | VULKAN_DRIVERS: "amd" |
| 427 | script: |
| 428 | - .gitlab-ci/meson-build.sh |
| 429 | |
Michel Dänzer | a2cce70 | 2019-03-20 15:58:31 +0100 | [diff] [blame] | 430 | meson-clang: |
| 431 | extends: .meson-build |
| 432 | variables: |
| 433 | UNWIND: "true" |
Samuel Pitoiset | 7362176 | 2019-11-19 14:37:32 +0100 | [diff] [blame] | 434 | DRI_LOADERS: > |
| 435 | -D glvnd=true |
Michel Dänzer | a2cce70 | 2019-03-20 15:58:31 +0100 | [diff] [blame] | 436 | DRI_DRIVERS: "auto" |
| 437 | GALLIUM_DRIVERS: "auto" |
Eric Engestrom | 47f419d | 2019-05-01 12:09:26 +0100 | [diff] [blame] | 438 | VULKAN_DRIVERS: intel,amd,freedreno |
Michel Dänzer | 5f0ff00 | 2019-12-13 11:02:16 +0100 | [diff] [blame] | 439 | CC: "ccache clang-9" |
| 440 | CXX: "ccache clang++-9" |
Michel Dänzer | a2cce70 | 2019-03-20 15:58:31 +0100 | [diff] [blame] | 441 | |
Daniel Stone | 7911346 | 2020-04-16 14:56:18 +0100 | [diff] [blame] | 442 | meson-windows-vs2019: |
Dylan Baker | 19851c9 | 2019-10-23 14:36:19 -0700 | [diff] [blame] | 443 | extends: |
| 444 | - .build-windows |
Daniel Stone | 07885cb | 2020-03-24 11:11:36 +0000 | [diff] [blame] | 445 | - .use-windows_build_vs2019 |
Michel Dänzer | cc9493f | 2020-02-27 18:27:56 +0100 | [diff] [blame] | 446 | stage: meson-misc |
Dylan Baker | 19851c9 | 2019-10-23 14:36:19 -0700 | [diff] [blame] | 447 | script: |
Daniel Stone | 07885cb | 2020-03-24 11:11:36 +0000 | [diff] [blame] | 448 | - . .\.gitlab-ci\windows\mesa_build.ps1 |
Dylan Baker | 19851c9 | 2019-10-23 14:36:19 -0700 | [diff] [blame] | 449 | |
Michel Dänzer | 82b3009 | 2019-05-03 18:19:25 +0200 | [diff] [blame] | 450 | scons-win64: |
| 451 | extends: .scons-build |
| 452 | variables: |
Jose Fonseca | 27d58a1 | 2020-03-28 10:36:28 +0000 | [diff] [blame] | 453 | SCONS_TARGET: platform=windows machine=x86_64 debug=1 |
Michel Dänzer | 82b3009 | 2019-05-03 18:19:25 +0200 | [diff] [blame] | 454 | SCONS_CHECK_COMMAND: "true" |
Jose Fonseca | 27d58a1 | 2020-03-28 10:36:28 +0000 | [diff] [blame] | 455 | allow_failure: true |
Eric Engestrom | 89a7467 | 2019-01-21 09:42:37 +0000 | [diff] [blame] | 456 | |
Michel Dänzer | 6897715 | 2019-05-03 10:58:48 +0200 | [diff] [blame] | 457 | meson-clover: |
Eric Engestrom | b5a70af | 2019-01-28 18:05:22 +0000 | [diff] [blame] | 458 | extends: .meson-build |
| 459 | variables: |
| 460 | UNWIND: "true" |
| 461 | DRI_LOADERS: > |
| 462 | -D glx=disabled |
| 463 | -D egl=false |
| 464 | -D gbm=false |
| 465 | GALLIUM_ST: > |
| 466 | -D dri3=false |
| 467 | -D gallium-vdpau=false |
| 468 | -D gallium-xvmc=false |
| 469 | -D gallium-omx=disabled |
| 470 | -D gallium-va=false |
| 471 | -D gallium-xa=false |
| 472 | -D gallium-nine=false |
| 473 | -D gallium-opencl=icd |
Michel Dänzer | 6897715 | 2019-05-03 10:58:48 +0200 | [diff] [blame] | 474 | script: |
| 475 | - export GALLIUM_DRIVERS="r600,radeonsi" |
| 476 | - .gitlab-ci/meson-build.sh |
Samuel Pitoiset | 7d1c091 | 2019-08-21 11:45:25 +0200 | [diff] [blame] | 477 | - LLVM_VERSION=8 .gitlab-ci/meson-build.sh |
Michel Dänzer | 6897715 | 2019-05-03 10:58:48 +0200 | [diff] [blame] | 478 | - export GALLIUM_DRIVERS="i915,r600" |
Michel Dänzer | 8a19992 | 2019-09-06 17:04:47 +0200 | [diff] [blame] | 479 | - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh |
| 480 | - LLVM_VERSION=7 .gitlab-ci/meson-build.sh |
| 481 | |
| 482 | meson-clover-old-llvm: |
Michel Dänzer | 88319f2 | 2019-09-18 16:17:01 +0200 | [diff] [blame] | 483 | extends: |
| 484 | - meson-clover |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 485 | - .use-x86_build_old |
Michel Dänzer | 8a19992 | 2019-09-06 17:04:47 +0200 | [diff] [blame] | 486 | variables: |
| 487 | UNWIND: "false" |
| 488 | DRI_LOADERS: > |
| 489 | -D glx=disabled |
| 490 | -D egl=false |
| 491 | -D gbm=false |
| 492 | -D platforms=drm,surfaceless |
| 493 | GALLIUM_DRIVERS: "i915,r600" |
| 494 | script: |
Michel Dänzer | 6897715 | 2019-05-03 10:58:48 +0200 | [diff] [blame] | 495 | - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh |
| 496 | - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh |
| 497 | - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh |
Eric Engestrom | 8dab707 | 2019-01-28 18:09:24 +0000 | [diff] [blame] | 498 | |
Michel Dänzer | 82b3009 | 2019-05-03 18:19:25 +0200 | [diff] [blame] | 499 | meson-vulkan: |
| 500 | extends: .meson-build |
| 501 | variables: |
| 502 | UNWIND: "false" |
| 503 | DRI_LOADERS: > |
| 504 | -D glx=disabled |
| 505 | -D gbm=false |
| 506 | -D egl=false |
| 507 | -D platforms=x11,wayland,drm |
| 508 | -D osmesa=none |
| 509 | GALLIUM_ST: > |
| 510 | -D dri3=true |
| 511 | -D gallium-vdpau=false |
| 512 | -D gallium-xvmc=false |
| 513 | -D gallium-omx=disabled |
| 514 | -D gallium-va=false |
| 515 | -D gallium-xa=false |
| 516 | -D gallium-nine=false |
| 517 | -D gallium-opencl=disabled |
Michel Dänzer | 75cc8c0 | 2019-09-25 12:56:58 +0200 | [diff] [blame] | 518 | -D b_sanitize=undefined |
| 519 | -D c_args=-fno-sanitize-recover=all |
| 520 | -D cpp_args=-fno-sanitize-recover=all |
| 521 | UBSAN_OPTIONS: "print_stacktrace=1" |
Michel Dänzer | 82b3009 | 2019-05-03 18:19:25 +0200 | [diff] [blame] | 522 | VULKAN_DRIVERS: intel,amd,freedreno |
Eric Engestrom | 5f8d29a | 2019-05-08 18:17:23 +0200 | [diff] [blame] | 523 | EXTRA_OPTION: > |
| 524 | -D vulkan-overlay-layer=true |
Eric Anholt | 3c7c021 | 2019-12-16 21:23:02 -0800 | [diff] [blame] | 525 | -D werror=true |
Michel Dänzer | 82b3009 | 2019-05-03 18:19:25 +0200 | [diff] [blame] | 526 | |
Eric Anholt | 11aa32a | 2019-07-11 12:58:28 -0700 | [diff] [blame] | 527 | meson-i386: |
| 528 | extends: .meson-cross |
| 529 | variables: |
Eric Engestrom | 1c82fa0 | 2019-08-09 23:46:50 +0100 | [diff] [blame] | 530 | CROSS: i386 |
Samuel Pitoiset | 529c0ba | 2020-03-04 09:37:46 +0100 | [diff] [blame] | 531 | VULKAN_DRIVERS: intel,amd |
Michel Dänzer | a059186 | 2020-03-12 12:31:05 +0100 | [diff] [blame] | 532 | GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl" |
Eric Anholt | 11aa32a | 2019-07-11 12:58:28 -0700 | [diff] [blame] | 533 | EXTRA_OPTION: > |
Eric Anholt | 11aa32a | 2019-07-11 12:58:28 -0700 | [diff] [blame] | 534 | -D vulkan-overlay-layer=true |
Eric Anholt | f6e5991 | 2019-12-16 21:23:02 -0800 | [diff] [blame] | 535 | -D werror=true |
Samuel Pitoiset | 529c0ba | 2020-03-04 09:37:46 +0100 | [diff] [blame] | 536 | script: |
| 537 | - dpkg -i /var/cache/apt/archives/$CROSS/*.deb |
| 538 | - .gitlab-ci/meson-build.sh |
Eric Anholt | 11aa32a | 2019-07-11 12:58:28 -0700 | [diff] [blame] | 539 | |
Michel Dänzer | 65610ec | 2020-01-30 18:21:15 +0100 | [diff] [blame] | 540 | meson-s390x: |
| 541 | extends: |
| 542 | - .meson-cross |
Michel Dänzer | 130c0ba | 2020-03-18 18:41:43 +0100 | [diff] [blame] | 543 | tags: |
| 544 | - kvm |
Michel Dänzer | 65610ec | 2020-01-30 18:21:15 +0100 | [diff] [blame] | 545 | variables: |
| 546 | CROSS: s390x |
| 547 | GALLIUM_DRIVERS: "swrast" |
Michel Dänzer | 65610ec | 2020-01-30 18:21:15 +0100 | [diff] [blame] | 548 | script: |
Samuel Pitoiset | 529c0ba | 2020-03-04 09:37:46 +0100 | [diff] [blame] | 549 | # For unknown reasons "too many" installed i386 libraries cause qemu to |
| 550 | # crash while executing llvm-config for s390x. |
Andres Gomez | cb055c6 | 2020-04-22 16:51:48 +0300 | [diff] [blame] | 551 | - apt-get purge -y winehq-stable |
| 552 | - apt-get autoremove -y --purge |
Michel Dänzer | 65610ec | 2020-01-30 18:21:15 +0100 | [diff] [blame] | 553 | - dpkg -i /var/cache/apt/archives/$CROSS/*.deb |
| 554 | - .gitlab-ci/meson-build.sh |
| 555 | |
| 556 | meson-ppc64el: |
| 557 | extends: |
| 558 | - meson-s390x |
| 559 | variables: |
| 560 | CROSS: ppc64el |
Michel Dänzer | 8be81f8 | 2020-01-31 16:07:10 +0100 | [diff] [blame] | 561 | GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl" |
Michel Dänzer | 8be81f8 | 2020-01-31 16:07:10 +0100 | [diff] [blame] | 562 | VULKAN_DRIVERS: "amd" |
Michel Dänzer | 65610ec | 2020-01-30 18:21:15 +0100 | [diff] [blame] | 563 | |
Dylan Baker | 449f831 | 2019-10-11 09:04:14 -0700 | [diff] [blame] | 564 | meson-mingw32-x86_64: |
Dylan Baker | d905d9b | 2019-09-19 10:21:51 -0700 | [diff] [blame] | 565 | extends: .meson-build |
Michel Dänzer | cc9493f | 2020-02-27 18:27:56 +0100 | [diff] [blame] | 566 | stage: meson-misc |
Dylan Baker | d905d9b | 2019-09-19 10:21:51 -0700 | [diff] [blame] | 567 | variables: |
| 568 | UNWIND: "false" |
| 569 | DRI_DRIVERS: "" |
| 570 | GALLIUM_DRIVERS: "swrast" |
| 571 | EXTRA_OPTION: > |
| 572 | -Dllvm=false |
| 573 | -Dosmesa=gallium |
| 574 | --cross-file=.gitlab-ci/x86_64-w64-mingw32 |
| 575 | |
Samuel Pitoiset | 0b246d3 | 2019-11-18 09:30:27 +0100 | [diff] [blame] | 576 | .test: |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 577 | extends: |
| 578 | - .ci-run-policy |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 579 | variables: |
| 580 | GIT_STRATEGY: none # testing doesn't build anything from source |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 581 | before_script: |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 582 | # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY |
| 583 | - rm -rf install |
| 584 | - tar -xf artifacts/install.tar |
Samuel Pitoiset | eab328f | 2019-11-14 14:00:46 +0100 | [diff] [blame] | 585 | - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \; |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 586 | artifacts: |
Rob Clark | fdaf777 | 2019-11-17 11:33:01 -0800 | [diff] [blame] | 587 | when: always |
Michel Dänzer | 0103f02 | 2020-03-06 12:35:17 +0100 | [diff] [blame] | 588 | name: "mesa_${CI_JOB_NAME}" |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 589 | paths: |
| 590 | - results/ |
Michel Dänzer | cccb68b | 2019-09-13 11:13:12 +0200 | [diff] [blame] | 591 | dependencies: |
Samuel Pitoiset | 66b5627 | 2019-11-19 12:23:41 +0100 | [diff] [blame] | 592 | - meson-testing |
Samuel Pitoiset | 0b246d3 | 2019-11-18 09:30:27 +0100 | [diff] [blame] | 593 | |
| 594 | .test-gl: |
| 595 | extends: |
| 596 | - .test |
| 597 | variables: |
| 598 | TAG: *x86_test-gl |
| 599 | image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG" |
Michel Dänzer | c5aa271 | 2019-10-22 11:19:17 +0200 | [diff] [blame] | 600 | needs: |
Samuel Pitoiset | 66b5627 | 2019-11-19 12:23:41 +0100 | [diff] [blame] | 601 | - meson-testing |
Samuel Pitoiset | 520a77d | 2019-11-18 09:15:12 +0100 | [diff] [blame] | 602 | - x86_test-gl |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 603 | |
Samuel Pitoiset | 0b246d3 | 2019-11-18 09:30:27 +0100 | [diff] [blame] | 604 | .test-vk: |
| 605 | extends: |
| 606 | - .test |
| 607 | variables: |
| 608 | TAG: *x86_test-vk |
| 609 | image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG" |
| 610 | needs: |
| 611 | - meson-testing |
| 612 | - x86_test-vk |
| 613 | |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 614 | .piglit-test: |
Pierre-Eric Pelloux-Prayer | 2a9d6fd | 2019-10-30 20:39:08 +0100 | [diff] [blame] | 615 | extends: |
| 616 | - .test-gl |
| 617 | - .llvmpipe-rules |
Michel Dänzer | a3b3d3b | 2019-11-25 18:42:10 +0100 | [diff] [blame] | 618 | artifacts: |
| 619 | when: on_failure |
Michel Dänzer | 0103f02 | 2020-03-06 12:35:17 +0100 | [diff] [blame] | 620 | name: "mesa_${CI_JOB_NAME}" |
Michel Dänzer | a3b3d3b | 2019-11-25 18:42:10 +0100 | [diff] [blame] | 621 | paths: |
| 622 | - summary/ |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 623 | variables: |
| 624 | LIBGL_ALWAYS_SOFTWARE: 1 |
| 625 | PIGLIT_NO_WINDOW: 1 |
| 626 | script: |
Tomeu Vizoso | 92f3c51 | 2020-03-24 12:58:30 +0100 | [diff] [blame] | 627 | - install/piglit/run.sh |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 628 | |
| 629 | piglit-quick_gl: |
| 630 | extends: .piglit-test |
| 631 | variables: |
| 632 | LP_NUM_THREADS: 0 |
Dave Airlie | e6b2af5 | 2019-12-03 15:23:45 +1000 | [diff] [blame] | 633 | NIR_VALIDATE: 0 |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 634 | PIGLIT_OPTIONS: > |
Michel Dänzer | 5585b8e | 2019-12-03 10:45:28 +0100 | [diff] [blame] | 635 | --process-isolation false |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 636 | -x arb_gpu_shader5 |
Eric Anholt | 3097efe | 2019-12-04 16:13:38 -0800 | [diff] [blame] | 637 | -x egl_ext_device_ |
| 638 | -x egl_ext_platform_device |
Matt Turner | 17c9ec9 | 2020-01-21 15:23:39 -0800 | [diff] [blame] | 639 | -x ext_timer_query@time-elapsed |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 640 | -x glx-multithread-clearbuffer |
| 641 | -x glx-multithread-shader-compile |
| 642 | -x max-texture-size |
| 643 | -x maxsize |
| 644 | PIGLIT_PROFILES: quick_gl |
| 645 | |
Michel Dänzer | 5585b8e | 2019-12-03 10:45:28 +0100 | [diff] [blame] | 646 | piglit-glslparser: |
| 647 | extends: .piglit-test |
| 648 | variables: |
| 649 | LP_NUM_THREADS: 0 |
Dave Airlie | e6b2af5 | 2019-12-03 15:23:45 +1000 | [diff] [blame] | 650 | NIR_VALIDATE: 0 |
Michel Dänzer | 5585b8e | 2019-12-03 10:45:28 +0100 | [diff] [blame] | 651 | PIGLIT_PROFILES: glslparser |
| 652 | |
| 653 | piglit-quick_shader: |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 654 | extends: .piglit-test |
| 655 | variables: |
| 656 | LP_NUM_THREADS: 1 |
Dave Airlie | e6b2af5 | 2019-12-03 15:23:45 +1000 | [diff] [blame] | 657 | NIR_VALIDATE: 0 |
Michel Dänzer | 5585b8e | 2019-12-03 10:45:28 +0100 | [diff] [blame] | 658 | PIGLIT_PROFILES: quick_shader |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 659 | |
Samuel Pitoiset | 16b999b | 2019-11-19 08:39:00 +0100 | [diff] [blame] | 660 | .deqp-test: |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 661 | variables: |
| 662 | DEQP_SKIPS: deqp-default-skips.txt |
| 663 | script: |
Tomeu Vizoso | 92f3c51 | 2020-03-24 12:58:30 +0100 | [diff] [blame] | 664 | - ./install/deqp-runner.sh |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 665 | |
Samuel Pitoiset | 16b999b | 2019-11-19 08:39:00 +0100 | [diff] [blame] | 666 | .deqp-test-gl: |
| 667 | extends: |
| 668 | - .test-gl |
| 669 | - .deqp-test |
| 670 | |
| 671 | .deqp-test-vk: |
| 672 | extends: |
| 673 | - .test-vk |
| 674 | - .deqp-test |
| 675 | variables: |
| 676 | DEQP_VER: vk |
| 677 | |
Samuel Pitoiset | 1cdb6ed | 2020-02-26 09:33:14 +0100 | [diff] [blame] | 678 | .fossilize-test: |
| 679 | extends: .test-vk |
| 680 | script: |
Tomeu Vizoso | 92f3c51 | 2020-03-24 12:58:30 +0100 | [diff] [blame] | 681 | - ./install/fossilize-runner.sh |
Samuel Pitoiset | 1cdb6ed | 2020-02-26 09:33:14 +0100 | [diff] [blame] | 682 | |
Michel Dänzer | 71436f9 | 2020-03-03 18:17:12 +0100 | [diff] [blame] | 683 | llvmpipe-gles2: |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 684 | variables: |
| 685 | DEQP_VER: gles2 |
Eric Anholt | f08c810 | 2019-11-04 10:54:41 -0800 | [diff] [blame] | 686 | DEQP_PARALLEL: 4 |
Dave Airlie | e6b2af5 | 2019-12-03 15:23:45 +1000 | [diff] [blame] | 687 | NIR_VALIDATE: 0 |
Eric Anholt | f08c810 | 2019-11-04 10:54:41 -0800 | [diff] [blame] | 688 | # Don't use threads inside llvmpipe, we've already got all 4 cores |
| 689 | # busy with DEQP_PARALLEL. |
| 690 | LP_NUM_THREADS: 0 |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 691 | DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt |
| 692 | LIBGL_ALWAYS_SOFTWARE: "true" |
Eric Anholt | 8b221e0 | 2020-04-17 12:39:32 -0700 | [diff] [blame^] | 693 | DEQP_EXPECTED_RENDERER: llvmpipe |
Pierre-Eric Pelloux-Prayer | 2a9d6fd | 2019-10-30 20:39:08 +0100 | [diff] [blame] | 694 | extends: |
| 695 | - .deqp-test-gl |
| 696 | - .llvmpipe-rules |
Eric Anholt | 553cd82 | 2019-08-09 10:32:40 -0700 | [diff] [blame] | 697 | |
Michel Dänzer | 71436f9 | 2020-03-03 18:17:12 +0100 | [diff] [blame] | 698 | softpipe-gles2: |
Pierre-Eric Pelloux-Prayer | 2a9d6fd | 2019-10-30 20:39:08 +0100 | [diff] [blame] | 699 | extends: |
| 700 | - llvmpipe-gles2 |
| 701 | - .softpipe-rules |
Eric Anholt | 553cd82 | 2019-08-09 10:32:40 -0700 | [diff] [blame] | 702 | variables: |
Eric Anholt | 553cd82 | 2019-08-09 10:32:40 -0700 | [diff] [blame] | 703 | DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt |
Eric Anholt | f08c810 | 2019-11-04 10:54:41 -0800 | [diff] [blame] | 704 | DEQP_SKIPS: deqp-softpipe-skips.txt |
Eric Anholt | 553cd82 | 2019-08-09 10:32:40 -0700 | [diff] [blame] | 705 | GALLIUM_DRIVER: "softpipe" |
Eric Anholt | 8b221e0 | 2020-04-17 12:39:32 -0700 | [diff] [blame^] | 706 | DEQP_EXPECTED_RENDERER: softpipe |
Eric Anholt | 553cd82 | 2019-08-09 10:32:40 -0700 | [diff] [blame] | 707 | |
Michel Dänzer | 71436f9 | 2020-03-03 18:17:12 +0100 | [diff] [blame] | 708 | softpipe-gles3: |
Eric Anholt | 52843ec | 2019-11-05 10:31:29 -0800 | [diff] [blame] | 709 | parallel: 2 |
Eric Anholt | 553cd82 | 2019-08-09 10:32:40 -0700 | [diff] [blame] | 710 | variables: |
| 711 | DEQP_VER: gles3 |
Michel Dänzer | 71436f9 | 2020-03-03 18:17:12 +0100 | [diff] [blame] | 712 | extends: softpipe-gles2 |
Eric Anholt | 52843ec | 2019-11-05 10:31:29 -0800 | [diff] [blame] | 713 | |
Michel Dänzer | 71436f9 | 2020-03-03 18:17:12 +0100 | [diff] [blame] | 714 | softpipe-gles31: |
Eric Anholt | 52843ec | 2019-11-05 10:31:29 -0800 | [diff] [blame] | 715 | parallel: 4 |
| 716 | variables: |
| 717 | DEQP_VER: gles31 |
Michel Dänzer | 71436f9 | 2020-03-03 18:17:12 +0100 | [diff] [blame] | 718 | extends: softpipe-gles2 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 719 | |
Tomeu Vizoso | ad3ef6d | 2020-04-01 09:17:25 +0200 | [diff] [blame] | 720 | virgl-gles2: |
| 721 | variables: |
| 722 | DEQP_VER: gles2 |
| 723 | DEQP_PARALLEL: 4 |
| 724 | NIR_VALIDATE: 0 |
| 725 | DEQP_NO_SAVE_RESULTS: 1 |
Tomeu Vizoso | ad3ef6d | 2020-04-01 09:17:25 +0200 | [diff] [blame] | 726 | # Don't use threads inside llvmpipe, we've already got all 4 cores |
| 727 | # busy with DEQP_PARALLEL. |
| 728 | LP_NUM_THREADS: 0 |
| 729 | DEQP_EXPECTED_FAILS: deqp-virgl-fails.txt |
| 730 | LIBGL_ALWAYS_SOFTWARE: "true" |
| 731 | GALLIUM_DRIVER: "virpipe" |
Eric Anholt | 8b221e0 | 2020-04-17 12:39:32 -0700 | [diff] [blame^] | 732 | DEQP_EXPECTED_RENDERER: virgl |
Tomeu Vizoso | ad3ef6d | 2020-04-01 09:17:25 +0200 | [diff] [blame] | 733 | extends: |
| 734 | - .deqp-test-gl |
| 735 | - .virgl-rules |
| 736 | |
| 737 | virgl-gles3: |
| 738 | variables: |
| 739 | DEQP_VER: gles3 |
| 740 | CI_NODE_INDEX: 1 |
| 741 | CI_NODE_TOTAL: 3 |
Eric Anholt | a9e6a3e | 2020-04-17 12:28:58 -0700 | [diff] [blame] | 742 | DEQP_RUNNER_OPTIONS: "--timeout 120" |
Tomeu Vizoso | ad3ef6d | 2020-04-01 09:17:25 +0200 | [diff] [blame] | 743 | extends: virgl-gles2 |
| 744 | |
Tomeu Vizoso | 5a5316e | 2020-04-21 14:51:59 +0200 | [diff] [blame] | 745 | virgl-gles31: |
| 746 | variables: |
| 747 | DEQP_VER: gles31 |
| 748 | CI_NODE_INDEX: 1 |
| 749 | CI_NODE_TOTAL: 10 |
| 750 | DEQP_OPTIONS: "--deqp-log-images=disable" |
Eric Anholt | a9e6a3e | 2020-04-17 12:28:58 -0700 | [diff] [blame] | 751 | DEQP_RUNNER_OPTIONS: "--timeout 120" |
Tomeu Vizoso | 5a5316e | 2020-04-21 14:51:59 +0200 | [diff] [blame] | 752 | MESA_GLES_VERSION_OVERRIDE: "3.1" |
| 753 | MESA_GLSL_VERSION_OVERRIDE: "310" |
| 754 | extends: virgl-gles2 |
| 755 | |
Eric Anholt | 8edaa84 | 2020-03-19 11:45:01 -0700 | [diff] [blame] | 756 | # Rules for tests that should not be present in MRs or the main |
| 757 | # project's pipeline (don't block marge or report red on |
| 758 | # mesa/mesamaster) but should be present on pipelines in personal |
| 759 | # branches (so you can opt in to running the flaky test when you want |
| 760 | # to). |
| 761 | .test-manual: |
| 762 | rules: |
Michel Dänzer | 6a8e5dd | 2020-04-11 15:32:02 +0200 | [diff] [blame] | 763 | - if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME' |
| 764 | changes: |
| 765 | *all_paths |
| 766 | when: manual |
| 767 | - when: never |
Eric Anholt | 8edaa84 | 2020-03-19 11:45:01 -0700 | [diff] [blame] | 768 | |
Fritz Koenig | 2a98cf3 | 2020-02-12 19:31:24 +0000 | [diff] [blame] | 769 | arm64_a630_gles2: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 770 | extends: |
Samuel Pitoiset | 520a77d | 2019-11-18 09:15:12 +0100 | [diff] [blame] | 771 | - .deqp-test-gl |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 772 | - .use-arm_test |
Pierre-Eric Pelloux-Prayer | 2a9d6fd | 2019-10-30 20:39:08 +0100 | [diff] [blame] | 773 | - .freedreno-rules |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 774 | variables: |
| 775 | DEQP_VER: gles2 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 776 | DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt |
| 777 | DEQP_SKIPS: deqp-freedreno-a630-skips.txt |
| 778 | NIR_VALIDATE: 0 |
Eric Anholt | dd76a6f | 2019-11-21 05:12:58 -0800 | [diff] [blame] | 779 | DEQP_PARALLEL: 4 |
Rob Clark | fdaf777 | 2019-11-17 11:33:01 -0800 | [diff] [blame] | 780 | FLAKES_CHANNEL: "#freedreno-ci" |
Eric Anholt | 8b221e0 | 2020-04-17 12:39:32 -0700 | [diff] [blame^] | 781 | DEQP_EXPECTED_RENDERER: FD630 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 782 | tags: |
| 783 | - mesa-cheza |
| 784 | dependencies: |
| 785 | - meson-arm64 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 786 | |
Fritz Koenig | 2a98cf3 | 2020-02-12 19:31:24 +0000 | [diff] [blame] | 787 | arm64_a630_gles31: |
| 788 | extends: arm64_a630_gles2 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 789 | variables: |
Michel Dänzer | 128581d | 2019-09-11 18:55:43 +0200 | [diff] [blame] | 790 | DEQP_VER: gles31 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 791 | |
Fritz Koenig | 2a98cf3 | 2020-02-12 19:31:24 +0000 | [diff] [blame] | 792 | arm64_a630_gles3: |
| 793 | extends: arm64_a630_gles2 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 794 | variables: |
| 795 | DEQP_VER: gles3 |
| 796 | |
Eric Anholt | cf5ba9d | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 797 | .baremetal-test: |
| 798 | extends: |
| 799 | - .ci-run-policy |
| 800 | stage: test |
| 801 | |
Eric Anholt | aea8c9c | 2020-03-03 11:44:45 -0800 | [diff] [blame] | 802 | arm64_a306_gles2: |
Eric Anholt | cf5ba9d | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 803 | extends: |
| 804 | - .baremetal-test |
| 805 | - .use-arm_build |
Eric Anholt | f778c48 | 2020-03-18 09:51:03 -0700 | [diff] [blame] | 806 | - .freedreno-rules |
Eric Anholt | aea8c9c | 2020-03-03 11:44:45 -0800 | [diff] [blame] | 807 | variables: |
Eric Anholt | 4bc15e7 | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 808 | BM_KERNEL: /lava-files/Image.gz |
Eric Anholt | cf5ba9d | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 809 | BM_DTB: /lava-files/apq8016-sbc.dtb |
| 810 | BM_ROOTFS: /lava-files/rootfs-arm64 |
| 811 | BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8" |
Eric Anholt | aea8c9c | 2020-03-03 11:44:45 -0800 | [diff] [blame] | 812 | DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt |
Eric Anholt | cf5ba9d | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 813 | DEQP_SKIPS: deqp-freedreno-a307-skips.txt |
| 814 | DEQP_VER: gles2 |
| 815 | DEQP_PARALLEL: 4 |
Eric Anholt | 8b221e0 | 2020-04-17 12:39:32 -0700 | [diff] [blame^] | 816 | DEQP_EXPECTED_RENDERER: FD307 |
Eric Anholt | cf5ba9d | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 817 | script: |
| 818 | - .gitlab-ci/bare-metal/fastboot.sh |
| 819 | needs: |
| 820 | - meson-arm64 |
Eric Anholt | aea8c9c | 2020-03-03 11:44:45 -0800 | [diff] [blame] | 821 | tags: |
Eric Anholt | cf5ba9d | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 822 | - google-freedreno-db410c |
| 823 | |
| 824 | # Disabled due to flaky results |
Eric Anholt | 8edaa84 | 2020-03-19 11:45:01 -0700 | [diff] [blame] | 825 | arm64_a306_gles3: |
Eric Anholt | cf5ba9d | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 826 | extends: |
| 827 | - arm64_a306_gles2 |
Eric Anholt | cf5ba9d | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 828 | variables: |
| 829 | DEQP_VER: gles3 |
Eric Anholt | fa49a50 | 2020-04-22 11:30:38 -0700 | [diff] [blame] | 830 | DEQP_PARALLEL: 1 |
| 831 | CI_NODE_INDEX: 1 |
| 832 | CI_NODE_TOTAL: 50 |
Eric Anholt | aea8c9c | 2020-03-03 11:44:45 -0800 | [diff] [blame] | 833 | |
Eric Anholt | 4bc15e7 | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 834 | arm64_a530_gles2: |
| 835 | extends: |
| 836 | - arm64_a306_gles2 |
Eric Anholt | 4bc15e7 | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 837 | variables: |
| 838 | BM_KERNEL: /lava-files/db820c-kernel |
| 839 | BM_DTB: /lava-files/db820c.dtb |
| 840 | BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8" |
| 841 | DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt |
| 842 | DEQP_SKIPS: deqp-freedreno-a530-skips.txt |
Eric Anholt | 8b221e0 | 2020-04-17 12:39:32 -0700 | [diff] [blame^] | 843 | DEQP_EXPECTED_RENDERER: FD530 |
Eric Anholt | 4bc15e7 | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 844 | tags: |
| 845 | - google-freedreno-db820c |
| 846 | |
| 847 | arm64_a530_gles3: |
| 848 | extends: |
| 849 | - arm64_a530_gles2 |
Eric Anholt | 4bc15e7 | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 850 | variables: |
| 851 | DEQP_VER: gles3 |
Eric Anholt | fa49a50 | 2020-04-22 11:30:38 -0700 | [diff] [blame] | 852 | DEQP_PARALLEL: 1 |
| 853 | CI_NODE_INDEX: 1 |
| 854 | CI_NODE_TOTAL: 100 |
Eric Anholt | 4bc15e7 | 2020-03-03 14:38:09 -0800 | [diff] [blame] | 855 | |
Eric Anholt | 6c01152 | 2020-04-22 12:08:06 -0700 | [diff] [blame] | 856 | arm64_a530_gles31: |
| 857 | extends: |
| 858 | - arm64_a530_gles3 |
| 859 | variables: |
| 860 | DEQP_VER: gles31 |
| 861 | |
Samuel Pitoiset | c1a3627 | 2019-11-13 11:03:52 +0100 | [diff] [blame] | 862 | # RADV CI |
| 863 | .test-radv: |
Samuel Pitoiset | 8f55439 | 2020-03-09 17:53:51 +0100 | [diff] [blame] | 864 | extends: .radv-rules |
Samuel Pitoiset | 48e9203 | 2020-03-06 08:39:25 +0100 | [diff] [blame] | 865 | stage: radv |
Samuel Pitoiset | c1a3627 | 2019-11-13 11:03:52 +0100 | [diff] [blame] | 866 | variables: |
| 867 | VK_DRIVER: radeon |
Samuel Pitoiset | ff2e11b | 2019-12-06 17:07:35 +0100 | [diff] [blame] | 868 | RADV_DEBUG: checkir |
Samuel Pitoiset | 42a3d82 | 2020-02-05 17:04:20 +0100 | [diff] [blame] | 869 | |
Samuel Pitoiset | 42a3d82 | 2020-02-05 17:04:20 +0100 | [diff] [blame] | 870 | .test-radv-fossilize: |
| 871 | extends: |
| 872 | - .fossilize-test |
| 873 | - .test-radv |
Samuel Pitoiset | 1517e58 | 2020-03-06 08:29:45 +0100 | [diff] [blame] | 874 | script: |
Tomeu Vizoso | 92f3c51 | 2020-03-24 12:58:30 +0100 | [diff] [blame] | 875 | - ./install/fossilize-runner.sh |
| 876 | - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh |
Samuel Pitoiset | 42a3d82 | 2020-02-05 17:04:20 +0100 | [diff] [blame] | 877 | |
Eric Anholt | 8edaa84 | 2020-03-19 11:45:01 -0700 | [diff] [blame] | 878 | # Can only be triggered manually on personal branches because RADV is the only |
| 879 | # driver that does Vulkan testing at the moment. |
Samuel Pitoiset | c1a3627 | 2019-11-13 11:03:52 +0100 | [diff] [blame] | 880 | radv_polaris10_vkcts: |
| 881 | extends: |
| 882 | - .deqp-test-vk |
Eric Anholt | 8edaa84 | 2020-03-19 11:45:01 -0700 | [diff] [blame] | 883 | - .test-radv |
| 884 | - .test-manual |
Samuel Pitoiset | c1a3627 | 2019-11-13 11:03:52 +0100 | [diff] [blame] | 885 | variables: |
Samuel Pitoiset | c1a3627 | 2019-11-13 11:03:52 +0100 | [diff] [blame] | 886 | DEQP_SKIPS: deqp-radv-polaris10-skips.txt |
| 887 | tags: |
| 888 | - polaris10 |
Alexandros Frantzis | 803ab5d | 2020-01-08 17:46:46 +0200 | [diff] [blame] | 889 | |
Samuel Pitoiset | e22d562 | 2020-03-06 08:36:14 +0100 | [diff] [blame] | 890 | radv-fossils: |
| 891 | extends: |
| 892 | - .fossilize-test |
| 893 | - .test-radv |
| 894 | script: |
| 895 | # Polaris10 |
| 896 | - export RADV_FORCE_FAMILY="polaris10" |
Tomeu Vizoso | 92f3c51 | 2020-03-24 12:58:30 +0100 | [diff] [blame] | 897 | - ./install/fossilize-runner.sh |
| 898 | - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh |
Samuel Pitoiset | e22d562 | 2020-03-06 08:36:14 +0100 | [diff] [blame] | 899 | # Vega10 |
| 900 | - export RADV_FORCE_FAMILY="gfx900" |
Tomeu Vizoso | 92f3c51 | 2020-03-24 12:58:30 +0100 | [diff] [blame] | 901 | - ./install/fossilize-runner.sh |
| 902 | - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh |
Samuel Pitoiset | e22d562 | 2020-03-06 08:36:14 +0100 | [diff] [blame] | 903 | # Navi10 |
| 904 | - export RADV_FORCE_FAMILY="gfx1010" |
Tomeu Vizoso | 92f3c51 | 2020-03-24 12:58:30 +0100 | [diff] [blame] | 905 | - ./install/fossilize-runner.sh |
| 906 | - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh |
Samuel Pitoiset | 42a3d82 | 2020-02-05 17:04:20 +0100 | [diff] [blame] | 907 | |
Andres Gomez | 0ac731b1 | 2020-02-20 18:26:30 +0200 | [diff] [blame] | 908 | # Traces CI |
Alexandros Frantzis | 803ab5d | 2020-01-08 17:46:46 +0200 | [diff] [blame] | 909 | .traces-test: |
Alexandros Frantzis | 803ab5d | 2020-01-08 17:46:46 +0200 | [diff] [blame] | 910 | cache: |
| 911 | key: ${CI_JOB_NAME} |
| 912 | paths: |
Rohan Garg | 90a39af | 2020-02-28 13:48:53 +0100 | [diff] [blame] | 913 | - traces-db/ |
Andres Gomez | 0ac731b1 | 2020-02-20 18:26:30 +0200 | [diff] [blame] | 914 | |
| 915 | .traces-test-gl: |
| 916 | extends: |
| 917 | - .test-gl |
| 918 | - .traces-test |
Alexandros Frantzis | 803ab5d | 2020-01-08 17:46:46 +0200 | [diff] [blame] | 919 | script: |
Tomeu Vizoso | 92f3c51 | 2020-03-24 12:58:30 +0100 | [diff] [blame] | 920 | - ./install/tracie-runner-gl.sh |
Andres Gomez | 0ac731b1 | 2020-02-20 18:26:30 +0200 | [diff] [blame] | 921 | |
| 922 | .traces-test-vk: |
| 923 | extends: |
| 924 | - .test-vk |
| 925 | - .traces-test |
| 926 | script: |
Tomeu Vizoso | 92f3c51 | 2020-03-24 12:58:30 +0100 | [diff] [blame] | 927 | - ./install/tracie-runner-vk.sh |
Alexandros Frantzis | 803ab5d | 2020-01-08 17:46:46 +0200 | [diff] [blame] | 928 | |
| 929 | llvmpipe-traces: |
Pierre-Eric Pelloux-Prayer | 2a9d6fd | 2019-10-30 20:39:08 +0100 | [diff] [blame] | 930 | extends: |
| 931 | - .traces-test-gl |
| 932 | - .llvmpipe-rules |
Alexandros Frantzis | 803ab5d | 2020-01-08 17:46:46 +0200 | [diff] [blame] | 933 | variables: |
| 934 | LIBGL_ALWAYS_SOFTWARE: "true" |
| 935 | GALLIUM_DRIVER: "llvmpipe" |
Andres Gomez | 1d75595 | 2020-02-20 17:32:08 +0200 | [diff] [blame] | 936 | DEVICE_NAME: "gl-vmware-llvmpipe" |
Andres Gomez | 0ac731b1 | 2020-02-20 18:26:30 +0200 | [diff] [blame] | 937 | |
| 938 | radv-polaris10-traces: |
| 939 | extends: |
| 940 | - .traces-test-vk |
Eric Anholt | 8edaa84 | 2020-03-19 11:45:01 -0700 | [diff] [blame] | 941 | - .test-radv |
| 942 | - .test-manual |
Andres Gomez | 0ac731b1 | 2020-02-20 18:26:30 +0200 | [diff] [blame] | 943 | variables: |
| 944 | DEVICE_NAME: "vk-amd-polaris10" |
| 945 | tags: |
| 946 | - polaris10 |
Tomeu Vizoso | 8cba1a1 | 2020-04-21 15:44:03 +0200 | [diff] [blame] | 947 | |
| 948 | virgl-traces: |
| 949 | extends: |
| 950 | - .traces-test-gl |
| 951 | - .virgl-rules |
| 952 | variables: |
| 953 | LIBGL_ALWAYS_SOFTWARE: "true" |
| 954 | GALLIUM_DRIVER: "virpipe" |
| 955 | DEVICE_NAME: "gl-virgl" |
| 956 | MESA_GLES_VERSION_OVERRIDE: "3.1" |
| 957 | MESA_GLSL_VERSION_OVERRIDE: "310" |