mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
devops: fix Firefox build on Apple Silicon (#7068)
This commit is contained in:
parent
49a8f67c0f
commit
eda097f5e5
@ -82,11 +82,7 @@ echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig
|
||||
echo "ac_add_options --disable-crashreporter" >> .mozconfig
|
||||
|
||||
if [[ $1 == "--full" || $2 == "--full" ]]; then
|
||||
if [[ "$(uname)" == "Darwin" && "$(uname -m)" == "arm64" ]]; then
|
||||
./mach artifact toolchain --from-build macosx64-node
|
||||
rm -rf "$HOME/.mozbuild/node"
|
||||
mv node "$HOME/.mozbuild/"
|
||||
elif [[ "$(uname)" == "Darwin" || "$(uname)" == "Linux" ]]; then
|
||||
if [[ "$(uname)" == "Darwin" || "$(uname)" == "Linux" ]]; then
|
||||
SHELL=/bin/sh ./mach --no-interactive bootstrap --application-choice=browser
|
||||
fi
|
||||
if [[ ! -z "${WIN32_REDIST_DIR}" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user