mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
Use latest hosted agent for CI (#3278)
* Use latest hosted agent for CI
This commit is contained in:
parent
d7e6ac6cfe
commit
e76dda6676
2 changed files with 14 additions and 23 deletions
|
@ -1,17 +0,0 @@
|
||||||
steps:
|
|
||||||
- script: |
|
|
||||||
git apply .ci/win.patch
|
|
||||||
choco install -y llvm
|
|
||||||
displayName: Windows Install LLVM
|
|
||||||
condition: eq( variables['Agent.OS'], 'Windows_NT' )
|
|
||||||
- script: |
|
|
||||||
clang --version
|
|
||||||
brew uninstall llvm
|
|
||||||
clang --version
|
|
||||||
displayName: macOS Uninstall LLVM
|
|
||||||
condition: eq( variables['Agent.OS'], 'Darwin' )
|
|
||||||
- script: |
|
|
||||||
sudo apt-get update -yqq
|
|
||||||
sudo apt-get install -yqq --no-install-recommends libncursesw5-dev libclang-dev clang
|
|
||||||
displayName: Linux Install Dependencies
|
|
||||||
condition: eq( variables['Agent.OS'], 'Linux' )
|
|
|
@ -31,7 +31,7 @@ variables:
|
||||||
jobs:
|
jobs:
|
||||||
- job: linux
|
- job: linux
|
||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-16.04
|
vmImage: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
servers:
|
servers:
|
||||||
|
@ -50,12 +50,15 @@ jobs:
|
||||||
CI_JOB: release
|
CI_JOB: release
|
||||||
PLATFORM: linux-amd64
|
PLATFORM: linux-amd64
|
||||||
steps:
|
steps:
|
||||||
- template: '.ci/install.yml'
|
- script: |
|
||||||
|
sudo apt-get update -yqq
|
||||||
|
sudo apt-get install -yqq --no-install-recommends libncursesw5-dev
|
||||||
|
displayName: Linux Install Dependencies
|
||||||
- template: '.ci/test.yml'
|
- template: '.ci/test.yml'
|
||||||
- template: '.ci/release.yml'
|
- template: '.ci/release.yml'
|
||||||
- job: macos
|
- job: macos
|
||||||
pool:
|
pool:
|
||||||
vmImage: macos-10.14
|
vmImage: macos-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
test:
|
test:
|
||||||
|
@ -64,12 +67,14 @@ jobs:
|
||||||
CI_JOB: release
|
CI_JOB: release
|
||||||
PLATFORM: macos
|
PLATFORM: macos
|
||||||
steps:
|
steps:
|
||||||
- template: '.ci/install.yml'
|
- script: |
|
||||||
|
brew uninstall llvm
|
||||||
|
displayName: macOS Uninstall LLVM
|
||||||
- template: '.ci/test.yml'
|
- template: '.ci/test.yml'
|
||||||
- template: '.ci/release.yml'
|
- template: '.ci/release.yml'
|
||||||
- job: windows
|
- job: windows
|
||||||
pool:
|
pool:
|
||||||
vmImage: windows-2019
|
vmImage: windows-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
test:
|
test:
|
||||||
|
@ -78,6 +83,9 @@ jobs:
|
||||||
CI_JOB: release
|
CI_JOB: release
|
||||||
PLATFORM: win-x64
|
PLATFORM: win-x64
|
||||||
steps:
|
steps:
|
||||||
- template: '.ci/install.yml'
|
- script: |
|
||||||
|
git apply .ci/win.patch
|
||||||
|
choco install -y llvm
|
||||||
|
displayName: Windows Install Dependencies
|
||||||
- template: '.ci/test.yml'
|
- template: '.ci/test.yml'
|
||||||
- template: '.ci/windows-release.yml'
|
- template: '.ci/windows-release.yml'
|
||||||
|
|
Loading…
Reference in a new issue