mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 13:50:11 +01:00
ci: avoid running hardware jobs if there are already trivial issues
Suggested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Signed-off-by: Eric Engestrom <eric@igalia.com> Acked-by: Daniel Stone <daniels@collabora.com> Acked-by: David Heidelberg <david.heidelberg@collabora.com> Acked-by: Jesse Natalie <jenatali@microsoft.com> Acked-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23774>
This commit is contained in:
parent
feaa12c7c6
commit
a1c1cce9df
2 changed files with 19 additions and 0 deletions
|
|
@ -249,3 +249,12 @@ sanity:
|
|||
when: on_failure
|
||||
reports:
|
||||
junit: check-*.xml
|
||||
|
||||
|
||||
# Jobs that need to pass before spending hardware resources on further testing
|
||||
.required-for-hardware-jobs:
|
||||
needs:
|
||||
- job: clang-format
|
||||
optional: true
|
||||
- job: rustfmt
|
||||
optional: true
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ clang-format:
|
|||
needs:
|
||||
- debian/x86_64_test-gl
|
||||
- debian-testing
|
||||
- !reference [.required-for-hardware-jobs, needs]
|
||||
|
||||
.test-vk:
|
||||
extends:
|
||||
|
|
@ -63,6 +64,7 @@ clang-format:
|
|||
needs:
|
||||
- debian-testing
|
||||
- debian/x86_64_test-vk
|
||||
- !reference [.required-for-hardware-jobs, needs]
|
||||
|
||||
.test-cl:
|
||||
extends:
|
||||
|
|
@ -70,6 +72,7 @@ clang-format:
|
|||
- .use-debian/x86_64_test-gl
|
||||
needs:
|
||||
- debian/x86_64_test-gl
|
||||
- !reference [.required-for-hardware-jobs, needs]
|
||||
|
||||
.test-android:
|
||||
extends:
|
||||
|
|
@ -84,6 +87,7 @@ clang-format:
|
|||
artifacts: false # The Android build will be downloaded later
|
||||
- job: debian/x86_64_test-android
|
||||
artifacts: false
|
||||
- !reference [.required-for-hardware-jobs, needs]
|
||||
timeout: 20m
|
||||
script:
|
||||
- ./install/cuttlefish-runner.sh
|
||||
|
|
@ -196,6 +200,7 @@ clang-format:
|
|||
- debian/arm32_test
|
||||
- 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:
|
||||
|
|
@ -209,6 +214,7 @@ clang-format:
|
|||
- debian/arm64_test
|
||||
- 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:
|
||||
|
|
@ -222,6 +228,7 @@ clang-format:
|
|||
- debian/arm32_test
|
||||
- job: debian-arm32-asan
|
||||
artifacts: false
|
||||
- !reference [.required-for-hardware-jobs, needs]
|
||||
|
||||
.baremetal-arm64-asan-test:
|
||||
extends:
|
||||
|
|
@ -234,6 +241,7 @@ clang-format:
|
|||
- debian/arm64_test
|
||||
- job: debian-arm64-asan
|
||||
artifacts: false
|
||||
- !reference [.required-for-hardware-jobs, needs]
|
||||
|
||||
.baremetal-deqp-test:
|
||||
variables:
|
||||
|
|
@ -389,6 +397,7 @@ clang-format:
|
|||
needs:
|
||||
- debian/x86_64_test-vk
|
||||
- debian-testing
|
||||
- !reference [.required-for-hardware-jobs, needs]
|
||||
|
||||
.b2c-test-gl:
|
||||
extends:
|
||||
|
|
@ -397,3 +406,4 @@ clang-format:
|
|||
needs:
|
||||
- debian/x86_64_test-gl
|
||||
- debian-testing
|
||||
- !reference [.required-for-hardware-jobs, needs]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue