devops: fix firefox build (#4088)
New firefox build requires a pre-created python virtual environment. We should detect it and create if necessary. References #3995
This commit is contained in:
parent
1ccce09a02
commit
6a7d24469a
|
|
@ -1,2 +1,2 @@
|
|||
1187
|
||||
Changed: lushnikov@chromium.org Wed Oct 7 13:30:11 PDT 2020
|
||||
1188
|
||||
Changed: lushnikov@chromium.org Wed Oct 7 14:29:11 PDT 2020
|
||||
|
|
|
|||
|
|
@ -41,6 +41,10 @@ fi
|
|||
OBJ_FOLDER="obj-build-playwright"
|
||||
echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig
|
||||
|
||||
if ! [[ -f "$HOME/.mozbuild/_virtualenvs/mach/bin/python" ]]; then
|
||||
./mach create-mach-environment
|
||||
fi
|
||||
|
||||
if [[ $1 == "--juggler" ]]; then
|
||||
./mach build faster
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue