From 1adc3530b22cec4def8da157ad8181ee4d756408 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Fri, 25 Nov 2022 18:13:10 -0700 Subject: [PATCH] CI: Install gcc-12 for Android nightly CI job This *also* got missed in the gcc-12 update, because we weren't installing an explicit gcc version prior. Hopefully that's the last of the long tail of issues from that migration! --- Meta/Azure/Setup.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Meta/Azure/Setup.yml b/Meta/Azure/Setup.yml index 21aaf77d24..97fc47f662 100644 --- a/Meta/Azure/Setup.yml +++ b/Meta/Azure/Setup.yml @@ -39,5 +39,7 @@ steps: - ${{ if eq(parameters.os, 'Android') }}: - script: | - sudo apt-get install ccache ninja-build unzip + sudo apt-get install ccache gcc-12 g++-12 libstdc++-12-dev ninja-build unzip + sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100 + sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 100 displayName: 'Install Dependencies'