summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml116
1 files changed, 0 insertions, 116 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
deleted file mode 100644
index aebf9ccb..00000000
--- a/azure-pipelines.yml
+++ /dev/null
@@ -1,116 +0,0 @@
-trigger:
-- master
-
-jobs:
-- job: windows
- pool:
- vmImage: 'windows-latest'
-
- steps:
- - script: |
- git submodule update --init --recursive
- displayName: 'Init'
- - script: |
- cd 3rd\luamake
- tools\ninja.exe -f ninja\msvc.ninja
- cd ..\..
- displayName: 'Compile luamake'
- - script: |
- 3rd\luamake\luamake.exe rebuild
- displayName: 'Compile'
- - script: |
- cd client
- npm install
- cd ..
- displayName: 'Install Client'
- - script: |
- server\Windows\bin\lua.exe server\publish.lua
- displayName: 'Publish'
- - task: CopyFiles@2
- inputs:
- Contents: '**'
- SourceFolder: 'publish\lua'
- TargetFolder: '$(Build.ArtifactStagingDirectory)'
- - task: PublishBuildArtifacts@1
- inputs:
- pathToPublish: $(Build.ArtifactStagingDirectory)
- artifactName: sumneko.lua-windows
-
-- job: macos
- pool:
- vmImage: 'macos-latest'
-
- steps:
- - bash: |
- git submodule update --init --recursive
- displayName: 'Init'
- - bash: |
- sudo xcode-select -s /Applications/Xcode_10.2.app
- brew install ninja
- displayName: 'Install'
- - bash: |
- cd 3rd/luamake
- ninja -f ninja/macos.ninja
- cd ../..
- displayName: 'Compile luamake'
- - bash: |
- rm -r server/macOS/*
- ./3rd/luamake/luamake rebuild
- displayName: 'Compile'
- - bash: |
- cd client
- npm install
- cd ..
- displayName: 'Install Client'
- - bash: |
- ./server/macOS/bin/lua server/publish.lua
- displayName: 'Publish'
- - task: CopyFiles@2
- inputs:
- Contents: '**'
- SourceFolder: 'publish/lua'
- TargetFolder: '$(Build.ArtifactStagingDirectory)'
- - task: PublishBuildArtifacts@1
- inputs:
- pathToPublish: $(Build.ArtifactStagingDirectory)
- artifactName: sumneko.lua-macos
-
-- job: linux
- pool:
- vmImage: 'ubuntu-latest'
-
- steps:
- - bash: |
- git submodule update --init --recursive
- displayName: 'Init'
- - bash: |
- sudo apt-get update
- sudo apt-get install -y libreadline-dev ninja-build
- sudo apt-get install -y g++-8
- displayName: 'Install'
- - bash: |
- cd 3rd/luamake
- ninja -f ninja/linux.ninja
- cd ../..
- displayName: 'Compile luamake'
- - bash: |
- rm -r server/Linux/*
- ./3rd/luamake/luamake rebuild
- displayName: 'Compile'
- - bash: |
- cd client
- npm install
- cd ..
- displayName: 'Install Client'
- - bash: |
- ./server/Linux/bin/lua server/publish.lua
- displayName: 'Publish'
- - task: CopyFiles@2
- inputs:
- Contents: '**'
- SourceFolder: 'publish/lua'
- TargetFolder: '$(Build.ArtifactStagingDirectory)'
- - task: PublishBuildArtifacts@1
- inputs:
- pathToPublish: $(Build.ArtifactStagingDirectory)
- artifactName: sumneko.lua-linux