mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-09 22:40:37 +02:00
ci: abort init-stage2.sh early if install dir is missing
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35740>
This commit is contained in:
parent
e77c984cef
commit
3f5d4eac5f
1 changed files with 5 additions and 0 deletions
|
|
@ -97,6 +97,11 @@ if [ -n "$HWCI_ENABLE_X86_KVM" ]; then
|
|||
modprobe ${KVM_KERNEL_MODULE}
|
||||
fi
|
||||
|
||||
if ! [ -e /install/ ] && ! [ -e $CI_PROJECT_DIR/install/ ]; then
|
||||
echo "Missing install/ dir"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Fix prefix confusion: the build installs to $CI_PROJECT_DIR, but we expect
|
||||
# it in /install
|
||||
ln -sf $CI_PROJECT_DIR/install /install
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue