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