summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
blob: c034f0456360e25e9876dc51f145fd3f0ebfcbf6 (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
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:
  - bash: |
      sudo xcode-select -s /Applications/Xcode_10.2.app
      brew install ninja
    displayName: '安装ninja'
  - bash: |
      ./osx.sh
    displayName: '测试'