summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-06-10 22:04:57 +0800
committersumneko <sumneko@hotmail.com>2019-06-10 22:04:57 +0800
commit319b2630ff9e177a224bf0b1579a7881fb29081f (patch)
treea6276b8a3b46d0a57e52c650b869b45df9dd0961
parentfd4bcd8fd2d3f0268b0729e1aa6b9c3bbc282cce (diff)
downloadlua-language-server-319b2630ff9e177a224bf0b1579a7881fb29081f.zip
更新一下
-rw-r--r--README.md4
-rw-r--r--azure-pipelines.yml23
2 files changed, 23 insertions, 4 deletions
diff --git a/README.md b/README.md
index ab382a38..1875fa61 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,7 @@
# lua-language-server
| Windows | [![Build Status](https://dev.azure.com/sumneko/lua-language-server/_apis/build/status/sumneko.lua-language-server?branchName=master&jobName=windows_msvc)](https://dev.azure.com/sumneko/lua-language-server/_build/latest?definitionId=1&branchName=master) |
-| ------- | ----- |
-| Linux | [![Build status](https://ci.appveyor.com/api/projects/status/0tng1g72fssvu9rr/branch/master?svg=true)](https://ci.appveyor.com/project/sumneko/vscode-lua-language-server/branch/master) |
-| ------- | ----- |
+| Linux | [![Build Status](https://dev.azure.com/sumneko/lua-language-server/_apis/build/status/sumneko.lua-language-server?branchName=master&jobName=linux)](https://dev.azure.com/sumneko/lua-language-server/_build/latest?definitionId=1&branchName=master) |
| macOs | [![Build Status](https://dev.azure.com/sumneko/lua-language-server/_apis/build/status/sumneko.lua-language-server?branchName=master&jobName=macos)](https://dev.azure.com/sumneko/lua-language-server/_build/latest?definitionId=1&branchName=master) |
## Feature
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 4deb6405..f7107279 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -16,7 +16,7 @@ jobs:
cd ../..
displayName: 'PreCompile'
- script: |
- ./3rd/luamake/luamake rebuild
+ 3rd/luamake/luamake rebuild
displayName: 'Compile'
- job: macos
@@ -39,3 +39,24 @@ jobs:
- bash: |
./3rd/luamake/luamake rebuild
displayName: 'Compile'
+
+- job: linux
+ pool:
+ name: Hosted Ubuntu 1604
+
+ steps:
+ - bash: |
+ git submodule update --init --recursive
+ displayName: '拉取子模块'
+ - bash: |
+ sudo apt-get update
+ sudo apt-get install -y libreadline-dev ninja-build
+ displayName: '安装ninja'
+ - bash: |
+ cd 3rd/luamake
+ ninja -f ninja/linux.ninja
+ cd ../..
+ displayName: 'PreCompile'
+ - bash: |
+ ./3rd/luamake/luamake rebuild
+ displayName: 'Compile'