+ DEBIAN_VERSION: buster-slim
+ REPO_SUFFIX: $CI_JOB_NAME
+ DEBIAN_EXEC: 'bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
+ # no need to pull the whole repo to build the container image
+ GIT_STRATEGY: none
+
+# Debian 10 based x86 build image
+x86_build:
+ extends:
+ - .debian@container-ifnot-exists
+ - .container
+ variables:
+ DEBIAN_TAG: &x86_build "2020-02-05"
+
+.use-x86_build:
+ variables:
+ TAG: *x86_build
+ image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
+ needs:
+ - x86_build
+
+# Debian 10 based x86 test image for GL
+x86_test-gl:
+ extends: x86_build
+ variables:
+ DEBIAN_TAG: &x86_test-gl "2020-01-30"
+
+# Debian 10 based x86 test image for VK
+x86_test-vk:
+ extends: x86_build
+ variables:
+ DEBIAN_TAG: &x86_test-vk "2020-01-14"
+ # Can only be triggered manually on personal branches because RADV is the only
+ # driver that does Vulkan testing at the moment.
+ rules:
+ # Never build the test image for VK by default in the main project.
+ - if: '$CI_PROJECT_PATH == "mesa/mesa"'
+ when: never
+ # Never build the test image for VK by default for merge requests.
+ - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
+ when: never
+ # Otherwise, allow building it manually for personal branches.
+ - when: manual
+
+
+# Debian 9 based x86 build image (old LLVM)
+x86_build_old:
+ extends: x86_build
+ variables:
+ DEBIAN_TAG: &x86_build_old "2019-09-18"
+ DEBIAN_VERSION: stretch-slim