chore: Update Windows build workflows and language packs

This commit is contained in:
mauro-balades
2024-09-01 22:07:54 +02:00
parent 0fc27c755e
commit a374ab186a
2 changed files with 16 additions and 7 deletions

View File

@@ -130,6 +130,14 @@ jobs:
echo "" >> ../configs/common/mozconfig
echo "export MOZ_WINDOWS_RS_DIR=$(pwd)/windows-0.52.0" >> ../configs/common/mozconfig
- name: Import
env:
SURFER_COMPAT: ${{ matrix.generic == true }}
run: pnpm surfer import --verbose
- name: Build language packs
run: sh scripts/download-language-packs.sh
- uses: actions/download-artifact@v4
name: Download artifact if use profdata
if: ${{ !inputs.generate-gpo }}
@@ -143,13 +151,8 @@ jobs:
ls ~/artifact/en-US-${{ matrix.generic == true && 'generic' || 'specific' }}.log
ls ~/artifact/merged-${{ matrix.generic == true && 'generic' || 'specific' }}.profdata
- name: Import
env:
SURFER_COMPAT: ${{ matrix.generic == true }}
run: pnpm surfer import --verbose
- name: Build language packs
run: sh scripts/download-language-packs.sh
chmod +x ~/artifact/en-US-${{ matrix.generic == true && 'generic' || 'specific' }}.log
chmod +x ~/artifact/merged-${{ matrix.generic == true && 'generic' || 'specific' }}.profdata
- name: Build
env:
@@ -175,6 +178,11 @@ jobs:
ls ./dist
ls .
- name: 🐛 Debug Session
if: ${{ failure() }}
uses: Warpbuilds/gha-debug@v1.3
timeout-minutes: 15
- name: Move package for PGO upload
if: ${{ inputs.generate-gpo }}
run: |

View File

@@ -72,6 +72,7 @@ jobs:
echo 'ls /c/Users/runneradmin/.mozbuild/clang/bin' '' >> mozilla-build-run.sh
echo 'LLVM_PROFDATA=/c/Users/runneradmin/.mozbuild/clang/bin/llvm-profdata.exe JARLOG_FILE=en-US-${{ matrix.generic == true && 'generic' || 'specific' }}.log ./mach python build/pgo/profileserver.py --binary /c/artifact/zen/zen.exe' '' >> mozilla-build-run.sh
C:\mozilla-build\start-shell.bat $workspace_dir_current\mozilla-build-run.sh
- name: 🐛 Debug Session
if: ${{ failure() }}
uses: Warpbuilds/gha-debug@v1.3