stages:
- container
+ - container-2
- meson-x86_64
- scons
- meson-misc
- .fdo.container-build@debian
- .container
variables:
- FDO_DISTRIBUTION_TAG: &x86_build "2020-05-18-baremetal-2"
+ FDO_DISTRIBUTION_TAG: &x86_build "2020-05-19"
.use-x86_build:
variables:
needs:
- x86_build
+# Debian 10 based x86 test image base
+x86_test-base:
+ extends: x86_build
+ variables:
+ FDO_DISTRIBUTION_TAG: &x86_test-base "2020-06-01"
+
+.use-x86_test-base:
+ extends:
+ - x86_build
+ - .ci-run-policy
+ stage: container-2
+ variables:
+ BASE_TAG: *x86_test-base
+ FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_test-base:$BASE_TAG"
+ needs:
+ - x86_test-base
+
# Debian 10 based x86 test image for GL
x86_test-gl:
- extends: x86_build
+ extends: .use-x86_test-base
variables:
- FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-05-18"
+ FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-06-01"
# Debian 10 based x86 test image for VK
x86_test-vk:
- extends: x86_build
+ extends: .use-x86_test-base
variables:
- FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-05-18"
+ FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-06-01"
# Debian 9 based x86 build image (old LLVM)
x86_build_old:
extends: x86_build
variables:
- FDO_DISTRIBUTION_TAG: &x86_build_old "2019-03-18-jflags"
+ FDO_DISTRIBUTION_TAG: &x86_build_old "2020-04-27"
FDO_DISTRIBUTION_VERSION: stretch-slim
.use-x86_build_old:
- .fdo.container-build@debian@arm64v8
- .container
variables:
- FDO_DISTRIBUTION_TAG: &arm_build "2020-05-14-baremetal-5"
+ FDO_DISTRIBUTION_TAG: &arm_build "2020-06-01"
.use-arm_build:
variables:
- arm_build
# x86 image with ARM rootfses for baremetal testing.
-x86_cross_arm_test:
- extends: x86_build
- variables:
- FDO_DISTRIBUTION_TAG: &x86_cross_arm_test "2020-05-13"
-
-.use-x86_cross_arm_test:
- variables:
- TAG: *x86_cross_arm_test
- image: "$CI_REGISTRY_IMAGE/debian/x86_cross_arm_test:$TAG"
- needs:
- - x86_cross_arm_test
-
-
-# Debian 10 based ARM test image
arm_test:
- extends: arm_build
+ extends: x86_build
variables:
- FDO_DISTRIBUTION_TAG: &arm_test "2020-03-18-jflags"
+ FDO_DISTRIBUTION_TAG: &arm_test "2020-06-01"
.use-arm_test:
variables:
TAG: *arm_test
image: "$CI_REGISTRY_IMAGE/debian/arm_test:$TAG"
needs:
- - arm_build
- - meson-arm64
- arm_test
# Native Windows docker builds
needs:
- x86_build
- meson-testing
+ - x86_test-base
- x86_test-gl
.test-vk:
needs:
- x86_build
- meson-testing
+ - x86_test-base
- x86_test-vk
.piglit-test:
arm64_a630_gles2:
extends:
- - .deqp-test-gl
- - .use-arm_test
- - .freedreno-rules
+ - arm64_a306_gles2
variables:
- DEQP_VER: gles2
+ BM_KERNEL: /lava-files/cheza-kernel
+ BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
DEQP_SKIPS: deqp-freedreno-a630-skips.txt
NIR_VALIDATE: 0
- DEQP_PARALLEL: 4
- FLAKES_CHANNEL: "#freedreno-ci"
DEQP_EXPECTED_RENDERER: FD630
+ DEQP_NO_SAVE_RESULTS: ""
tags:
- - mesa-cheza
- dependencies:
- - meson-arm64
+ - google-freedreno-cheza
+ script:
+ - .gitlab-ci/bare-metal/cros-servo.sh
arm64_a630_gles31:
extends: arm64_a630_gles2
variables:
DEQP_VER: gles3
-arm64_a630_gles31_options:
- extends: arm64_a630_gles2
+# We almost always manage to lower UBOs back to constant uploads in
+# the test suite, so get a little testing for it here.
+arm64_a630_noubo:
+ extends: arm64_a630_gles31
variables:
DEQP_VER: gles31
+ IR3_SHADER_DEBUG: nouboopt
+ DEQP_CASELIST_FILTER: "functional.*ubo"
+ DEQP_EXPECTED_FAILS: deqp-freedreno-a630-noubo-fails.txt
+
+# The driver does some guessing as to whether to render using gmem
+# or bypass, and some GLES3.1 features interact with either one.
+# Do a little testing with gmem and bypass forced.
+arm64_a630_bypass:
+ extends: arm64_a630_gles31
+ variables:
CI_NODE_INDEX: 1
CI_NODE_TOTAL: 5
- script:
- # We almost always manage to lower UBOs back to constant uploads in
- # the test suite, so get a little testing for it here.
- - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" DEQP_EXPECTED_FAILS=deqp-freedreno-a630-noubo-fails.txt CI_NODE_INDEX= ./install/deqp-runner.sh
- # The driver does some guessing as to whether to render using gmem
- # or bypass, and some GLES3.1 features interact with either one.
- # Do a little testing with gmem and bypass forced.
- - DEQP_RUN_SUFFIX=-bypass FD_MESA_DEBUG=nogmem DEQP_EXPECTED_FAILS=deqp-freedreno-a630-bypass-fails.txt ./install/deqp-runner.sh
- - DEQP_RUN_SUFFIX=-gmem FD_MESA_DEBUG=nobypass ./install/deqp-runner.sh
- # Check that we don't get obvious nir validation failures (though it's too expensive to run for the full CTS)
- - DEQP_RUN_SUFFIX=-validate NIR_VALIDATE=1 ./install/deqp-runner.sh
+ FD_MESA_DEBUG: nogmem
+ DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
+
+# Along with checking gmem path, check that we don't get obvious nir
+# validation failures (though it's too expensive to have it on for the
+# full CTS)
+arm64_a630_gmem:
+ extends: arm64_a630_gles31
+ variables:
+ CI_NODE_INDEX: 1
+ CI_NODE_TOTAL: 5
+ FD_MESA_DEBUG: nobypass
+ NIR_VALIDATE: 1
.baremetal-test:
extends:
- .ci-run-policy
stage: test
+ artifacts:
+ when: always
+ name: "mesa_${CI_JOB_NAME}"
+ paths:
+ - results/
+ - serial*.txt
arm64_a306_gles2:
extends:
- .baremetal-test
- - .use-x86_cross_arm_test
+ - .use-arm_test
- .freedreno-rules
variables:
BM_KERNEL: /lava-files/Image.gz
DEQP_VER: gles2
DEQP_PARALLEL: 4
DEQP_EXPECTED_RENDERER: FD307
+ # Since we can't get artifacts back yet, skip making them.
+ DEQP_NO_SAVE_RESULTS: 1
# NIR_VALIDATE=0 left intentionally unset as a3xx is fast enough at its small testsuite.
script:
- .gitlab-ci/bare-metal/fastboot.sh
needs:
- - x86_cross_arm_test
+ - arm_test
- arm_build
- meson-arm64
tags: