ci: close individual build sections by default
In the normal case, what we care about is how long the various builds take, and in the special case when something fails to build we can click to open the section and see the error. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670>
This commit is contained in:
parent
4ec3840184
commit
83c022fe5d
17 changed files with 20 additions and 20 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
set -uex
|
||||
|
||||
uncollapsed_section_start apitrace "Building apitrace"
|
||||
section_start apitrace "Building apitrace"
|
||||
|
||||
APITRACE_VERSION="45a005875d348b055d5b88dca285c109dee90457"
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
# DEBIAN_BUILD_TAG
|
||||
# FEDORA_X86_64_BUILD_TAG
|
||||
|
||||
uncollapsed_section_start bindgen "Building bindgen"
|
||||
section_start bindgen "Building bindgen"
|
||||
|
||||
BINDGEN_VER=0.71.1
|
||||
CBINDGEN_VER=0.26.0
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
set -uex
|
||||
|
||||
uncollapsed_section_start directx-headers "Building directx-headers"
|
||||
section_start directx-headers "Building directx-headers"
|
||||
|
||||
git clone https://github.com/microsoft/DirectX-Headers -b v1.618.1 --depth 1
|
||||
pushd DirectX-Headers
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
set -ex
|
||||
|
||||
uncollapsed_section_start fossilize "Building fossilize"
|
||||
section_start fossilize "Building fossilize"
|
||||
|
||||
git clone https://github.com/ValveSoftware/Fossilize.git
|
||||
cd Fossilize
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
set -ex
|
||||
|
||||
uncollapsed_section_start kdl "Building kdl"
|
||||
section_start kdl "Building kdl"
|
||||
|
||||
KDL_REVISION="42218ba7297a28d64ddd1d4b5f200a60b3659d42"
|
||||
KDL_CHECKOUT_DIR="/tmp/ci-kdl.git"
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -uex
|
||||
|
||||
uncollapsed_section_start libclc "Building libclc"
|
||||
section_start libclc "Building libclc"
|
||||
|
||||
export LLVM_CONFIG="llvm-config-${LLVM_VERSION:?"llvm unset!"}"
|
||||
LLVM_TAG="llvmorg-15.0.7"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
set -uex
|
||||
|
||||
uncollapsed_section_start libdrm "Building libdrm"
|
||||
section_start libdrm "Building libdrm"
|
||||
|
||||
export LIBDRM_VERSION=libdrm-2.4.122
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -ex
|
||||
|
||||
uncollapsed_section_start llvm-spirv "Building LLVM-SPIRV-Translator"
|
||||
section_start llvm-spirv "Building LLVM-SPIRV-Translator"
|
||||
|
||||
if [ "${LLVM_VERSION:?llvm version not set}" -ge 18 ]; then
|
||||
VER="${LLVM_VERSION}.1.0"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
set -ex
|
||||
|
||||
uncollapsed_section_start shader-db "Building shader-db"
|
||||
section_start shader-db "Building shader-db"
|
||||
|
||||
pushd /usr/local
|
||||
git clone https://gitlab.freedesktop.org/mesa/shader-db.git --depth 1
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
set -uex
|
||||
|
||||
uncollapsed_section_start skqp "Building SkQP"
|
||||
section_start skqp "Building SkQP"
|
||||
|
||||
SKQP_BRANCH=android-cts-12.1_r5
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
set -uex
|
||||
|
||||
uncollapsed_section_start vulkan-validation "Building Vulkan validation layers"
|
||||
section_start vulkan-validation "Building Vulkan validation layers"
|
||||
|
||||
VALIDATION_TAG="snapshot-2026wk06"
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
set -uex
|
||||
|
||||
uncollapsed_section_start wayland "Building Wayland"
|
||||
section_start wayland "Building Wayland"
|
||||
|
||||
# When changing this file, you need to bump the following
|
||||
# .gitlab-ci/image-tags.yml tags:
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
set -uex
|
||||
|
||||
uncollapsed_section_start xwayland "Building XWayland"
|
||||
section_start xwayland "Building XWayland"
|
||||
|
||||
# When changing this file, you need to bump the following
|
||||
# .gitlab-ci/image-tags.yml tags:
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ set -e
|
|||
|
||||
set -o xtrace
|
||||
|
||||
uncollapsed_section_start debian_setup "Base Debian system setup"
|
||||
section_start debian_setup "Base Debian system setup"
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
|
@ -242,7 +242,7 @@ fi
|
|||
|
||||
############### Uninstall the build software
|
||||
|
||||
uncollapsed_section_switch debian_cleanup "Cleaning up base Debian system"
|
||||
section_switch debian_cleanup "Cleaning up base Debian system"
|
||||
|
||||
apt-get purge -y "${EPHEMERAL[@]}"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ set -e
|
|||
|
||||
set -o xtrace
|
||||
|
||||
uncollapsed_section_start debian_setup "Base Debian system setup"
|
||||
section_start debian_setup "Base Debian system setup"
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
: "${LLVM_VERSION:?llvm version not set!}"
|
||||
|
|
@ -123,7 +123,7 @@ fi
|
|||
|
||||
############### Uninstall the build software
|
||||
|
||||
uncollapsed_section_switch debian_cleanup "Cleaning up base Debian system"
|
||||
section_switch debian_cleanup "Cleaning up base Debian system"
|
||||
|
||||
apt-get purge -y "${EPHEMERAL[@]}"
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ set -e
|
|||
|
||||
set -o xtrace
|
||||
|
||||
uncollapsed_section_start debian_setup "Base Debian system setup"
|
||||
section_start debian_setup "Base Debian system setup"
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
|
|
@ -119,7 +119,7 @@ fi
|
|||
|
||||
############### Uninstall the build software
|
||||
|
||||
uncollapsed_section_switch debian_cleanup "Cleaning up base Debian system"
|
||||
section_switch debian_cleanup "Cleaning up base Debian system"
|
||||
|
||||
apt-get purge -y "${EPHEMERAL[@]}"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -u
|
||||
|
||||
uncollapsed_section_start wine "Setting up Wine"
|
||||
section_start wine "Setting up Wine"
|
||||
|
||||
export WINEPREFIX="$1"
|
||||
export WINEDEBUG="-all"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue