Merge pull request #22741 from mfonville/migrate-to-ubuntu-latest

For glibc compatibility use Ubuntu 18.04 as environment
This commit is contained in:
Sadick 2021-07-19 18:45:56 +03:00 committed by GitHub
commit b074765522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View File

@ -5,7 +5,7 @@ jobs:
variables:
ReleaseVersion: $[ dependencies.GetReleaseVersion.outputs['Version.ReleaseVersion'] ]
pool:
vmImage: ubuntu-latest
vmImage: ubuntu-18.04
steps:
- template: templates/preparation.yml

View File

@ -3,12 +3,7 @@ steps:
# Linux Specific
- script: |
sudo apt-get update
sudo apt-get install -y build-essential ca-certificates xvfb fakeroot git libsecret-1-dev libx11-dev libxkbfile-dev xz-utils xorriso zsync libxss1 libgtk-3-0 libasound2 libicu-dev software-properties-common wget
# rpm needs to be at least 4.13, in xenial it is too old
sudo apt-add-repository -y 'deb http://azure.archive.ubuntu.com/ubuntu/ bionic main universe'
sudo apt-add-repository -y 'deb http://azure.archive.ubuntu.com/ubuntu/ bionic-security main universe'
sudo apt-get update
sudo apt-get install -y rpm
sudo apt-get install -y build-essential ca-certificates xvfb fakeroot git rpm libsecret-1-dev libx11-dev libxkbfile-dev xz-utils xorriso zsync libxss1 libgtk-3-0 libasound2 libicu-dev software-properties-common wget
# clang 9 is included in the image
clang -v
displayName: Install apt dependencies