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