From f10d10ec9e5587a95253bbda0603a1c8443d1a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 28 Aug 2019 09:50:57 +0800 Subject: =?UTF-8?q?=E6=8A=84=E4=B8=80=E4=B8=AA=E5=8F=91=E5=B8=83=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- azure-pipelines.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'azure-pipelines.yml') diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 44535c1b..b0526509 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,6 +18,18 @@ jobs: - script: | 3rd\luamake\luamake.exe rebuild displayName: 'Compile' + - script: | + server\bin\lua-language-server.exe server\publish.lua + displayName: 'Publish' + - task: CopyFiles@2 + inputs: + Contents: '**' + SourceFolder: 'publish\lua-language-server' + TargetFolder: '$(Build.ArtifactStagingDirectory)' + - task: PublishBuildArtifacts@1 + inputs: + pathToPublish: $(Build.ArtifactStagingDirectory) + artifactName: lua-language-server - job: macos pool: @@ -39,6 +51,18 @@ jobs: - bash: | ./3rd/luamake/luamake rebuild displayName: 'Compile' + - bash: | + server/bin/lua-language-server server/publish.lua + displayName: 'Publish' + - task: CopyFiles@2 + inputs: + Contents: '**' + SourceFolder: 'publish/lua-language-server' + TargetFolder: '$(Build.ArtifactStagingDirectory)' + - task: PublishBuildArtifacts@1 + inputs: + pathToPublish: $(Build.ArtifactStagingDirectory) + artifactName: lua-language-server - job: linux pool: @@ -59,3 +83,15 @@ jobs: - bash: | ./3rd/luamake/luamake rebuild displayName: 'Compile' + - bash: | + server/bin/lua-language-server server/publish.lua + displayName: 'Publish' + - task: CopyFiles@2 + inputs: + Contents: '**' + SourceFolder: 'publish/lua-language-server' + TargetFolder: '$(Build.ArtifactStagingDirectory)' + - task: PublishBuildArtifacts@1 + inputs: + pathToPublish: $(Build.ArtifactStagingDirectory) + artifactName: lua-language-server -- cgit v1.2.3