mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Merge pull request #22738 from atom/migrate-to-ubuntu-latest
Ubuntu 16.04 LTS environment is deprecated It will be removed on September 20, 2021. Migrate to ubuntu-latest instead.
This commit is contained in:
@@ -5,7 +5,7 @@ jobs:
|
||||
variables:
|
||||
ReleaseVersion: $[ dependencies.GetReleaseVersion.outputs['Version.ReleaseVersion'] ]
|
||||
pool:
|
||||
vmImage: ubuntu-16.04
|
||||
vmImage: ubuntu-18.04
|
||||
|
||||
steps:
|
||||
- template: templates/preparation.yml
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user