blob: 5c185af7c05d6fe976d24b26bc9da37093c3c4e9 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
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 ../..
displayName: 'PreCompile'
- script: |
"./3rd/luamake/luamake" rebuild
displayName: 'Compile'
- job: macos
pool:
name: Hosted macOS
steps:
- bash: |
git submodule update --init --recursive
displayName: '拉取子模块'
- bash: |
sudo xcode-select -s /Applications/Xcode_10.2.app
brew install ninja
displayName: '安装ninja'
- bash: |
cd 3rd/luamake
ninja -f ninja/macos.ninja
cd ../..
displayName: 'PreCompile'
- 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'
|