Update to ubuntu 20 (#87)
This commit is contained in:
Родитель
6d33c53060
Коммит
2fc39827db
|
@ -26,7 +26,7 @@ jobs:
|
|||
${{ if eq(parameters.agentOs, 'macOS') }}:
|
||||
vmImage: macOS-11
|
||||
${{ if eq(parameters.agentOs, 'Linux') }}:
|
||||
vmImage: ubuntu-18.04
|
||||
vmImage: ubuntu-20.04
|
||||
${{ if eq(parameters.agentOs, 'Windows') }}:
|
||||
vmImage: windows-2019
|
||||
steps:
|
||||
|
|
|
@ -50,7 +50,7 @@ stages:
|
|||
- bash: "./submodules/vcpkg/bootstrap-vcpkg.sh --allowAppleClang"
|
||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||
displayName: Bootstrap vcpkg
|
||||
- bash: "./submodules/vcpkg/vcpkg install cpprestsdk[websockets] msgpack"
|
||||
- bash: "./submodules/vcpkg/vcpkg install cpprestsdk[websockets] msgpack --vcpkg-root ./submodules/vcpkg"
|
||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||
displayName: vcpkg install dependencies
|
||||
|
||||
|
@ -109,7 +109,7 @@ stages:
|
|||
- bash: "./submodules/vcpkg/bootstrap-vcpkg.sh"
|
||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||
displayName: Bootstrap vcpkg
|
||||
- bash: "./submodules/vcpkg/vcpkg install msgpack"
|
||||
- bash: "./submodules/vcpkg/vcpkg install msgpack --vcpkg-root ./submodules/vcpkg"
|
||||
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||
displayName: vcpkg install dependencies
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче