devops: fix Firefox beta on Ubuntu 22.04 arm64 compilation (#16220)

This commit is contained in:
Andrey Lushnikov 2022-08-03 11:56:48 -07:00 committed by GitHub
parent 8aa31bcf4b
commit 4a5be4934f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ function ensure_docker_container {
gcc \
unzip
if [[ "${BUILD_FLAVOR}" == "firefox-ubuntu-22.04-arm64" ]]; then
if [[ "${BUILD_FLAVOR}" == "firefox-ubuntu-22.04-arm64" || "${BUILD_FLAVOR}" == "firefox-beta-ubuntu-22.04-arm64" ]]; then
apt-get install -y clang-14
elif [[ "${BUILD_FLAVOR}" == *"-arm64" ]]; then
apt-get install -y clang-12
@ -209,7 +209,7 @@ elif [[ "$2" == "compile" ]]; then
if [[ "${BUILD_FLAVOR}" == "webkit-ubuntu-18.04" ]]; then
export CC=/usr/bin/gcc-8
export CXX=/usr/bin/g++-8
elif [[ "${BUILD_FLAVOR}" == "firefox-ubuntu-22.04-arm64" ]]; then
elif [[ "${BUILD_FLAVOR}" == "firefox-ubuntu-22.04-arm64" || "${BUILD_FLAVOR}" == "firefox-beta-ubuntu-22.04-arm64" ]]; then
export CC=/usr/bin/clang-14
export CXX=/usr/bin/clang++-14
elif [[ "${BUILD_FLAVOR}" == *"-arm64" ]]; then