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