From 26bd611cc790ccce99b0aec94ad2559b7094a5a5 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Fri, 24 May 2024 22:58:10 +0800 Subject: [PATCH] check twice --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0402d2d138..6f951115e9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -93,8 +93,8 @@ jobs: - bash: | sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa - sudo apt-get update - sudo apt-get install gcc-14 g++-14 + sudo apt update + sudo apt install gcc-14 g++-14 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 60 --slave /usr/bin/g++ g++ /usr/bin/g++-14 displayName: 'Install dependencies (amd64 Linux gcc 14)' condition: and(succeeded(), eq(variables['skipci'], 'false'), eq(variables['Agent.OS'], 'Linux'), eq(variables['CPU'], 'amd64'), eq(variables['vmImage'], 'ubuntu-latest'))