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:
Andrey Lushnikov 2020-10-07 14:34:58 -07:00 committed by GitHub
parent 1ccce09a02
commit 6a7d24469a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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