Update CI workflows to conditionally use optimized runners and adjust LTO settings based on release branch

This commit is contained in:
mr. M
2025-01-06 12:59:34 +01:00
parent 8a695bc1e2
commit edb6dc9248
7 changed files with 22 additions and 28 deletions

View File

@@ -54,8 +54,14 @@ if test "$ZEN_RELEASE"; then
ac_add_options --disable-default-browser-agent
if ! test "$ZEN_DISABLE_LTO"; then
export MOZ_LTO=cross,thin
ac_add_options --enable-lto=cross,thin
# only enable full LTO when ZEN_RELEASE_BRANCH is 'release'
if test "$ZEN_RELEASE_BRANCH" = "release"; then
export MOZ_LTO=cross,full
ac_add_options --enable-lto=cross,full
else
export MOZ_LTO=cross,thin
ac_add_options --enable-lto=cross,thin
fi
fi
ac_add_options --enable-jemalloc