mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: fix firefox arm64 builds (#16157)
Turns out the `/etc/environment` is not read for non-login shells, so we have to source rust & cargo installation explicitly.
This commit is contained in:
parent
b34da61524
commit
1ef1e1f5bd
@ -212,6 +212,11 @@ elif [[ "$2" == "compile" ]]; then
|
||||
export CC=/usr/bin/clang-12
|
||||
export CXX=/usr/bin/clang++-12
|
||||
fi
|
||||
# For non-login non-interactive shells, we have to source
|
||||
# cargo env explicitly since /env/environment is not read.
|
||||
if [[ -f "$HOME/.cargo/env" ]]; then
|
||||
source "$HOME/.cargo/env"
|
||||
fi
|
||||
./browser_patches/checkout_build_archive_upload.sh "${BUILD_FLAVOR}"
|
||||
'
|
||||
elif [[ "$2" == "enter" || -z "$2" ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user