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

This commit is contained in:
Mauro Balades
2024-07-24 11:51:56 +02:00
parent 1433d594c7
commit 17598a2725
3 changed files with 16 additions and 16 deletions

View File

@@ -30,15 +30,15 @@ export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
ac_add_options --disable-maintenance-service
ac_add_options --disable-bits-download
if test "$ZEN_GA_GENERATE_PROFILE"; then
mk_add_options "export MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0"
ac_add_options --enable-profile-generate=cross
ac_add_options --without-wasm-sandboxed-libraries
else
# ac_add_options --disable-profiling
# ac_add_options --enable-profile-use=cross
# ac_add_options --with-pgo-profile-path=$(echo ~)/artifact/merged.profdata
# ac_add_options --with-pgo-jarlog=$(echo ~)/artifact/en-US.log
fi
# if test "$ZEN_GA_GENERATE_PROFILE"; then
# mk_add_options "export MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0"
# ac_add_options --enable-profile-generate=cross
# ac_add_options --without-wasm-sandboxed-libraries
# else
# ac_add_options --disable-profiling
# ac_add_options --enable-profile-use=cross
# ac_add_options --with-pgo-profile-path=$(echo ~)/artifact/merged.profdata
# ac_add_options --with-pgo-jarlog=$(echo ~)/artifact/en-US.log
# fi
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE