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