feat: Add windows_mozconfig to alpha.yml workflow

This commit is contained in:
mauro 🤙
2024-05-09 18:53:07 +00:00
parent b8856a7552
commit 7781e6f5e9
2 changed files with 20 additions and 4 deletions

View File

@@ -252,10 +252,9 @@ jobs:
sudo apt install -y msitools python3-pip
./mach python --virtualenv build taskcluster/scripts/misc/get_vs.py build/vs/vs2019.yaml ~/win-cross/vs2019
chmod -R +x "$(echo ~)/win-cross/vs2019"
#? from daily-build-with-update
#? for resolve some problems relate to VCRuntime
#? from end
cat ../.github/src/windows_mozconfig >> mozconfig
cd ..
pnpm gluon bootstrap

17
.github/workflows/src/windows_mozconfig vendored Normal file
View File

@@ -0,0 +1,17 @@
export WIN_UCRT_REDIST_DIR="$(echo ~)/win-cross/vs2019/Windows Kits/10/Redist/10.0.19041.0/ucrt/DLLs/x64"
export WIN32_REDIST_DIR="$(echo ~)/win-cross/vs2019/VC/Redist/MSVC/14.29.30133/x64/Microsoft.VC142.CRT"
export WINSYSROOT="$(echo ~)/win-cross/vs2019"
export MIDL="$(echo ~)/win-cross/wine/bin/widl"
export WINE="$(echo ~)/win-cross/wine/bin/wine64"
export WINEDEBUG=-all
#? https://bugzilla.mozilla.org/show_bug.cgi?id=1617793
#? https://phabricator.services.mozilla.com/D170170
ac_add_options --target=x86_64-pc-windows-msvc
export MOZ_STUB_INSTALLER=1
export MOZ_LTO=cross