Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 1 | variables: |
Benjamin Tissoires | 7f8a9a1 | 2019-04-02 09:24:00 +0200 | [diff] [blame] | 2 | UPSTREAM_REPO: mesa/mesa |
Benjamin Tissoires | 7f8a9a1 | 2019-04-02 09:24:00 +0200 | [diff] [blame] | 3 | |
| 4 | include: |
| 5 | - project: 'wayland/ci-templates' |
Michel Dänzer | 6702778 | 2019-11-07 20:25:10 +0100 | [diff] [blame] | 6 | # Must be the same as in .gitlab-ci/lava-gitlab-ci.yml |
Michel Dänzer | 0c88d59 | 2019-12-03 12:38:59 +0100 | [diff] [blame] | 7 | ref: 0a9bdd33a98f05af6761ab118b5074952242aab0 |
Michel Dänzer | d00b1c4 | 2019-04-02 16:56:54 +0200 | [diff] [blame] | 8 | file: '/templates/debian.yml' |
Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 9 | |
Tomeu Vizoso | 7b01f72 | 2019-09-18 16:03:36 +0200 | [diff] [blame] | 10 | include: |
Dylan Baker | 19851c9 | 2019-10-23 14:36:19 -0700 | [diff] [blame] | 11 | - local: '.gitlab-ci/lava-gitlab-ci.yml' |
Tomeu Vizoso | 7b01f72 | 2019-09-18 16:03:36 +0200 | [diff] [blame] | 12 | |
Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 13 | stages: |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 14 | - container |
Eric Engestrom | a0f8a07 | 2019-09-11 18:51:46 +0100 | [diff] [blame] | 15 | - build |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 16 | - test |
Eric Engestrom | 329f5cd | 2019-01-20 11:21:45 +0000 | [diff] [blame] | 17 | |
| 18 | |
Eric Engestrom | 7f5d9c2 | 2019-02-22 15:52:08 +0000 | [diff] [blame] | 19 | # When to automatically run the CI |
Michel Dänzer | e426f40 | 2019-09-06 17:35:52 +0200 | [diff] [blame] | 20 | .ci-run-policy: |
Michel Dänzer | 41797a1 | 2019-09-26 09:27:27 +0200 | [diff] [blame] | 21 | rules: |
| 22 | - when: on_success |
Michel Dänzer | 6140ed3 | 2019-03-26 18:39:41 +0100 | [diff] [blame] | 23 | retry: |
| 24 | max: 2 |
| 25 | when: |
| 26 | - runner_system_failure |
Eric Engestrom | ac78ca4 | 2019-11-12 23:42:21 +0000 | [diff] [blame] | 27 | # Cancel CI run if a newer commit is pushed to the same branch |
| 28 | interruptible: true |
Eric Engestrom | 7f5d9c2 | 2019-02-22 15:52:08 +0000 | [diff] [blame] | 29 | |
Michel Dänzer | e426f40 | 2019-09-06 17:35:52 +0200 | [diff] [blame] | 30 | .ci-deqp-artifacts: |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 31 | artifacts: |
| 32 | when: always |
| 33 | untracked: false |
| 34 | paths: |
| 35 | # Watch out! Artifacts are relative to the build dir. |
| 36 | # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521 |
| 37 | - artifacts |
Eric Engestrom | 7f5d9c2 | 2019-02-22 15:52:08 +0000 | [diff] [blame] | 38 | |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 39 | # Build the "normal" (non-LAVA) CI docker images. |
| 40 | # |
| 41 | # DEBIAN_TAG is the tag of the docker image used by later stage jobs. If the |
| 42 | # image doesn't exist yet, the container stage job generates it. |
| 43 | # |
| 44 | # In order to generate a new image, one should generally change the tag. |
| 45 | # While removing the image from the registry would also work, that's not |
| 46 | # recommended except for ephemeral images during development: Replacing |
| 47 | # an image after a significant amount of time might pull in newer |
| 48 | # versions of gcc/clang or other packages, which might break the build |
| 49 | # with older commits using the same tag. |
| 50 | # |
| 51 | # After merging a change resulting in generating a new image to the |
| 52 | # main repository, it's recommended to remove the image from the source |
| 53 | # repository's container registry, so that the image from the main |
| 54 | # repository's registry will be used there as well. |
Michel Dänzer | 8a19992 | 2019-09-06 17:04:47 +0200 | [diff] [blame] | 55 | |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 56 | .container: |
| 57 | stage: container |
| 58 | extends: |
| 59 | - .ci-run-policy |
Michel Dänzer | 41797a1 | 2019-09-26 09:27:27 +0200 | [diff] [blame] | 60 | rules: |
| 61 | # Run pipeline by default for merge requests changing files affecting it |
| 62 | - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME' |
| 63 | changes: |
| 64 | - VERSION |
| 65 | - bin/**/* |
| 66 | # GitLab CI |
| 67 | - .gitlab-ci.yml |
| 68 | - .gitlab-ci/**/* |
| 69 | # Meson |
| 70 | - meson* |
| 71 | - build-support/**/* |
| 72 | - subprojects/**/* |
| 73 | # SCons |
| 74 | - SConstruct |
| 75 | - scons/**/* |
| 76 | - common.py |
| 77 | # Source code |
| 78 | - include/**/* |
| 79 | - src/**/* |
| 80 | when: on_success |
| 81 | # Always run pipeline by default in the main project |
| 82 | - if: '$CI_PROJECT_PATH == "mesa/mesa"' |
| 83 | when: on_success |
| 84 | # Otherwise, allow triggering jobs manually |
| 85 | - when: manual |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 86 | variables: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 87 | DEBIAN_VERSION: buster-slim |
| 88 | REPO_SUFFIX: $CI_JOB_NAME |
Michel Dänzer | 506e9d5 | 2019-11-07 20:08:03 +0100 | [diff] [blame] | 89 | DEBIAN_EXEC: 'bash .gitlab-ci/container/${CI_JOB_NAME}.sh' |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 90 | # no need to pull the whole repo to build the container image |
| 91 | GIT_STRATEGY: none |
| 92 | |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 93 | # Debian 10 based x86 build image |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 94 | x86_build: |
Michel Dänzer | e426f40 | 2019-09-06 17:35:52 +0200 | [diff] [blame] | 95 | extends: |
| 96 | - .debian@container-ifnot-exists |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 97 | - .container |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 98 | variables: |
| 99 | DEBIAN_TAG: &x86_build "2019-11-13" |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 100 | |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 101 | .use-x86_build: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 102 | variables: |
| 103 | TAG: *x86_build |
| 104 | image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG" |
Michel Dänzer | eb86cba | 2019-10-10 15:27:17 +0200 | [diff] [blame] | 105 | needs: |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 106 | - x86_build |
Michel Dänzer | eb86cba | 2019-10-10 15:27:17 +0200 | [diff] [blame] | 107 | |
Samuel Pitoiset | 520a77d | 2019-11-18 09:15:12 +0100 | [diff] [blame] | 108 | # Debian 10 based x86 test image for GL |
| 109 | x86_test-gl: |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 110 | extends: x86_build |
Michel Dänzer | aebf43d | 2019-11-05 18:52:24 +0100 | [diff] [blame] | 111 | variables: |
Samuel Pitoiset | 520a77d | 2019-11-18 09:15:12 +0100 | [diff] [blame] | 112 | DEBIAN_TAG: &x86_test-gl "2019-12-05" |
Michel Dänzer | aebf43d | 2019-11-05 18:52:24 +0100 | [diff] [blame] | 113 | |
Samuel Pitoiset | f2a594f | 2019-11-18 09:23:18 +0100 | [diff] [blame] | 114 | # Debian 10 based x86 test image for VK |
| 115 | x86_test-vk: |
| 116 | extends: x86_build |
| 117 | variables: |
| 118 | DEBIAN_TAG: &x86_test-vk "2019-11-22" |
Samuel Pitoiset | c1a3627 | 2019-11-13 11:03:52 +0100 | [diff] [blame] | 119 | # Can only be triggered manually on personal branches because RADV is the only |
| 120 | # driver that does Vulkan testing at the moment. |
| 121 | rules: |
| 122 | # Never build the test image for VK by default in the main project. |
| 123 | - if: '$CI_PROJECT_PATH == "mesa/mesa"' |
| 124 | when: never |
| 125 | # Never build the test image for VK by default for merge requests. |
| 126 | - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME' |
| 127 | when: never |
| 128 | # Otherwise, allow building it manually for personal branches. |
| 129 | - when: manual |
| 130 | |
Samuel Pitoiset | f2a594f | 2019-11-18 09:23:18 +0100 | [diff] [blame] | 131 | |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 132 | # Debian 9 based x86 build image (old LLVM) |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 133 | x86_build_old: |
| 134 | extends: x86_build |
Michel Dänzer | 8a19992 | 2019-09-06 17:04:47 +0200 | [diff] [blame] | 135 | variables: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 136 | DEBIAN_TAG: &x86_build_old "2019-09-18" |
| 137 | DEBIAN_VERSION: stretch-slim |
Michel Dänzer | 8a19992 | 2019-09-06 17:04:47 +0200 | [diff] [blame] | 138 | |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 139 | .use-x86_build_old: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 140 | variables: |
| 141 | TAG: *x86_build_old |
| 142 | image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG" |
Michel Dänzer | 88319f2 | 2019-09-18 16:17:01 +0200 | [diff] [blame] | 143 | needs: |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 144 | - x86_build_old |
Michel Dänzer | 88319f2 | 2019-09-18 16:17:01 +0200 | [diff] [blame] | 145 | |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 146 | # Debian 10 based ARM build image |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 147 | arm_build: |
Michel Dänzer | e426f40 | 2019-09-06 17:35:52 +0200 | [diff] [blame] | 148 | extends: |
| 149 | - .debian@container-ifnot-exists@arm64v8 |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 150 | - .container |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 151 | variables: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 152 | DEBIAN_TAG: &arm_build "2019-11-13" |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 153 | |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 154 | .use-arm_build: |
Michel Dänzer | b4d3ae2 | 2019-11-04 09:54:09 +0100 | [diff] [blame] | 155 | variables: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 156 | TAG: *arm_build |
| 157 | image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG" |
| 158 | needs: |
| 159 | - arm_build |
| 160 | |
| 161 | # Debian 10 based ARM test image |
| 162 | arm_test: |
| 163 | extends: arm_build |
| 164 | variables: |
Rob Clark | 8af7551 | 2019-11-22 13:30:18 -0800 | [diff] [blame] | 165 | DEBIAN_TAG: &arm_test "2019-11-22" |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 166 | |
| 167 | .use-arm_test: |
| 168 | variables: |
| 169 | TAG: *arm_test |
| 170 | image: "$CI_REGISTRY_IMAGE/debian/arm_test:$TAG" |
| 171 | needs: |
| 172 | - meson-arm64 |
| 173 | - arm_test |
Michel Dänzer | b4d3ae2 | 2019-11-04 09:54:09 +0100 | [diff] [blame] | 174 | |
Eric Engestrom | 81b98e9 | 2019-10-14 23:04:14 +0100 | [diff] [blame] | 175 | |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 176 | # BUILD |
| 177 | |
Dylan Baker | 06e4647 | 2019-10-23 14:21:31 -0700 | [diff] [blame] | 178 | # Shared between windows and Linux |
| 179 | .build-common: |
Eric Engestrom | aba78c2 | 2019-10-14 23:52:58 +0100 | [diff] [blame] | 180 | extends: .ci-run-policy |
Eric Engestrom | a0f8a07 | 2019-09-11 18:51:46 +0100 | [diff] [blame] | 181 | stage: build |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 182 | artifacts: |
Eric Anholt | dd3d0b2 | 2019-07-24 09:27:48 -0700 | [diff] [blame] | 183 | when: always |
| 184 | paths: |
| 185 | - _build/meson-logs/*.txt |
| 186 | # scons: |
Michel Dänzer | 5229f27 | 2019-07-26 12:20:41 +0200 | [diff] [blame] | 187 | - build/*/config.log |
Eric Anholt | f60defa | 2019-04-10 15:59:12 -0700 | [diff] [blame] | 188 | - shader-db |
Dylan Baker | 06e4647 | 2019-10-23 14:21:31 -0700 | [diff] [blame] | 189 | |
| 190 | # Just Linux |
| 191 | .build-linux: |
| 192 | extends: .build-common |
Michel Dänzer | e9de19f | 2019-04-04 18:01:27 +0200 | [diff] [blame] | 193 | variables: |
| 194 | CCACHE_COMPILERCHECK: "content" |
Michel Dänzer | 32618ee | 2019-11-20 09:11:35 +0100 | [diff] [blame] | 195 | CCACHE_COMPRESS: "true" |
| 196 | CCACHE_DIR: /cache/mesa/ccache |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame] | 197 | # Use ccache transparently, and print stats before/after |
| 198 | before_script: |
| 199 | - export PATH="/usr/lib/ccache:$PATH" |
| 200 | - export CCACHE_BASEDIR="$PWD" |
Michel Dänzer | 32618ee | 2019-11-20 09:11:35 +0100 | [diff] [blame] | 201 | - ccache --show-stats |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame] | 202 | after_script: |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame] | 203 | - ccache --show-stats |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 204 | |
Dylan Baker | 19851c9 | 2019-10-23 14:36:19 -0700 | [diff] [blame] | 205 | .build-windows: |
| 206 | extends: .build-common |
| 207 | tags: |
| 208 | - mesa-windows |
| 209 | cache: |
| 210 | key: ${CI_JOB_NAME} |
| 211 | paths: |
| 212 | - subprojects/packagecache |
| 213 | |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 214 | .meson-build: |
Eric Engestrom | aba78c2 | 2019-10-14 23:52:58 +0100 | [diff] [blame] | 215 | extends: |
Dylan Baker | 06e4647 | 2019-10-23 14:21:31 -0700 | [diff] [blame] | 216 | - .build-linux |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 217 | - .use-x86_build |
Eric Engestrom | 23b485c | 2019-02-12 16:59:27 +0000 | [diff] [blame] | 218 | script: |
Michel Dänzer | cc2b3a9 | 2019-05-03 10:49:43 +0200 | [diff] [blame] | 219 | - .gitlab-ci/meson-build.sh |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 220 | |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 221 | .scons-build: |
Eric Engestrom | aba78c2 | 2019-10-14 23:52:58 +0100 | [diff] [blame] | 222 | extends: |
Dylan Baker | 06e4647 | 2019-10-23 14:21:31 -0700 | [diff] [blame] | 223 | - .build-linux |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 224 | - .use-x86_build |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 225 | variables: |
Eric Anholt | cb655d2 | 2019-11-06 11:14:14 -0800 | [diff] [blame] | 226 | SCONSFLAGS: "-j4" |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 227 | script: |
Michel Dänzer | 0374aac | 2019-09-12 11:34:43 +0200 | [diff] [blame] | 228 | - .gitlab-ci/scons-build.sh |
Eric Engestrom | 06b245b | 2019-01-23 15:46:10 +0000 | [diff] [blame] | 229 | |
Samuel Pitoiset | 66b5627 | 2019-11-19 12:23:41 +0100 | [diff] [blame] | 230 | meson-testing: |
Michel Dänzer | e426f40 | 2019-09-06 17:35:52 +0200 | [diff] [blame] | 231 | extends: |
| 232 | - .meson-build |
| 233 | - .ci-deqp-artifacts |
Michel Dänzer | 42f8d5a | 2019-08-28 12:01:02 +0200 | [diff] [blame] | 234 | variables: |
| 235 | UNWIND: "true" |
| 236 | DRI_LOADERS: > |
| 237 | -D glx=dri |
| 238 | -D gbm=true |
| 239 | -D egl=true |
Samuel Pitoiset | 66b5627 | 2019-11-19 12:23:41 +0100 | [diff] [blame] | 240 | -D platforms=x11,drm,surfaceless |
| 241 | GALLIUM_ST: > |
| 242 | -D dri3=true |
| 243 | GALLIUM_DRIVERS: "swrast" |
Samuel Pitoiset | 40c6a56 | 2019-11-19 14:46:53 +0100 | [diff] [blame] | 244 | VULKAN_DRIVERS: amd |
Samuel Pitoiset | 66b5627 | 2019-11-19 12:23:41 +0100 | [diff] [blame] | 245 | BUILDTYPE: "debugoptimized" |
| 246 | script: |
| 247 | - .gitlab-ci/meson-build.sh |
| 248 | - .gitlab-ci/prepare-artifacts.sh |
| 249 | |
| 250 | meson-main: |
| 251 | extends: .meson-build |
| 252 | variables: |
| 253 | UNWIND: "true" |
| 254 | DRI_LOADERS: > |
| 255 | -D glx=dri |
| 256 | -D gbm=true |
| 257 | -D egl=true |
Michel Dänzer | 42f8d5a | 2019-08-28 12:01:02 +0200 | [diff] [blame] | 258 | -D platforms=x11,wayland,drm,surfaceless |
| 259 | DRI_DRIVERS: "i915,i965,r100,r200,nouveau" |
| 260 | GALLIUM_ST: > |
| 261 | -D dri3=true |
| 262 | -D gallium-extra-hud=true |
| 263 | -D gallium-vdpau=true |
| 264 | -D gallium-xvmc=true |
| 265 | -D gallium-omx=bellagio |
| 266 | -D gallium-va=true |
| 267 | -D gallium-xa=true |
| 268 | -D gallium-nine=true |
| 269 | -D gallium-opencl=disabled |
Samuel Pitoiset | e6d26d7 | 2019-11-19 14:36:02 +0100 | [diff] [blame] | 270 | 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] | 271 | LLVM_VERSION: "7" |
| 272 | EXTRA_OPTION: > |
| 273 | -D osmesa=gallium |
| 274 | -D tools=all |
Michel Dänzer | 59fcb01 | 2019-10-23 18:42:53 +0200 | [diff] [blame] | 275 | script: |
| 276 | - .gitlab-ci/meson-build.sh |
| 277 | - .gitlab-ci/run-shader-db.sh |
Michel Dänzer | 42f8d5a | 2019-08-28 12:01:02 +0200 | [diff] [blame] | 278 | |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 279 | .meson-cross: |
| 280 | extends: |
| 281 | - .meson-build |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 282 | variables: |
| 283 | UNWIND: "false" |
| 284 | DRI_LOADERS: > |
| 285 | -D glx=disabled |
| 286 | -D gbm=false |
| 287 | -D egl=true |
| 288 | -D platforms=surfaceless |
| 289 | -D osmesa=none |
| 290 | GALLIUM_ST: > |
| 291 | -D dri3=false |
| 292 | -D gallium-vdpau=false |
| 293 | -D gallium-xvmc=false |
| 294 | -D gallium-omx=disabled |
| 295 | -D gallium-va=false |
| 296 | -D gallium-xa=false |
| 297 | -D gallium-nine=false |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 298 | |
Michel Dänzer | 163ec5d | 2019-10-08 19:46:11 +0200 | [diff] [blame] | 299 | .meson-arm: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 300 | extends: |
| 301 | - .meson-cross |
| 302 | - .use-arm_build |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 303 | variables: |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 304 | VULKAN_DRIVERS: freedreno |
Michel Dänzer | 793f6b3 | 2019-10-08 19:48:41 +0200 | [diff] [blame] | 305 | GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4" |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 306 | EXTRA_OPTION: > |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 307 | -D I-love-half-baked-turnips=true |
Michel Dänzer | 163ec5d | 2019-10-08 19:46:11 +0200 | [diff] [blame] | 308 | tags: |
| 309 | - aarch64 |
| 310 | |
| 311 | meson-armhf: |
| 312 | extends: .meson-arm |
| 313 | variables: |
| 314 | CROSS: armhf |
Michel Dänzer | 793f6b3 | 2019-10-08 19:48:41 +0200 | [diff] [blame] | 315 | LLVM_VERSION: "7" |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 316 | |
| 317 | meson-arm64: |
Michel Dänzer | 163ec5d | 2019-10-08 19:46:11 +0200 | [diff] [blame] | 318 | extends: |
| 319 | - .meson-arm |
| 320 | - .ci-deqp-artifacts |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 321 | variables: |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 322 | BUILDTYPE: "debugoptimized" |
Samuel Pitoiset | 47ba227 | 2019-11-12 14:25:16 +0100 | [diff] [blame] | 323 | VULKAN_DRIVERS: "freedreno,amd" |
Michel Dänzer | 59fcb01 | 2019-10-23 18:42:53 +0200 | [diff] [blame] | 324 | script: |
| 325 | - .gitlab-ci/meson-build.sh |
| 326 | - .gitlab-ci/prepare-artifacts.sh |
Michel Dänzer | e536446 | 2019-09-13 11:59:43 +0200 | [diff] [blame] | 327 | |
Michel Dänzer | a2cce70 | 2019-03-20 15:58:31 +0100 | [diff] [blame] | 328 | meson-clang: |
| 329 | extends: .meson-build |
| 330 | variables: |
| 331 | UNWIND: "true" |
Samuel Pitoiset | 7362176 | 2019-11-19 14:37:32 +0100 | [diff] [blame] | 332 | DRI_LOADERS: > |
| 333 | -D glvnd=true |
Michel Dänzer | a2cce70 | 2019-03-20 15:58:31 +0100 | [diff] [blame] | 334 | DRI_DRIVERS: "auto" |
| 335 | GALLIUM_DRIVERS: "auto" |
Eric Engestrom | 47f419d | 2019-05-01 12:09:26 +0100 | [diff] [blame] | 336 | VULKAN_DRIVERS: intel,amd,freedreno |
Michel Dänzer | 3fca2b7 | 2019-04-05 10:36:29 +0200 | [diff] [blame] | 337 | CC: "ccache clang-8" |
| 338 | CXX: "ccache clang++-8" |
Michel Dänzer | a2cce70 | 2019-03-20 15:58:31 +0100 | [diff] [blame] | 339 | |
Michel Dänzer | aaf1b09 | 2019-10-30 09:38:20 +0100 | [diff] [blame] | 340 | .meson-windows: |
Dylan Baker | 19851c9 | 2019-10-23 14:36:19 -0700 | [diff] [blame] | 341 | extends: |
| 342 | - .build-windows |
| 343 | before_script: |
| 344 | - $ENV:ARCH = "x86" |
| 345 | - $ENV:VERSION = "2019\Community" |
| 346 | script: |
| 347 | - cmd /C .gitlab-ci\meson-build.bat |
| 348 | |
Michel Dänzer | 82b3009 | 2019-05-03 18:19:25 +0200 | [diff] [blame] | 349 | scons-swr: |
| 350 | extends: .scons-build |
Eric Engestrom | 46d23c0 | 2019-01-20 11:26:53 +0000 | [diff] [blame] | 351 | variables: |
Michel Dänzer | 82b3009 | 2019-05-03 18:19:25 +0200 | [diff] [blame] | 352 | SCONS_TARGET: "swr=1" |
| 353 | SCONS_CHECK_COMMAND: "true" |
| 354 | LLVM_VERSION: "6.0" |
| 355 | |
| 356 | scons-win64: |
| 357 | extends: .scons-build |
| 358 | variables: |
| 359 | SCONS_TARGET: platform=windows machine=x86_64 |
| 360 | SCONS_CHECK_COMMAND: "true" |
Eric Engestrom | 89a7467 | 2019-01-21 09:42:37 +0000 | [diff] [blame] | 361 | |
Michel Dänzer | 6897715 | 2019-05-03 10:58:48 +0200 | [diff] [blame] | 362 | meson-clover: |
Eric Engestrom | b5a70af | 2019-01-28 18:05:22 +0000 | [diff] [blame] | 363 | extends: .meson-build |
| 364 | variables: |
| 365 | UNWIND: "true" |
| 366 | DRI_LOADERS: > |
| 367 | -D glx=disabled |
| 368 | -D egl=false |
| 369 | -D gbm=false |
| 370 | GALLIUM_ST: > |
| 371 | -D dri3=false |
| 372 | -D gallium-vdpau=false |
| 373 | -D gallium-xvmc=false |
| 374 | -D gallium-omx=disabled |
| 375 | -D gallium-va=false |
| 376 | -D gallium-xa=false |
| 377 | -D gallium-nine=false |
| 378 | -D gallium-opencl=icd |
Michel Dänzer | 6897715 | 2019-05-03 10:58:48 +0200 | [diff] [blame] | 379 | script: |
| 380 | - export GALLIUM_DRIVERS="r600,radeonsi" |
| 381 | - .gitlab-ci/meson-build.sh |
Samuel Pitoiset | 7d1c091 | 2019-08-21 11:45:25 +0200 | [diff] [blame] | 382 | - LLVM_VERSION=8 .gitlab-ci/meson-build.sh |
Michel Dänzer | 6897715 | 2019-05-03 10:58:48 +0200 | [diff] [blame] | 383 | - export GALLIUM_DRIVERS="i915,r600" |
Michel Dänzer | 8a19992 | 2019-09-06 17:04:47 +0200 | [diff] [blame] | 384 | - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh |
| 385 | - LLVM_VERSION=7 .gitlab-ci/meson-build.sh |
| 386 | |
| 387 | meson-clover-old-llvm: |
Michel Dänzer | 88319f2 | 2019-09-18 16:17:01 +0200 | [diff] [blame] | 388 | extends: |
| 389 | - meson-clover |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 390 | - .use-x86_build_old |
Michel Dänzer | 8a19992 | 2019-09-06 17:04:47 +0200 | [diff] [blame] | 391 | variables: |
| 392 | UNWIND: "false" |
| 393 | DRI_LOADERS: > |
| 394 | -D glx=disabled |
| 395 | -D egl=false |
| 396 | -D gbm=false |
| 397 | -D platforms=drm,surfaceless |
| 398 | GALLIUM_DRIVERS: "i915,r600" |
| 399 | script: |
Michel Dänzer | 6897715 | 2019-05-03 10:58:48 +0200 | [diff] [blame] | 400 | - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh |
| 401 | - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh |
| 402 | - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh |
Eric Engestrom | 8dab707 | 2019-01-28 18:09:24 +0000 | [diff] [blame] | 403 | |
Michel Dänzer | 82b3009 | 2019-05-03 18:19:25 +0200 | [diff] [blame] | 404 | meson-vulkan: |
| 405 | extends: .meson-build |
| 406 | variables: |
| 407 | UNWIND: "false" |
| 408 | DRI_LOADERS: > |
| 409 | -D glx=disabled |
| 410 | -D gbm=false |
| 411 | -D egl=false |
| 412 | -D platforms=x11,wayland,drm |
| 413 | -D osmesa=none |
| 414 | GALLIUM_ST: > |
| 415 | -D dri3=true |
| 416 | -D gallium-vdpau=false |
| 417 | -D gallium-xvmc=false |
| 418 | -D gallium-omx=disabled |
| 419 | -D gallium-va=false |
| 420 | -D gallium-xa=false |
| 421 | -D gallium-nine=false |
| 422 | -D gallium-opencl=disabled |
Michel Dänzer | 75cc8c0 | 2019-09-25 12:56:58 +0200 | [diff] [blame] | 423 | -D b_sanitize=undefined |
| 424 | -D c_args=-fno-sanitize-recover=all |
| 425 | -D cpp_args=-fno-sanitize-recover=all |
| 426 | UBSAN_OPTIONS: "print_stacktrace=1" |
Michel Dänzer | 82b3009 | 2019-05-03 18:19:25 +0200 | [diff] [blame] | 427 | VULKAN_DRIVERS: intel,amd,freedreno |
Samuel Pitoiset | 7d1c091 | 2019-08-21 11:45:25 +0200 | [diff] [blame] | 428 | LLVM_VERSION: "8" |
Eric Engestrom | 5f8d29a | 2019-05-08 18:17:23 +0200 | [diff] [blame] | 429 | EXTRA_OPTION: > |
| 430 | -D vulkan-overlay-layer=true |
Michel Dänzer | 82b3009 | 2019-05-03 18:19:25 +0200 | [diff] [blame] | 431 | |
Eric Anholt | 030aa6e | 2019-08-07 14:05:51 -0700 | [diff] [blame] | 432 | # While the main point of this build is testing the i386 cross build, |
| 433 | # we also use this one to test some other options that are exclusive |
| 434 | # with meson-main's choices (classic swrast and osmesa) |
Eric Anholt | 11aa32a | 2019-07-11 12:58:28 -0700 | [diff] [blame] | 435 | meson-i386: |
| 436 | extends: .meson-cross |
| 437 | variables: |
Eric Engestrom | 1c82fa0 | 2019-08-09 23:46:50 +0100 | [diff] [blame] | 438 | CROSS: i386 |
Eric Anholt | 11aa32a | 2019-07-11 12:58:28 -0700 | [diff] [blame] | 439 | VULKAN_DRIVERS: intel |
Eric Anholt | 030aa6e | 2019-08-07 14:05:51 -0700 | [diff] [blame] | 440 | DRI_DRIVERS: "swrast" |
| 441 | GALLIUM_DRIVERS: "iris" |
Eric Anholt | 11aa32a | 2019-07-11 12:58:28 -0700 | [diff] [blame] | 442 | EXTRA_OPTION: > |
Eric Anholt | 11aa32a | 2019-07-11 12:58:28 -0700 | [diff] [blame] | 443 | -D vulkan-overlay-layer=true |
Eric Anholt | 030aa6e | 2019-08-07 14:05:51 -0700 | [diff] [blame] | 444 | -D llvm=false |
| 445 | -D osmesa=classic |
Eric Anholt | 11aa32a | 2019-07-11 12:58:28 -0700 | [diff] [blame] | 446 | |
Dylan Baker | 449f831 | 2019-10-11 09:04:14 -0700 | [diff] [blame] | 447 | meson-mingw32-x86_64: |
Dylan Baker | d905d9b | 2019-09-19 10:21:51 -0700 | [diff] [blame] | 448 | extends: .meson-build |
| 449 | variables: |
| 450 | UNWIND: "false" |
| 451 | DRI_DRIVERS: "" |
| 452 | GALLIUM_DRIVERS: "swrast" |
| 453 | EXTRA_OPTION: > |
| 454 | -Dllvm=false |
| 455 | -Dosmesa=gallium |
| 456 | --cross-file=.gitlab-ci/x86_64-w64-mingw32 |
| 457 | |
Michel Dänzer | 88e5796 | 2019-09-12 11:45:13 +0200 | [diff] [blame] | 458 | scons: |
Eric Engestrom | d4c6d4d | 2019-01-28 16:30:36 +0000 | [diff] [blame] | 459 | extends: .scons-build |
| 460 | variables: |
| 461 | SCONS_TARGET: "llvm=1" |
Dylan Baker | 54053bc | 2019-10-21 09:29:23 -0700 | [diff] [blame] | 462 | SCONS_CHECK_COMMAND: "scons llvm=1 force_scons=1 check" |
Michel Dänzer | baa5024 | 2019-09-12 11:38:06 +0200 | [diff] [blame] | 463 | script: |
Dylan Baker | 54053bc | 2019-10-21 09:29:23 -0700 | [diff] [blame] | 464 | - SCONS_TARGET="" SCONS_CHECK_COMMAND="scons check force_scons=1" .gitlab-ci/scons-build.sh |
Michel Dänzer | baa5024 | 2019-09-12 11:38:06 +0200 | [diff] [blame] | 465 | - LLVM_VERSION=8 .gitlab-ci/scons-build.sh |
Michel Dänzer | 8a19992 | 2019-09-06 17:04:47 +0200 | [diff] [blame] | 466 | |
| 467 | scons-old-llvm: |
Michel Dänzer | 88319f2 | 2019-09-18 16:17:01 +0200 | [diff] [blame] | 468 | extends: |
| 469 | - scons |
Michel Dänzer | 3a48f45 | 2019-11-13 17:43:41 +0100 | [diff] [blame] | 470 | - .use-x86_build_old |
Michel Dänzer | baa5024 | 2019-09-12 11:38:06 +0200 | [diff] [blame] | 471 | script: |
| 472 | - LLVM_VERSION=3.9 .gitlab-ci/scons-build.sh |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 473 | |
Samuel Pitoiset | 0b246d3 | 2019-11-18 09:30:27 +0100 | [diff] [blame] | 474 | .test: |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 475 | extends: |
| 476 | - .ci-run-policy |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 477 | stage: test |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 478 | variables: |
| 479 | GIT_STRATEGY: none # testing doesn't build anything from source |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 480 | before_script: |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 481 | # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY |
| 482 | - rm -rf install |
| 483 | - tar -xf artifacts/install.tar |
Samuel Pitoiset | eab328f | 2019-11-14 14:00:46 +0100 | [diff] [blame] | 484 | - 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] | 485 | artifacts: |
Rob Clark | fdaf777 | 2019-11-17 11:33:01 -0800 | [diff] [blame] | 486 | when: always |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 487 | name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" |
| 488 | paths: |
| 489 | - results/ |
Michel Dänzer | cccb68b | 2019-09-13 11:13:12 +0200 | [diff] [blame] | 490 | dependencies: |
Samuel Pitoiset | 66b5627 | 2019-11-19 12:23:41 +0100 | [diff] [blame] | 491 | - meson-testing |
Samuel Pitoiset | 0b246d3 | 2019-11-18 09:30:27 +0100 | [diff] [blame] | 492 | |
| 493 | .test-gl: |
| 494 | extends: |
| 495 | - .test |
| 496 | variables: |
| 497 | TAG: *x86_test-gl |
| 498 | image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG" |
Michel Dänzer | c5aa271 | 2019-10-22 11:19:17 +0200 | [diff] [blame] | 499 | needs: |
Samuel Pitoiset | 66b5627 | 2019-11-19 12:23:41 +0100 | [diff] [blame] | 500 | - meson-testing |
Samuel Pitoiset | 520a77d | 2019-11-18 09:15:12 +0100 | [diff] [blame] | 501 | - x86_test-gl |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 502 | |
Samuel Pitoiset | 0b246d3 | 2019-11-18 09:30:27 +0100 | [diff] [blame] | 503 | .test-vk: |
| 504 | extends: |
| 505 | - .test |
| 506 | variables: |
| 507 | TAG: *x86_test-vk |
| 508 | image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG" |
| 509 | needs: |
| 510 | - meson-testing |
| 511 | - x86_test-vk |
| 512 | |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 513 | .piglit-test: |
Samuel Pitoiset | 520a77d | 2019-11-18 09:15:12 +0100 | [diff] [blame] | 514 | extends: .test-gl |
Michel Dänzer | a3b3d3b | 2019-11-25 18:42:10 +0100 | [diff] [blame] | 515 | artifacts: |
| 516 | when: on_failure |
| 517 | name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME" |
| 518 | paths: |
| 519 | - summary/ |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 520 | variables: |
| 521 | LIBGL_ALWAYS_SOFTWARE: 1 |
| 522 | PIGLIT_NO_WINDOW: 1 |
| 523 | script: |
| 524 | - artifacts/piglit/run.sh |
| 525 | |
| 526 | piglit-quick_gl: |
| 527 | extends: .piglit-test |
| 528 | variables: |
| 529 | LP_NUM_THREADS: 0 |
| 530 | PIGLIT_OPTIONS: > |
Michel Dänzer | 5585b8e | 2019-12-03 10:45:28 +0100 | [diff] [blame] | 531 | --process-isolation false |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 532 | -x arb_gpu_shader5 |
Eric Anholt | 3097efe | 2019-12-04 16:13:38 -0800 | [diff] [blame] | 533 | -x egl_ext_device_ |
| 534 | -x egl_ext_platform_device |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 535 | -x glx-multithread-clearbuffer |
| 536 | -x glx-multithread-shader-compile |
| 537 | -x max-texture-size |
| 538 | -x maxsize |
| 539 | PIGLIT_PROFILES: quick_gl |
| 540 | |
Michel Dänzer | 5585b8e | 2019-12-03 10:45:28 +0100 | [diff] [blame] | 541 | piglit-glslparser: |
| 542 | extends: .piglit-test |
| 543 | variables: |
| 544 | LP_NUM_THREADS: 0 |
| 545 | PIGLIT_PROFILES: glslparser |
| 546 | |
| 547 | piglit-quick_shader: |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 548 | extends: .piglit-test |
| 549 | variables: |
| 550 | LP_NUM_THREADS: 1 |
Michel Dänzer | 5585b8e | 2019-12-03 10:45:28 +0100 | [diff] [blame] | 551 | PIGLIT_PROFILES: quick_shader |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 552 | |
Samuel Pitoiset | 16b999b | 2019-11-19 08:39:00 +0100 | [diff] [blame] | 553 | .deqp-test: |
Michel Dänzer | 576f7b6 | 2019-10-22 17:16:52 +0200 | [diff] [blame] | 554 | variables: |
| 555 | DEQP_SKIPS: deqp-default-skips.txt |
| 556 | script: |
| 557 | - ./artifacts/deqp-runner.sh |
| 558 | |
Samuel Pitoiset | 16b999b | 2019-11-19 08:39:00 +0100 | [diff] [blame] | 559 | .deqp-test-gl: |
| 560 | extends: |
| 561 | - .test-gl |
| 562 | - .deqp-test |
| 563 | |
| 564 | .deqp-test-vk: |
| 565 | extends: |
| 566 | - .test-vk |
| 567 | - .deqp-test |
| 568 | variables: |
| 569 | DEQP_VER: vk |
| 570 | |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 571 | test-llvmpipe-gles2: |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 572 | variables: |
| 573 | DEQP_VER: gles2 |
Eric Anholt | f08c810 | 2019-11-04 10:54:41 -0800 | [diff] [blame] | 574 | DEQP_PARALLEL: 4 |
| 575 | # Don't use threads inside llvmpipe, we've already got all 4 cores |
| 576 | # busy with DEQP_PARALLEL. |
| 577 | LP_NUM_THREADS: 0 |
Eric Anholt | 46daaca | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 578 | DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt |
| 579 | LIBGL_ALWAYS_SOFTWARE: "true" |
Samuel Pitoiset | 520a77d | 2019-11-18 09:15:12 +0100 | [diff] [blame] | 580 | extends: .deqp-test-gl |
Eric Anholt | 553cd82 | 2019-08-09 10:32:40 -0700 | [diff] [blame] | 581 | |
| 582 | test-softpipe-gles2: |
Michel Dänzer | 128581d | 2019-09-11 18:55:43 +0200 | [diff] [blame] | 583 | extends: test-llvmpipe-gles2 |
Eric Anholt | 553cd82 | 2019-08-09 10:32:40 -0700 | [diff] [blame] | 584 | variables: |
Eric Anholt | 553cd82 | 2019-08-09 10:32:40 -0700 | [diff] [blame] | 585 | DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt |
Eric Anholt | f08c810 | 2019-11-04 10:54:41 -0800 | [diff] [blame] | 586 | DEQP_SKIPS: deqp-softpipe-skips.txt |
Eric Anholt | 553cd82 | 2019-08-09 10:32:40 -0700 | [diff] [blame] | 587 | GALLIUM_DRIVER: "softpipe" |
Eric Anholt | 553cd82 | 2019-08-09 10:32:40 -0700 | [diff] [blame] | 588 | |
Eric Anholt | 52843ec | 2019-11-05 10:31:29 -0800 | [diff] [blame] | 589 | test-softpipe-gles3: |
| 590 | parallel: 2 |
Eric Anholt | 553cd82 | 2019-08-09 10:32:40 -0700 | [diff] [blame] | 591 | variables: |
| 592 | DEQP_VER: gles3 |
Eric Anholt | 52843ec | 2019-11-05 10:31:29 -0800 | [diff] [blame] | 593 | extends: test-softpipe-gles2 |
| 594 | |
| 595 | test-softpipe-gles31: |
| 596 | parallel: 4 |
| 597 | variables: |
| 598 | DEQP_VER: gles31 |
| 599 | extends: test-softpipe-gles2 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 600 | |
Michel Dänzer | 128581d | 2019-09-11 18:55:43 +0200 | [diff] [blame] | 601 | arm64_a630_gles2: |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 602 | extends: |
Samuel Pitoiset | 520a77d | 2019-11-18 09:15:12 +0100 | [diff] [blame] | 603 | - .deqp-test-gl |
Michel Dänzer | c6c7652 | 2019-11-11 18:13:28 +0100 | [diff] [blame] | 604 | - .use-arm_test |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 605 | variables: |
| 606 | DEQP_VER: gles2 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 607 | DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt |
| 608 | DEQP_SKIPS: deqp-freedreno-a630-skips.txt |
| 609 | NIR_VALIDATE: 0 |
Eric Anholt | dd76a6f | 2019-11-21 05:12:58 -0800 | [diff] [blame] | 610 | DEQP_PARALLEL: 4 |
Rob Clark | fdaf777 | 2019-11-17 11:33:01 -0800 | [diff] [blame] | 611 | FLAKES_CHANNEL: "#freedreno-ci" |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 612 | tags: |
| 613 | - mesa-cheza |
| 614 | dependencies: |
| 615 | - meson-arm64 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 616 | |
Michel Dänzer | 128581d | 2019-09-11 18:55:43 +0200 | [diff] [blame] | 617 | arm64_a630_gles31: |
| 618 | extends: arm64_a630_gles2 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 619 | variables: |
Michel Dänzer | 128581d | 2019-09-11 18:55:43 +0200 | [diff] [blame] | 620 | DEQP_VER: gles31 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 621 | |
| 622 | arm64_a630_gles3: |
Michel Dänzer | 128581d | 2019-09-11 18:55:43 +0200 | [diff] [blame] | 623 | extends: arm64_a630_gles2 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 624 | variables: |
| 625 | DEQP_VER: gles3 |
| 626 | |
Michel Dänzer | 128581d | 2019-09-11 18:55:43 +0200 | [diff] [blame] | 627 | arm64_a306_gles2: |
Michel Dänzer | 128581d | 2019-09-11 18:55:43 +0200 | [diff] [blame] | 628 | extends: arm64_a630_gles2 |
Eric Anholt | 6f0dc08 | 2019-06-28 16:35:32 -0700 | [diff] [blame] | 629 | variables: |
Michel Dänzer | 128581d | 2019-09-11 18:55:43 +0200 | [diff] [blame] | 630 | DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt |
| 631 | DEQP_SKIPS: deqp-default-skips.txt |
Michel Dänzer | 128581d | 2019-09-11 18:55:43 +0200 | [diff] [blame] | 632 | tags: |
| 633 | - db410c |
Samuel Pitoiset | c1a3627 | 2019-11-13 11:03:52 +0100 | [diff] [blame] | 634 | |
| 635 | # RADV CI |
| 636 | .test-radv: |
| 637 | variables: |
| 638 | VK_DRIVER: radeon |
Samuel Pitoiset | ff2e11b | 2019-12-06 17:07:35 +0100 | [diff] [blame] | 639 | RADV_DEBUG: checkir |
Samuel Pitoiset | c1a3627 | 2019-11-13 11:03:52 +0100 | [diff] [blame] | 640 | # Can only be triggered manually on personal branches because RADV is the only |
| 641 | # driver that does Vulkan testing at the moment. |
| 642 | rules: |
| 643 | # Never test RADV by default in the main project. |
| 644 | - if: '$CI_PROJECT_PATH == "mesa/mesa"' |
| 645 | when: never |
| 646 | # Never test RADV by default for merge requests. |
| 647 | - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME' |
| 648 | when: never |
| 649 | # Otherwise, allow testing RADV if the test image for VK has been manually |
| 650 | # started. |
| 651 | - when: on_success |
| 652 | |
| 653 | radv_polaris10_vkcts: |
| 654 | extends: |
| 655 | - .deqp-test-vk |
| 656 | - .test-radv |
| 657 | variables: |
| 658 | DEQP_PARALLEL: 4 |
| 659 | DEQP_SKIPS: deqp-radv-polaris10-skips.txt |
| 660 | tags: |
| 661 | - polaris10 |