forked from ThirteenAG/GTAIV.EFLC.FusionFix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
48 lines (42 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
trigger:
branches:
include:
- '*'
paths:
exclude:
- .appveyor.yml
pr:
branches:
include:
- '*'
paths:
exclude:
- .appveyor.yml
jobs:
- job:
pool:
vmImage: windows-latest
strategy:
matrix:
Release:
configuration: Release
Debug:
configuration: Debug
steps:
- script: |
git submodule update --init --recursive
premake5.bat
displayName: 'Before build'
- task: VSBuild@1
inputs:
solution: 'build\*.sln'
vsVersion: 'latest'
- script: |
copy bin\GTAIV.EFLC.FusionFix.asi data\plugins\GTAIV.EFLC.FusionFix.asi
7z a GTAIV.EFLC.FusionFix.Min.zip data\*
condition: and(succeeded(), eq(variables['Agent.JobName'], 'Release'))
displayName: 'After build'
- publish: GTAIV.EFLC.FusionFix.Min.zip
artifact: GTAIV.EFLC.FusionFix.Min.zip
condition: and(succeeded(), eq(variables['Agent.JobName'], 'Release'))
displayName: Publish artifact(s)