chore: Update Windows profile build workflow to remove unnecessary steps and improve efficiency

This commit is contained in:
Mauro Balades
2024-07-24 00:35:06 +02:00
parent 67aa0dc732
commit 5ca89116e7
6 changed files with 33 additions and 32 deletions

View File

@@ -25,6 +25,13 @@ if test "$ZEN_RELEASE"; then
mk_add_options 'export CCACHE_CPP2=yes'
ac_add_options --with-ccache=/home/runner/.mozbuild/sccache/sccache
mk_add_options 'export SCCACHE_GHA_ENABLED=on'
# PGO may cause link errors on windows!
if ! test "$ZEN_CROSS_COMPILING"; then
# WE ARE JUST SUPPORTING PGO FOR LINUX!
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
fi
fi
# Disable telemetry and tracking