ci/build: Do not do LTO on any pre-merge job
Running LTO on pre-merge can be time-consuming, especially on (over)loaded CI. Let's keep it in nightly jobs to ensure coverage without causing timeouts in pre-merge pipelines. Signed-off-by: David Heidelberg <david@ixit.cz> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31790>
This commit is contained in:

committed by
Marge Bot

parent
72b5e4045b
commit
562b80cf69
@@ -117,12 +117,7 @@ case $CI_PIPELINE_SOURCE in
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
# run Fedora with LTO in pre-merge for now
|
LTO=false
|
||||||
if [ "$CI_JOB_NAME" == "fedora-release" ]; then
|
|
||||||
LTO=true
|
|
||||||
else
|
|
||||||
LTO=false
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user