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