Use latest AP hosted agents (#371)

* Use latest AP hosted agents

* Simplify CI structure
This commit is contained in:
Quentin Le Sceller 2020-03-26 09:39:33 -04:00 committed by GitHub
parent c42d5ddcff
commit dceeda93be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 20 deletions

View file

@ -1,14 +0,0 @@
steps:
- script: |
choco install -y llvm
displayName: Windows Install LLVM
condition: eq( variables['Agent.OS'], 'Windows_NT' )
- script: |
sudo apt-get update -yqq
sudo apt-get install -yqq --no-install-recommends libclang-dev clang
displayName: Linux Install Dependencies
condition: eq( variables['Agent.OS'], 'Linux' )
- script: |
brew uninstall llvm
displayName: macOS Uninstall LLVM
condition: eq( variables['Agent.OS'], 'Darwin' )

View file

@ -30,7 +30,7 @@ variables:
jobs:
- job: linux
pool:
vmImage: ubuntu-16.04
vmImage: ubuntu-latest
strategy:
matrix:
config/libwallet/api:
@ -46,12 +46,11 @@ jobs:
CI_JOB: release
PLATFORM: linux-amd64
steps:
- template: '.ci/install.yml'
- template: '.ci/test.yml'
- template: '.ci/release.yml'
- job: macos
pool:
vmImage: macos-10.14
vmImage: macos-latest
strategy:
matrix:
test:
@ -60,12 +59,14 @@ jobs:
CI_JOB: release
PLATFORM: macos
steps:
- template: '.ci/install.yml'
- script: |
brew uninstall llvm
displayName: macOS Uninstall LLVM
- template: '.ci/test.yml'
- template: '.ci/release.yml'
- job: windows
pool:
vmImage: windows-2019
vmImage: windows-latest
strategy:
matrix:
test:
@ -74,6 +75,8 @@ jobs:
CI_JOB: release
PLATFORM: win-x64
steps:
- template: '.ci/install.yml'
- script: |
choco install -y llvm
displayName: Windows Install LLVM
- template: '.ci/test.yml'
- template: '.ci/windows-release.yml'