diff options
author | sumneko <sumneko@hotmail.com> | 2019-05-20 16:57:07 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-05-20 16:57:07 +0800 |
commit | f057b7e3ff521384a73720f7d34cd8ab33e04ddb (patch) | |
tree | 424224b907999ef2daebdeaa4cc2d462d2fdae60 /azure-pipelines.yml | |
parent | 07d501824f4d8993e78efc7a8cc9bcc8ada2a36e (diff) | |
download | lua-language-server-f057b7e3ff521384a73720f7d34cd8ab33e04ddb.zip |
分平台测试
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 50 |
1 files changed, 28 insertions, 22 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d23329cc..6165ef90 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,26 +1,32 @@ -# Starter pipeline -# Start with a minimal pipeline that you can customize to build and deploy your code. -# Add steps that build, run tests, deploy, and more: -# https://aka.ms/yaml - trigger: - master -pool: - name: Hosted VS2017 +jobs: +- job: windows_msvc + pool: + name: Hosted VS2017 + + steps: + - script: | + git submodule update --init --recursive + displayName: '拉取子模块' + - script: | + cd 3rd\luamake + tools\ninja -f ninja\msvc.ninja + + cd ..\.. + 3rd\luamake\luamake + displayName: '编译C模块' + - script: | + cd server + bin\lua-language-server.exe publish.lua + displayName: '测试' + +- job: macos + pool: + name: Hosted macOS -steps: -- script: | - git submodule update --init --recursive - displayName: '拉取子模块' -- script: | - cd 3rd\luamake - tools\ninja -f ninja\msvc.ninja - - cd ..\.. - 3rd\luamake\luamake - displayName: '编译C模块' -- script: | - cd server - bin\lua-language-server.exe publish.lua - displayName: '测试' + steps: + - script: | + osx.sh + displayName: '测试' |