forked from zen-mod/ZEN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
33 lines (33 loc) · 985 Bytes
/
azure-pipelines.yml
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
jobs:
- job: Validate
pool:
vmImage: 'ubuntu-18.04'
steps:
- bash: |
python3 ./tools/sqf_validator.py
displayName: 'Validate SQF'
- bash: |
python3 ./tools/stringtable_validator.py
displayName: 'Validate Stringtables'
- bash: |
python3 ./tools/return_checker.py
displayName: 'Validate Return Types'
- job: Build
pool:
vmImage: 'vs2017-win2016'
steps:
- powershell: |
./tools/getArmake.ps1
displayName: 'Install armake'
- bash: |
make releaseCI
displayName: 'Build with armake'
- powershell: |
ls *.tar.gz
mv (ls *.tar.gz).Name $(Build.ArtifactStagingDirectory)
ls $(Build.ArtifactStagingDirectory)
displayName: 'Move tar to Artifact Directory'
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.ArtifactStagingDirectory)
artifactName: release