Fixed workflow issues

This commit is contained in:
Mauro Balades
2024-07-21 09:56:52 +02:00
parent 6dac955cc7
commit e72f2e4245
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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'