summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
blob: d952fd28241bd3226d336d8ab6886ee2932c191f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
trigger:
- master

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: |
      sudo xcode-select -s /Applications/Xcode_10.2.app
      brew install ninja
      ninja -f ninja/macos.ninja
    displayName: '安装ninja'
  - script: |
      ./osx.sh
    displayName: '测试'