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:

committed by
Marge Bot

parent
feaa12c7c6
commit
a1c1cce9df
@@ -249,3 +249,12 @@ sanity:
|
|||||||
when: on_failure
|
when: on_failure
|
||||||
reports:
|
reports:
|
||||||
junit: check-*.xml
|
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:
|
needs:
|
||||||
- debian/x86_64_test-gl
|
- debian/x86_64_test-gl
|
||||||
- debian-testing
|
- debian-testing
|
||||||
|
- !reference [.required-for-hardware-jobs, needs]
|
||||||
|
|
||||||
.test-vk:
|
.test-vk:
|
||||||
extends:
|
extends:
|
||||||
@@ -63,6 +64,7 @@ clang-format:
|
|||||||
needs:
|
needs:
|
||||||
- debian-testing
|
- debian-testing
|
||||||
- debian/x86_64_test-vk
|
- debian/x86_64_test-vk
|
||||||
|
- !reference [.required-for-hardware-jobs, needs]
|
||||||
|
|
||||||
.test-cl:
|
.test-cl:
|
||||||
extends:
|
extends:
|
||||||
@@ -70,6 +72,7 @@ clang-format:
|
|||||||
- .use-debian/x86_64_test-gl
|
- .use-debian/x86_64_test-gl
|
||||||
needs:
|
needs:
|
||||||
- debian/x86_64_test-gl
|
- debian/x86_64_test-gl
|
||||||
|
- !reference [.required-for-hardware-jobs, needs]
|
||||||
|
|
||||||
.test-android:
|
.test-android:
|
||||||
extends:
|
extends:
|
||||||
@@ -84,6 +87,7 @@ clang-format:
|
|||||||
artifacts: false # The Android build will be downloaded later
|
artifacts: false # The Android build will be downloaded later
|
||||||
- job: debian/x86_64_test-android
|
- job: debian/x86_64_test-android
|
||||||
artifacts: false
|
artifacts: false
|
||||||
|
- !reference [.required-for-hardware-jobs, needs]
|
||||||
timeout: 20m
|
timeout: 20m
|
||||||
script:
|
script:
|
||||||
- ./install/cuttlefish-runner.sh
|
- ./install/cuttlefish-runner.sh
|
||||||
@@ -196,6 +200,7 @@ clang-format:
|
|||||||
- debian/arm32_test
|
- debian/arm32_test
|
||||||
- job: debian-arm32
|
- job: debian-arm32
|
||||||
artifacts: false
|
artifacts: false
|
||||||
|
- !reference [.required-for-hardware-jobs, needs]
|
||||||
|
|
||||||
# ARM64 testing of bare-metal boards attached to an x86 gitlab-runner system
|
# ARM64 testing of bare-metal boards attached to an x86 gitlab-runner system
|
||||||
.baremetal-test-arm64:
|
.baremetal-test-arm64:
|
||||||
@@ -209,6 +214,7 @@ clang-format:
|
|||||||
- debian/arm64_test
|
- debian/arm64_test
|
||||||
- job: debian-arm64
|
- job: debian-arm64
|
||||||
artifacts: false
|
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
|
# ARM32/64 testing of bare-metal boards attached to an x86 gitlab-runner system, using an asan mesa build
|
||||||
.baremetal-arm32-asan-test:
|
.baremetal-arm32-asan-test:
|
||||||
@@ -222,6 +228,7 @@ clang-format:
|
|||||||
- debian/arm32_test
|
- debian/arm32_test
|
||||||
- job: debian-arm32-asan
|
- job: debian-arm32-asan
|
||||||
artifacts: false
|
artifacts: false
|
||||||
|
- !reference [.required-for-hardware-jobs, needs]
|
||||||
|
|
||||||
.baremetal-arm64-asan-test:
|
.baremetal-arm64-asan-test:
|
||||||
extends:
|
extends:
|
||||||
@@ -234,6 +241,7 @@ clang-format:
|
|||||||
- debian/arm64_test
|
- debian/arm64_test
|
||||||
- job: debian-arm64-asan
|
- job: debian-arm64-asan
|
||||||
artifacts: false
|
artifacts: false
|
||||||
|
- !reference [.required-for-hardware-jobs, needs]
|
||||||
|
|
||||||
.baremetal-deqp-test:
|
.baremetal-deqp-test:
|
||||||
variables:
|
variables:
|
||||||
@@ -389,6 +397,7 @@ clang-format:
|
|||||||
needs:
|
needs:
|
||||||
- debian/x86_64_test-vk
|
- debian/x86_64_test-vk
|
||||||
- debian-testing
|
- debian-testing
|
||||||
|
- !reference [.required-for-hardware-jobs, needs]
|
||||||
|
|
||||||
.b2c-test-gl:
|
.b2c-test-gl:
|
||||||
extends:
|
extends:
|
||||||
@@ -397,3 +406,4 @@ clang-format:
|
|||||||
needs:
|
needs:
|
||||||
- debian/x86_64_test-gl
|
- debian/x86_64_test-gl
|
||||||
- debian-testing
|
- debian-testing
|
||||||
|
- !reference [.required-for-hardware-jobs, needs]
|
||||||
|
Reference in New Issue
Block a user