diff --git a/.github/workflows/windows-alpha-build.yml b/.github/workflows/windows-alpha-build.yml index ba6bf7699..120bc3a75 100644 --- a/.github/workflows/windows-alpha-build.yml +++ b/.github/workflows/windows-alpha-build.yml @@ -117,7 +117,7 @@ jobs: - uses: actions/download-artifact@v4 name: Download artifact if use profdata - if: !inputs.generate-gpo + if: ${{ !inputs.generate-gpo }} with: name: ${{ inputs.profile-data-path }} path: ~/artifact diff --git a/configs/common/mozconfig b/configs/common/mozconfig index f2ea3d3f0..3eff8de1f 100644 --- a/configs/common/mozconfig +++ b/configs/common/mozconfig @@ -77,10 +77,10 @@ if test "$ZEN_RELEASE"; then ac_add_options RUSTC_OPT_LEVEL="3" # PGO may cause link errors on windows! - #if ! test "$ZEN_CROSS_COMPILING"; then + if ! test "$ZEN_CROSS_COMPILING"; then export MOZ_PGO=1 ac_add_options MOZ_PGO=1 - #fi + fi mk_add_options 'export RUSTC_WRAPPER=/home/runner/.mozbuild/sccache/sccache' mk_add_options 'export CCACHE_CPP2=yes'