- softpipe
- freedreno
- panfrost
- - misc-tests
+ - radv
+ - lima
- success
x86_test-vk:
extends: x86_build
variables:
- FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-03-16"
+ FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-03-27"
# Debian 9 based x86 build image (old LLVM)
x86_build_old:
- .fdo.container-ifnot-exists@debian@arm64v8
- .container
variables:
- FDO_DISTRIBUTION_TAG: &arm_build "2020-03-13"
+ FDO_DISTRIBUTION_TAG: &arm_build "2020-03-24"
.use-arm_build:
variables:
- meson-arm64
- arm_test
+# Native Windows docker builds
+#
+# Unlike the above Linux-based builds - including MinGW/SCons builds which
+# cross-compile for Windows - which use the freedesktop ci-templates, we
+# cannot use the same scheme here. As Windows lacks support for
+# Docker-in-Docker, and Podman does not run natively on Windows, we have
+# to open-code much of the same ourselves.
+#
+# This is achieved by first running in a native Windows shell instance
+# (host PowerShell) in the container stage to build and push the image,
+# then in the build stage by executing inside Docker.
+
+.windows-docker-vs2019:
+ variables:
+ WINDOWS_TAG: "2020-03-24"
+ WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
+ WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
+
+windows_build_vs2019:
+ extends:
+ - .container
+ - .windows-docker-vs2019
+ stage: container
+ variables:
+ GIT_STRATEGY: fetch # we do actually need the full repository though
+ tags:
+ - windows
+ - shell
+ - "1809"
+ script:
+ - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
+
+.use-windows_build_vs2019:
+ extends: .windows-docker-vs2019
+ image: "$WINDOWS_IMAGE"
+ needs:
+ - windows_build_vs2019
# BUILD
.build-windows:
extends: .build-common
tags:
- - mesa-windows
+ - windows
+ - docker
+ - "1809"
cache:
key: ${CI_JOB_NAME}
paths:
CC: "ccache clang-9"
CXX: "ccache clang++-9"
-.meson-windows:
+meson-windows-vs2019:
extends:
- .build-windows
+ - .use-windows_build_vs2019
stage: meson-misc
- before_script:
- - $ENV:ARCH = "x86"
- - $ENV:VERSION = "2019\Community"
script:
- - cmd /C .gitlab-ci\meson-build.bat
+ - . .\.gitlab-ci\windows\mesa_build.ps1
scons-win64:
extends: .scons-build
meson-s390x:
extends:
- .meson-cross
+ tags:
+ - kvm
variables:
CROSS: s390x
GALLIUM_DRIVERS: "swrast"
LIBGL_ALWAYS_SOFTWARE: 1
PIGLIT_NO_WINDOW: 1
script:
- - artifacts/piglit/run.sh
+ - install/piglit/run.sh
piglit-quick_gl:
extends: .piglit-test
variables:
DEQP_SKIPS: deqp-default-skips.txt
script:
- - ./artifacts/deqp-runner.sh
+ - ./install/deqp-runner.sh
.deqp-test-gl:
extends:
.fossilize-test:
extends: .test-vk
script:
- - ./artifacts/fossilize-runner.sh
+ - ./install/fossilize-runner.sh
llvmpipe-gles2:
variables:
DEQP_VER: gles31
extends: softpipe-gles2
+# Rules for tests that should not be present in MRs or the main
+# project's pipeline (don't block marge or report red on
+# mesa/mesamaster) but should be present on pipelines in personal
+# branches (so you can opt in to running the flaky test when you want
+# to).
+.test-manual:
+ rules:
+ # Never test in the main project.
+ - if: '$CI_PROJECT_PATH == "mesa/mesa"'
+ when: never
+ # Never test in merge requests.
+ - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
+ when: never
+ # Otherwise, allow testing manually for personal branches.
+ - when: manual
+
arm64_a630_gles2:
extends:
- .deqp-test-gl
extends:
- .baremetal-test
- .use-arm_build
- stage: freedreno
+ - .freedreno-rules
variables:
- BM_KERNEL: /lava-files/Image
+ BM_KERNEL: /lava-files/Image.gz
BM_DTB: /lava-files/apq8016-sbc.dtb
BM_ROOTFS: /lava-files/rootfs-arm64
BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
- google-freedreno-db410c
# Disabled due to flaky results
-.arm64_a306_gles3:
+arm64_a306_gles3:
extends:
- arm64_a306_gles2
+ - .test-manual
parallel: 8
variables:
DEQP_VER: gles3
+arm64_a530_gles2:
+ extends:
+ - arm64_a306_gles2
+ stage: freedreno
+ variables:
+ BM_KERNEL: /lava-files/db820c-kernel
+ BM_DTB: /lava-files/db820c.dtb
+ BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
+ DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
+ DEQP_SKIPS: deqp-freedreno-a530-skips.txt
+ tags:
+ - google-freedreno-db820c
+
+arm64_a530_gles3:
+ extends:
+ - arm64_a530_gles2
+ - .test-manual
+ parallel: 6
+ variables:
+ DEQP_VER: gles3
+
# RADV CI
.test-radv:
extends: .radv-rules
- stage: misc-tests
+ stage: radv
variables:
VK_DRIVER: radeon
RADV_DEBUG: checkir
-.test-radv-unsafe:
- extends: .test-radv
- # Can only be triggered manually on personal branches because RADV is the only
- # driver that does Vulkan testing at the moment.
- rules:
- # Never test RADV by default in the main project.
- - if: '$CI_PROJECT_PATH == "mesa/mesa"'
- when: never
- # Never test RADV by default for merge requests.
- - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
- when: never
- # Otherwise, allow testing RADV manually for personal branches.
- - when: manual
-
.test-radv-fossilize:
extends:
- .fossilize-test
- .test-radv
+ script:
+ - ./install/fossilize-runner.sh
+ - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
+# Can only be triggered manually on personal branches because RADV is the only
+# driver that does Vulkan testing at the moment.
radv_polaris10_vkcts:
extends:
- .deqp-test-vk
- - .test-radv-unsafe
+ - .test-radv
+ - .test-manual
variables:
DEQP_SKIPS: deqp-radv-polaris10-skips.txt
tags:
- polaris10
-radv-polaris10-fossils:
- extends: .test-radv-fossilize
- variables:
- RADV_FORCE_FAMILY: "polaris10" # Force creating a null device
+radv-fossils:
+ extends:
+ - .fossilize-test
+ - .test-radv
+ script:
+ # Polaris10
+ - export RADV_FORCE_FAMILY="polaris10"
+ - ./install/fossilize-runner.sh
+ - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
+ # Vega10
+ - export RADV_FORCE_FAMILY="gfx900"
+ - ./install/fossilize-runner.sh
+ - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
+ # Navi10
+ - export RADV_FORCE_FAMILY="gfx1010"
+ - ./install/fossilize-runner.sh
+ - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
# Traces CI
.traces-test:
- stage: misc-tests
cache:
key: ${CI_JOB_NAME}
paths:
- .test-gl
- .traces-test
script:
- - ./artifacts/tracie-runner-gl.sh
+ - ./install/tracie-runner-gl.sh
.traces-test-vk:
extends:
- .test-vk
- .traces-test
script:
- - ./artifacts/tracie-runner-vk.sh
+ - ./install/tracie-runner-vk.sh
llvmpipe-traces:
extends:
radv-polaris10-traces:
extends:
- .traces-test-vk
- - .test-radv-unsafe
+ - .test-radv
+ - .test-manual
variables:
DEVICE_NAME: "vk-amd-polaris10"
tags: