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