summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authoractboy168 <actboy168@gmail.com>2019-07-04 10:10:48 +0800
committeractboy168 <actboy168@gmail.com>2019-07-04 10:10:48 +0800
commit33402bc6bfe670ee00b0d7f89dea031aefb15f50 (patch)
tree5e94f0144ff8b4779b03e5d17d024ed0dd5f3125 /azure-pipelines.yml
parent0d58507c38157fe08fd9ded90f738998ca7135d2 (diff)
downloadlua-language-server-33402bc6bfe670ee00b0d7f89dea031aefb15f50.zip
更新CI
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml25
1 files changed, 12 insertions, 13 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 03a77760..44535c1b 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -2,61 +2,60 @@ trigger:
- master
jobs:
-- job: windows_msvc
+- job: windows
pool:
- name: Hosted VS2017
+ vmImage: 'windows-latest'
steps:
- script: |
git submodule update --init --recursive
- displayName: '拉取子模块'
+ displayName: 'Init'
- script: |
cd 3rd\luamake
tools\ninja.exe -f ninja\msvc.ninja
cd ..\..
- displayName: 'PreCompile'
+ displayName: 'Compile luamake'
- script: |
3rd\luamake\luamake.exe rebuild
displayName: 'Compile'
- job: macos
pool:
- name: Hosted macOS
+ vmImage: 'macos-latest'
steps:
- bash: |
git submodule update --init --recursive
- displayName: '拉取子模块'
+ displayName: 'Init'
- bash: |
sudo xcode-select -s /Applications/Xcode_10.2.app
brew install ninja
- displayName: '安装ninja'
+ displayName: 'Install'
- bash: |
cd 3rd/luamake
ninja -f ninja/macos.ninja
cd ../..
- displayName: 'PreCompile'
+ displayName: 'Compile luamake'
- bash: |
./3rd/luamake/luamake rebuild
displayName: 'Compile'
- job: linux
pool:
- name: Hosted Ubuntu 1604
+ vmImage: 'ubuntu-latest'
steps:
- bash: |
git submodule update --init --recursive
- displayName: '拉取子模块'
+ displayName: 'Init'
- bash: |
- sudo apt-get update
sudo apt-get install -y libreadline-dev ninja-build
- displayName: '安装ninja'
+ displayName: 'Install'
- bash: |
cd 3rd/luamake
ninja -f ninja/linux.ninja
cd ../..
- displayName: 'PreCompile'
+ displayName: 'Compile luamake'
- bash: |
./3rd/luamake/luamake rebuild
displayName: 'Compile'