update CI to ubuntu 20.04

This commit is contained in:
milek7
2023-05-26 17:58:26 +02:00
parent 8ec7dd7731
commit 5ca133162d

View File

@@ -22,17 +22,14 @@ jobs:
artifactName: shaders
displayName: 'Publish shaders'
- job: ubuntu1804
- job: ubuntu2004
pool:
vmImage: 'Ubuntu-18.04'
displayName: 'Ubuntu 18.04 x86-64'
vmImage: 'Ubuntu-20.04'
displayName: 'Ubuntu 20.04 x86-64'
steps:
- script: |
sudo apt-get update -y
sudo apt-get install -y libglfw3-dev python2.7-dev libpng-dev libopenal-dev libluajit-5.1-dev libserialport-dev libsndfile1-dev
sudo apt-get install -y gcc-8 g++-8
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 100
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 100
cd ref
git clone "https://github.com/chriskohlhoff/asio" --depth 1 --branch asio-1-12-2 -q
displayName: 'Install dependencies'