From 396074c59df8308d0207250c8e55b19d93db4a13 Mon Sep 17 00:00:00 2001 From: Sergi Blanch-Torne Date: Thu, 12 Jun 2025 10:03:26 +0200 Subject: [PATCH] ci: split hidden job definition for bare-metal and ci-tron MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The job definitions for lava-related jobs are encapsulated in a directory, while the other two farm managers were in the generic test directory. Having a directory for ci-tron places it side by side with other farm managers. For bare-metal, it has another advantage, as this encapsulates elements related to this farm manager in a single place. To maintain simplicity and consistency in file naming, the gitlab-ci file in the lava directory is renamed as it has a prefix that corresponds with the directory hosting it. The other farm equivalent files don't include this duplication as a prefix, and there isn't such a prefix in any other case of the CI. Signed-off-by: Sergi Blanch-Torne Acked-by: Martin Roukala (né Peres) Reviewed-by: Eric Engestrom Reviewed-by: Valentine Burley Part-of: --- .gitlab-ci.yml | 4 +- .gitlab-ci/bare-metal/gitlab-ci.yml | 130 +++++++ .gitlab-ci/ci-tron/gitlab-ci.yml | 210 +++++++++++ .../{lava-gitlab-ci.yml => gitlab-ci.yml} | 0 .gitlab-ci/test/gitlab-ci-inc.yml | 341 ------------------ 5 files changed, 343 insertions(+), 342 deletions(-) create mode 100644 .gitlab-ci/bare-metal/gitlab-ci.yml create mode 100644 .gitlab-ci/ci-tron/gitlab-ci.yml rename .gitlab-ci/lava/{lava-gitlab-ci.yml => gitlab-ci.yml} (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88b9d2d414f..de84d5250e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -213,7 +213,9 @@ include: ref: *ci-tron-template-commit file: '/.gitlab-ci/dut.yml' - local: '.gitlab-ci/image-tags.yml' - - local: '.gitlab-ci/lava/lava-gitlab-ci.yml' + - local: '.gitlab-ci/bare-metal/gitlab-ci.yml' + - local: '.gitlab-ci/ci-tron/gitlab-ci.yml' + - local: '.gitlab-ci/lava/gitlab-ci.yml' - local: '.gitlab-ci/container/gitlab-ci.yml' - local: '.gitlab-ci/build/gitlab-ci.yml' - local: '.gitlab-ci/test/gitlab-ci.yml' diff --git a/.gitlab-ci/bare-metal/gitlab-ci.yml b/.gitlab-ci/bare-metal/gitlab-ci.yml new file mode 100644 index 00000000000..891c2a6d46d --- /dev/null +++ b/.gitlab-ci/bare-metal/gitlab-ci.yml @@ -0,0 +1,130 @@ +.baremetal-test: + extends: + - .test + # Cancel job if a newer commit is pushed to the same branch + interruptible: true + before_script: + - !reference [.download_s3, before_script] + variables: + BM_ROOTFS: /rootfs-${DEBIAN_ARCH} + artifacts: + when: always + name: "${CI_PROJECT_NAME}_${CI_JOB_NAME_SLUG}" + paths: + - results/ + - serial*.txt + exclude: + - results/*.shader_cache + reports: + junit: results/junit.xml + +# ARM testing of bare-metal boards attached to an x86 gitlab-runner system +.baremetal-test-arm32-gl: + extends: + - .baremetal-test + - .use-debian/baremetal_arm32_test-gl + variables: + DEBIAN_ARCH: armhf + S3_ARTIFACT_NAME: mesa-arm32-default-debugoptimized + needs: + - job: debian/baremetal_arm32_test-gl + optional: true + - job: debian-arm32 + artifacts: false + - !reference [.required-for-hardware-jobs, needs] + +# ARM64 testing of bare-metal boards attached to an x86 gitlab-runner system +.baremetal-test-arm64-gl: + extends: + - .baremetal-test + - .use-debian/baremetal_arm64_test-gl + variables: + DEBIAN_ARCH: arm64 + S3_ARTIFACT_NAME: mesa-arm64-default-debugoptimized + needs: + - job: debian/baremetal_arm64_test-gl + optional: true + - job: debian-arm64 + artifacts: false + - !reference [.required-for-hardware-jobs, needs] + +# ARM64 testing of bare-metal boards attached to an x86 gitlab-runner system +.baremetal-test-arm64-vk: + extends: + - .baremetal-test + - .use-debian/baremetal_arm64_test-vk + variables: + DEBIAN_ARCH: arm64 + S3_ARTIFACT_NAME: mesa-arm64-default-debugoptimized + needs: + - job: debian/baremetal_arm64_test-vk + optional: true + - job: debian-arm64 + artifacts: false + - !reference [.required-for-hardware-jobs, needs] + +# ARM32/64 testing of bare-metal boards attached to an x86 gitlab-runner system, using an asan mesa build +.baremetal-arm32-asan-test-gl: + variables: + S3_ARTIFACT_NAME: mesa-arm32-asan-debugoptimized + DEQP_FORCE_ASAN: 1 + needs: + - job: debian/baremetal_arm32_test-gl + optional: true + - job: debian-arm32-asan + artifacts: false + - !reference [.required-for-hardware-jobs, needs] + +.baremetal-arm64-asan-test-gl: + variables: + S3_ARTIFACT_NAME: mesa-arm64-asan-debugoptimized + DEQP_FORCE_ASAN: 1 + needs: + - job: debian/baremetal_arm64_test-gl + optional: true + - job: debian-arm64-asan + artifacts: false + - !reference [.required-for-hardware-jobs, needs] + +.baremetal-arm64-asan-test-vk: + variables: + S3_ARTIFACT_NAME: mesa-arm64-asan-debugoptimized + DEQP_FORCE_ASAN: 1 + needs: + - job: debian/baremetal_arm64_test-vk + optional: true + - job: debian-arm64-asan + artifacts: false + - !reference [.required-for-hardware-jobs, needs] + +.baremetal-arm64-ubsan-test-gl: + extends: + - .baremetal-test + - .use-debian/baremetal_arm64_test-gl + variables: + S3_ARTIFACT_NAME: mesa-arm64-ubsan-debugoptimized + needs: + - job: debian/baremetal_arm64_test-gl + optional: true + - job: debian-arm64-ubsan + artifacts: false + - !reference [.required-for-hardware-jobs, needs] + +.baremetal-arm64-ubsan-test-vk: + extends: + - .baremetal-test + - .use-debian/baremetal_arm64_test-vk + variables: + S3_ARTIFACT_NAME: mesa-arm64-ubsan-debugoptimized + needs: + - job: debian/baremetal_arm64_test-vk + optional: true + - job: debian-arm64-ubsan + artifacts: false + - !reference [.required-for-hardware-jobs, needs] + +.baremetal-deqp-test: + variables: + HWCI_TEST_SCRIPT: "/install/deqp-runner.sh" + FDO_CI_CONCURRENT: 0 # Default to number of CPUs + diff --git a/.gitlab-ci/ci-tron/gitlab-ci.yml b/.gitlab-ci/ci-tron/gitlab-ci.yml new file mode 100644 index 00000000000..7781de1fee8 --- /dev/null +++ b/.gitlab-ci/ci-tron/gitlab-ci.yml @@ -0,0 +1,210 @@ +# For CI-tron based testing farm jobs. +.ci-tron-test: + extends: + - .ci-tron-b2c-job-v1 + variables: + GIT_STRATEGY: none + B2C_VERSION: v0.9.15.1 # Linux 6.13.7 + + SCRIPTS_DIR: install + + CI_TRON_PATTERN__JOB_SUCCESS__REGEX: 'hwci: mesa: exit_code: 0\r$' + CI_TRON_PATTERN__SESSION_END__REGEX: '^.*It''s now safe to turn off your computer\r$' + + CI_TRON_TIMEOUT__FIRST_CONSOLE_ACTIVITY__MINUTES: 2 + CI_TRON_TIMEOUT__FIRST_CONSOLE_ACTIVITY__RETRIES: 3 + CI_TRON_TIMEOUT__CONSOLE_ACTIVITY__MINUTES: 5 + + CI_TRON__B2C_ARTIFACT_EXCLUSION: "*.shader_cache,install/*,*/install/*,*/vkd3d-proton.cache*,vkd3d-proton.cache*,*.qpa" + CI_TRON_HTTP_ARTIFACT__INSTALL__PATH: "/install.tar.zst" + CI_TRON_HTTP_ARTIFACT__INSTALL__URL: "https://$PIPELINE_ARTIFACTS_BASE/$S3_ARTIFACT_NAME.tar.zst" + + CI_TRON__B2C_MACHINE_REGISTRATION_CMD: "setup --tags $CI_TRON_DUT_SETUP_TAGS" + CI_TRON__B2C_IMAGE_UNDER_TEST: $MESA_IMAGE + CI_TRON__B2C_EXEC_CMD: "curl --silent --fail-with-body {{ job.http.url }}$CI_TRON_HTTP_ARTIFACT__INSTALL__PATH | tar --zstd --extract && $SCRIPTS_DIR/common/init-stage2.sh" + + # Assume by default this is running deqp, as that's almost always true + HWCI_TEST_SCRIPT: install/deqp-runner.sh + + # Keep the job script in the artifacts + CI_TRON_JOB_SCRIPT_PATH: results/job_script.sh + needs: + - !reference [.required-for-hardware-jobs, needs] + tags: + - farm:$RUNNER_FARM_LOCATION + - $CI_TRON_DUT_SETUP_TAGS + + # Override the default before_script, as it is not compatible with the CI-tron environment. We just keep the clearing + # of the JWT token for security reasons + before_script: + - | + set -eu + + eval "$S3_JWT_FILE_SCRIPT" + + for var in CI_TRON_DUT_SETUP_TAGS; do + if [[ -z "$(eval echo \${$var:-})" ]]; then + echo "The required variable '$var' is missing" + exit 1 + fi + done + + # Open a section that will be closed by b2c + echo -e "\n\e[0Ksection_start:`date +%s`:b2c_kernel_boot[collapsed=true]\r\e[0K\e[0;36m[$(cut -d ' ' -f1 /proc/uptime)]: Submitting the CI-tron job and booting the DUT\e[0m\n" + + # Anything our job places in results/ will be collected by the + # Gitlab coordinator for status presentation. results/junit.xml + # will be parsed by the UI for more detailed explanations of + # test execution. + artifacts: + when: always + name: "${CI_PROJECT_NAME}_${CI_JOB_NAME_SLUG}" + paths: + - results + reports: + junit: results/**/junit.xml + +.ci-tron-x86_64-test: + extends: + - .ci-tron-test + variables: + CI_TRON_INITRAMFS__B2C__URL: 'https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/initramfs.linux_amd64.cpio.xz' + CI_TRON_KERNEL__URL: 'https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/linux-x86_64' + + # Set the following variables if you need AMD, Intel, or NVIDIA support + # CI_TRON_INITRAMFS__DEPMOD__URL: "https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/linux-x86_64.depmod.cpio.xz" + # CI_TRON_INITRAMFS__GPU__URL: "https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/linux-x86_64.gpu.cpio" + # CI_TRON_INITRAMFS__GPU__FORMAT__0__ARCHIVE__KEEP__0__PATH: "(lib/(modules|firmware/amdgpu)/.*)" + + S3_ARTIFACT_NAME: "mesa-x86_64-default-debugoptimized" + +.ci-tron-x86_64-test-vk: + extends: + - .use-debian/x86_64_test-vk + - .ci-tron-x86_64-test + needs: + - job: debian/x86_64_test-vk + artifacts: false + optional: true + - job: debian-x86_64 + artifacts: false + - !reference [.ci-tron-test, needs] + +.ci-tron-x86_64-test-vk-manual: + extends: + - .use-debian/x86_64_test-vk + - .ci-tron-x86_64-test + variables: + S3_ARTIFACT_NAME: "debian-build-x86_64" + needs: + - job: debian/x86_64_test-vk + artifacts: false + optional: true + - job: debian-build-x86_64 + artifacts: false + - !reference [.ci-tron-test, needs] + +.ci-tron-x86_64-test-gl: + extends: + - .use-debian/x86_64_test-gl + - .ci-tron-x86_64-test + needs: + - job: debian/x86_64_test-gl + artifacts: false + optional: true + - job: debian-x86_64 + artifacts: false + - !reference [.ci-tron-test, needs] + +.ci-tron-x86_64-test-gl-manual: + extends: + - .use-debian/x86_64_test-gl + - .ci-tron-x86_64-test + variables: + S3_ARTIFACT_NAME: "debian-build-x86_64" + needs: + - job: debian/x86_64_test-gl + artifacts: false + optional: true + - job: debian-build-x86_64 + artifacts: false + - !reference [.ci-tron-test, needs] + +.ci-tron-arm64-test: + extends: + - .ci-tron-test + variables: + CI_TRON_INITRAMFS__B2C__URL: 'https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/initramfs.linux_arm64.cpio.xz' + CI_TRON_KERNEL__URL: 'https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/linux-arm64' + S3_ARTIFACT_NAME: "mesa-arm64-default-debugoptimized" + +.ci-tron-arm64-test-vk: + extends: + - .use-debian/arm64_test-vk + - .ci-tron-arm64-test + needs: + - job: debian/arm64_test-vk + artifacts: false + optional: true + - job: debian-arm64 + artifacts: false + - !reference [.ci-tron-test, needs] + +.ci-tron-arm64-test-gl: + extends: + - .use-debian/arm64_test-gl + - .ci-tron-arm64-test + needs: + - job: debian/arm64_test-gl + artifacts: false + optional: true + - job: debian-arm64 + artifacts: false + - !reference [.ci-tron-test, needs] + +.ci-tron-arm32-test: + extends: + - .ci-tron-test + variables: + CI_TRON_INITRAMFS__B2C__URL: 'https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/initramfs.linux_arm.cpio.xz' + CI_TRON_KERNEL__URL: 'https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/linux-arm' + S3_ARTIFACT_NAME: "mesa-arm32-default-debugoptimized" + +.ci-tron-arm32-test-vk: + extends: + - .use-debian/arm32_test-vk + - .ci-tron-arm32-test + needs: + - job: debian/arm32_test-vk + artifacts: false + optional: true + - job: debian-arm32 + artifacts: false + - !reference [.ci-tron-test, needs] + +.ci-tron-arm32-test-gl: + extends: + - .use-debian/arm32_test-gl + - .ci-tron-arm32-test + needs: + - job: debian/arm32_test-gl + artifacts: false + optional: true + - job: debian-arm32 + artifacts: false + - !reference [.ci-tron-test, needs] + +.ci-tron-arm32-test-asan-gl: + extends: + - .use-debian/arm32_test-gl + - .ci-tron-arm32-test + variables: + S3_ARTIFACT_NAME: "mesa-arm32-asan-debugoptimized" + DEQP_FORCE_ASAN: 1 + needs: + - job: debian/arm32_test-gl + artifacts: false + optional: true + - job: debian-arm32-asan + artifacts: false + - !reference [.ci-tron-test, needs] diff --git a/.gitlab-ci/lava/lava-gitlab-ci.yml b/.gitlab-ci/lava/gitlab-ci.yml similarity index 100% rename from .gitlab-ci/lava/lava-gitlab-ci.yml rename to .gitlab-ci/lava/gitlab-ci.yml diff --git a/.gitlab-ci/test/gitlab-ci-inc.yml b/.gitlab-ci/test/gitlab-ci-inc.yml index d294da80f28..04d572e0888 100644 --- a/.gitlab-ci/test/gitlab-ci-inc.yml +++ b/.gitlab-ci/test/gitlab-ci-inc.yml @@ -182,344 +182,3 @@ - (set -x; curl -L --retry 4 -f --retry-all-errors --retry-delay 60 ${FDO_HTTP_CACHE_URI:-}https://${PIPELINE_ARTIFACTS_BASE}/${S3_ARTIFACT_NAME}.tar.zst | tar --zstd -x) - section_end artifacts_download -.baremetal-test: - extends: - - .test - # Cancel job if a newer commit is pushed to the same branch - interruptible: true - before_script: - - !reference [.download_s3, before_script] - variables: - BM_ROOTFS: /rootfs-${DEBIAN_ARCH} - artifacts: - when: always - name: "${CI_PROJECT_NAME}_${CI_JOB_NAME_SLUG}" - paths: - - results/ - - serial*.txt - exclude: - - results/*.shader_cache - reports: - junit: results/junit.xml - -# ARM testing of bare-metal boards attached to an x86 gitlab-runner system -.baremetal-test-arm32-gl: - extends: - - .baremetal-test - - .use-debian/baremetal_arm32_test-gl - variables: - DEBIAN_ARCH: armhf - S3_ARTIFACT_NAME: mesa-arm32-default-debugoptimized - needs: - - job: debian/baremetal_arm32_test-gl - optional: true - - job: debian-arm32 - artifacts: false - - !reference [.required-for-hardware-jobs, needs] - -# ARM64 testing of bare-metal boards attached to an x86 gitlab-runner system -.baremetal-test-arm64-gl: - extends: - - .baremetal-test - - .use-debian/baremetal_arm64_test-gl - variables: - DEBIAN_ARCH: arm64 - S3_ARTIFACT_NAME: mesa-arm64-default-debugoptimized - needs: - - job: debian/baremetal_arm64_test-gl - optional: true - - job: debian-arm64 - artifacts: false - - !reference [.required-for-hardware-jobs, needs] - -# ARM64 testing of bare-metal boards attached to an x86 gitlab-runner system -.baremetal-test-arm64-vk: - extends: - - .baremetal-test - - .use-debian/baremetal_arm64_test-vk - variables: - DEBIAN_ARCH: arm64 - S3_ARTIFACT_NAME: mesa-arm64-default-debugoptimized - needs: - - job: debian/baremetal_arm64_test-vk - optional: true - - job: debian-arm64 - artifacts: false - - !reference [.required-for-hardware-jobs, needs] - -# ARM32/64 testing of bare-metal boards attached to an x86 gitlab-runner system, using an asan mesa build -.baremetal-arm32-asan-test-gl: - variables: - S3_ARTIFACT_NAME: mesa-arm32-asan-debugoptimized - DEQP_FORCE_ASAN: 1 - needs: - - job: debian/baremetal_arm32_test-gl - optional: true - - job: debian-arm32-asan - artifacts: false - - !reference [.required-for-hardware-jobs, needs] - -.baremetal-arm64-asan-test-gl: - variables: - S3_ARTIFACT_NAME: mesa-arm64-asan-debugoptimized - DEQP_FORCE_ASAN: 1 - needs: - - job: debian/baremetal_arm64_test-gl - optional: true - - job: debian-arm64-asan - artifacts: false - - !reference [.required-for-hardware-jobs, needs] - -.baremetal-arm64-asan-test-vk: - variables: - S3_ARTIFACT_NAME: mesa-arm64-asan-debugoptimized - DEQP_FORCE_ASAN: 1 - needs: - - job: debian/baremetal_arm64_test-vk - optional: true - - job: debian-arm64-asan - artifacts: false - - !reference [.required-for-hardware-jobs, needs] - -.baremetal-arm64-ubsan-test-gl: - extends: - - .baremetal-test - - .use-debian/baremetal_arm64_test-gl - variables: - S3_ARTIFACT_NAME: mesa-arm64-ubsan-debugoptimized - needs: - - job: debian/baremetal_arm64_test-gl - optional: true - - job: debian-arm64-ubsan - artifacts: false - - !reference [.required-for-hardware-jobs, needs] - -.baremetal-arm64-ubsan-test-vk: - extends: - - .baremetal-test - - .use-debian/baremetal_arm64_test-vk - variables: - S3_ARTIFACT_NAME: mesa-arm64-ubsan-debugoptimized - needs: - - job: debian/baremetal_arm64_test-vk - optional: true - - job: debian-arm64-ubsan - artifacts: false - - !reference [.required-for-hardware-jobs, needs] - -.baremetal-deqp-test: - variables: - HWCI_TEST_SCRIPT: "/install/deqp-runner.sh" - FDO_CI_CONCURRENT: 0 # Default to number of CPUs - -# For CI-tron based testing farm jobs. -.ci-tron-test: - extends: - - .ci-tron-b2c-job-v1 - variables: - GIT_STRATEGY: none - B2C_VERSION: v0.9.15.1 # Linux 6.13.7 - - SCRIPTS_DIR: install - - CI_TRON_PATTERN__JOB_SUCCESS__REGEX: 'hwci: mesa: exit_code: 0\r$' - CI_TRON_PATTERN__SESSION_END__REGEX: '^.*It''s now safe to turn off your computer\r$' - - CI_TRON_TIMEOUT__FIRST_CONSOLE_ACTIVITY__MINUTES: 2 - CI_TRON_TIMEOUT__FIRST_CONSOLE_ACTIVITY__RETRIES: 3 - CI_TRON_TIMEOUT__CONSOLE_ACTIVITY__MINUTES: 5 - - CI_TRON__B2C_ARTIFACT_EXCLUSION: "*.shader_cache,install/*,*/install/*,*/vkd3d-proton.cache*,vkd3d-proton.cache*,*.qpa" - CI_TRON_HTTP_ARTIFACT__INSTALL__PATH: "/install.tar.zst" - CI_TRON_HTTP_ARTIFACT__INSTALL__URL: "https://$PIPELINE_ARTIFACTS_BASE/$S3_ARTIFACT_NAME.tar.zst" - - CI_TRON__B2C_MACHINE_REGISTRATION_CMD: "setup --tags $CI_TRON_DUT_SETUP_TAGS" - CI_TRON__B2C_IMAGE_UNDER_TEST: $MESA_IMAGE - CI_TRON__B2C_EXEC_CMD: "curl --silent --fail-with-body {{ job.http.url }}$CI_TRON_HTTP_ARTIFACT__INSTALL__PATH | tar --zstd --extract && $SCRIPTS_DIR/common/init-stage2.sh" - - # Assume by default this is running deqp, as that's almost always true - HWCI_TEST_SCRIPT: install/deqp-runner.sh - - # Keep the job script in the artifacts - CI_TRON_JOB_SCRIPT_PATH: results/job_script.sh - needs: - - !reference [.required-for-hardware-jobs, needs] - tags: - - farm:$RUNNER_FARM_LOCATION - - $CI_TRON_DUT_SETUP_TAGS - - # Override the default before_script, as it is not compatible with the CI-tron environment. We just keep the clearing - # of the JWT token for security reasons - before_script: - - | - set -eu - - eval "$S3_JWT_FILE_SCRIPT" - - for var in CI_TRON_DUT_SETUP_TAGS; do - if [[ -z "$(eval echo \${$var:-})" ]]; then - echo "The required variable '$var' is missing" - exit 1 - fi - done - - # Open a section that will be closed by b2c - echo -e "\n\e[0Ksection_start:`date +%s`:b2c_kernel_boot[collapsed=true]\r\e[0K\e[0;36m[$(cut -d ' ' -f1 /proc/uptime)]: Submitting the CI-tron job and booting the DUT\e[0m\n" - - # Anything our job places in results/ will be collected by the - # Gitlab coordinator for status presentation. results/junit.xml - # will be parsed by the UI for more detailed explanations of - # test execution. - artifacts: - when: always - name: "${CI_PROJECT_NAME}_${CI_JOB_NAME_SLUG}" - paths: - - results - reports: - junit: results/**/junit.xml - -.ci-tron-x86_64-test: - extends: - - .ci-tron-test - variables: - CI_TRON_INITRAMFS__B2C__URL: 'https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/initramfs.linux_amd64.cpio.xz' - CI_TRON_KERNEL__URL: 'https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/linux-x86_64' - - # Set the following variables if you need AMD, Intel, or NVIDIA support - # CI_TRON_INITRAMFS__DEPMOD__URL: "https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/linux-x86_64.depmod.cpio.xz" - # CI_TRON_INITRAMFS__GPU__URL: "https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/linux-x86_64.gpu.cpio" - # CI_TRON_INITRAMFS__GPU__FORMAT__0__ARCHIVE__KEEP__0__PATH: "(lib/(modules|firmware/amdgpu)/.*)" - - S3_ARTIFACT_NAME: "mesa-x86_64-default-debugoptimized" - -.ci-tron-x86_64-test-vk: - extends: - - .use-debian/x86_64_test-vk - - .ci-tron-x86_64-test - needs: - - job: debian/x86_64_test-vk - artifacts: false - optional: true - - job: debian-x86_64 - artifacts: false - - !reference [.ci-tron-test, needs] - -.ci-tron-x86_64-test-vk-manual: - extends: - - .use-debian/x86_64_test-vk - - .ci-tron-x86_64-test - variables: - S3_ARTIFACT_NAME: "debian-build-x86_64" - needs: - - job: debian/x86_64_test-vk - artifacts: false - optional: true - - job: debian-build-x86_64 - artifacts: false - - !reference [.ci-tron-test, needs] - -.ci-tron-x86_64-test-gl: - extends: - - .use-debian/x86_64_test-gl - - .ci-tron-x86_64-test - needs: - - job: debian/x86_64_test-gl - artifacts: false - optional: true - - job: debian-x86_64 - artifacts: false - - !reference [.ci-tron-test, needs] - -.ci-tron-x86_64-test-gl-manual: - extends: - - .use-debian/x86_64_test-gl - - .ci-tron-x86_64-test - variables: - S3_ARTIFACT_NAME: "debian-build-x86_64" - needs: - - job: debian/x86_64_test-gl - artifacts: false - optional: true - - job: debian-build-x86_64 - artifacts: false - - !reference [.ci-tron-test, needs] - -.ci-tron-arm64-test: - extends: - - .ci-tron-test - variables: - CI_TRON_INITRAMFS__B2C__URL: 'https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/initramfs.linux_arm64.cpio.xz' - CI_TRON_KERNEL__URL: 'https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/linux-arm64' - S3_ARTIFACT_NAME: "mesa-arm64-default-debugoptimized" - -.ci-tron-arm64-test-vk: - extends: - - .use-debian/arm64_test-vk - - .ci-tron-arm64-test - needs: - - job: debian/arm64_test-vk - artifacts: false - optional: true - - job: debian-arm64 - artifacts: false - - !reference [.ci-tron-test, needs] - -.ci-tron-arm64-test-gl: - extends: - - .use-debian/arm64_test-gl - - .ci-tron-arm64-test - needs: - - job: debian/arm64_test-gl - artifacts: false - optional: true - - job: debian-arm64 - artifacts: false - - !reference [.ci-tron-test, needs] - -.ci-tron-arm32-test: - extends: - - .ci-tron-test - variables: - CI_TRON_INITRAMFS__B2C__URL: 'https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/initramfs.linux_arm.cpio.xz' - CI_TRON_KERNEL__URL: 'https://gitlab.freedesktop.org/gfx-ci/boot2container/-/releases/$B2C_VERSION/downloads/linux-arm' - S3_ARTIFACT_NAME: "mesa-arm32-default-debugoptimized" - -.ci-tron-arm32-test-vk: - extends: - - .use-debian/arm32_test-vk - - .ci-tron-arm32-test - needs: - - job: debian/arm32_test-vk - artifacts: false - optional: true - - job: debian-arm32 - artifacts: false - - !reference [.ci-tron-test, needs] - -.ci-tron-arm32-test-gl: - extends: - - .use-debian/arm32_test-gl - - .ci-tron-arm32-test - needs: - - job: debian/arm32_test-gl - artifacts: false - optional: true - - job: debian-arm32 - artifacts: false - - !reference [.ci-tron-test, needs] - -.ci-tron-arm32-test-asan-gl: - extends: - - .use-debian/arm32_test-gl - - .ci-tron-arm32-test - variables: - S3_ARTIFACT_NAME: "mesa-arm32-asan-debugoptimized" - DEQP_FORCE_ASAN: 1 - needs: - - job: debian/arm32_test-gl - artifacts: false - optional: true - - job: debian-arm32-asan - artifacts: false - - !reference [.ci-tron-test, needs] -