Skip to content

Commit 9240d41

Browse files
Adding an azure-pipelines.yml file. (#101)
1 parent 19a14a7 commit 9240d41

File tree

2 files changed

+73
-0
lines changed

2 files changed

+73
-0
lines changed

LLVMSharp.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LLVMSharp.UnitTests", "test
4141
EndProject
4242
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{9BF3ABB4-8193-4E44-AD0D-82F4C40887E6}"
4343
ProjectSection(SolutionItems) = preProject
44+
scripts\azure-pipelines.yml = scripts\azure-pipelines.yml
4445
scripts\build.ps1 = scripts\build.ps1
4546
scripts\build.sh = scripts\build.sh
4647
scripts\cibuild.cmd = scripts\cibuild.cmd

scripts/azure-pipelines.yml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
trigger:
2+
- master
3+
4+
pr:
5+
- master
6+
7+
jobs:
8+
- job: windows_debug_x86
9+
pool:
10+
name: Hosted
11+
demands: Cmd
12+
steps:
13+
- task: BatchScript@1
14+
displayName: 'Run scripts/cibuild.cmd'
15+
inputs:
16+
filename: scripts/cibuild.cmd
17+
arguments: '-configuration Debug -architecture x86'
18+
19+
- job: windows_release_x86
20+
pool:
21+
name: Hosted
22+
demands: Cmd
23+
steps:
24+
- task: BatchScript@1
25+
displayName: 'Run scripts/cibuild.cmd'
26+
inputs:
27+
filename: scripts/cibuild.cmd
28+
arguments: '-configuration Release -architecture x86'
29+
30+
- job: windows_debug_x64
31+
pool:
32+
name: Hosted
33+
demands: Cmd
34+
steps:
35+
- task: BatchScript@1
36+
displayName: 'Run scripts/cibuild.cmd'
37+
inputs:
38+
filename: scripts/cibuild.cmd
39+
arguments: '-configuration Debug -architecture x64'
40+
41+
- job: windows_release_x64
42+
pool:
43+
name: Hosted
44+
demands: Cmd
45+
steps:
46+
- task: BatchScript@1
47+
displayName: 'Run scripts/cibuild.cmd'
48+
inputs:
49+
filename: scripts/cibuild.cmd
50+
arguments: '-configuration Release -architecture x64'
51+
52+
- job: ubuntu_1604_debug_x64
53+
pool:
54+
name: Hosted Ubuntu 1604
55+
steps:
56+
- task: Bash@3
57+
displayName: 'Run scripts/cibuild.sh'
58+
inputs:
59+
targetType: filePath
60+
filePath: ./scripts/cibuild.sh
61+
arguments: '--configuration Debug --architecture x64'
62+
63+
- job: ubuntu_1604_release_x64
64+
pool:
65+
name: Hosted Ubuntu 1604
66+
steps:
67+
- task: Bash@3
68+
displayName: 'Run scripts/cibuild.sh'
69+
inputs:
70+
targetType: filePath
71+
filePath: ./scripts/cibuild.sh
72+
arguments: '--configuration Release --architecture x64'

0 commit comments

Comments
 (0)