mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops(firefox): fix Firefox on Apple Silicon (#5272)
As per guide at https://docs.google.com/document/d/1N5yfEVEISofMmjAxfj3xXONGwyQYBSilsfXqux_M6TM/edit
This commit is contained in:
parent
b392c57a53
commit
11f570be61
@ -78,7 +78,12 @@ OBJ_FOLDER="obj-build-playwright"
|
||||
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig
|
||||
|
||||
if [[ $1 == "--full" ]]; then
|
||||
SHELL=/bin/sh ./mach bootstrap --application-choice=browser --no-interactive --no-system-changes
|
||||
if [[ "$(uname)" == "Darwin" && "$(uname -m)" == "arm64" ]]; then
|
||||
./mach artifact toolchain --from-build macosx64-node
|
||||
mv node "$HOME/.mozbuild"
|
||||
elif [[ "$(uname)" == "Darwin" || "$(uname)" == "Linux" ]]; then
|
||||
SHELL=/bin/sh ./mach bootstrap --application-choice=browser --no-interactive --no-system-changes
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! [[ -f "$HOME/.mozbuild/_virtualenvs/mach/bin/python" ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user