Skip to content

Commit

Permalink
Adding an azure-pipelines.yml file. (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
tannergooding authored Jun 6, 2019
1 parent 19a14a7 commit 9240d41
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
1 change: 1 addition & 0 deletions LLVMSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LLVMSharp.UnitTests", "test
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripts", "scripts", "{9BF3ABB4-8193-4E44-AD0D-82F4C40887E6}"
ProjectSection(SolutionItems) = preProject
scripts\azure-pipelines.yml = scripts\azure-pipelines.yml
scripts\build.ps1 = scripts\build.ps1
scripts\build.sh = scripts\build.sh
scripts\cibuild.cmd = scripts\cibuild.cmd
Expand Down
72 changes: 72 additions & 0 deletions scripts/azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
trigger:
- master

pr:
- master

jobs:
- job: windows_debug_x86
pool:
name: Hosted
demands: Cmd
steps:
- task: BatchScript@1
displayName: 'Run scripts/cibuild.cmd'
inputs:
filename: scripts/cibuild.cmd
arguments: '-configuration Debug -architecture x86'

- job: windows_release_x86
pool:
name: Hosted
demands: Cmd
steps:
- task: BatchScript@1
displayName: 'Run scripts/cibuild.cmd'
inputs:
filename: scripts/cibuild.cmd
arguments: '-configuration Release -architecture x86'

- job: windows_debug_x64
pool:
name: Hosted
demands: Cmd
steps:
- task: BatchScript@1
displayName: 'Run scripts/cibuild.cmd'
inputs:
filename: scripts/cibuild.cmd
arguments: '-configuration Debug -architecture x64'

- job: windows_release_x64
pool:
name: Hosted
demands: Cmd
steps:
- task: BatchScript@1
displayName: 'Run scripts/cibuild.cmd'
inputs:
filename: scripts/cibuild.cmd
arguments: '-configuration Release -architecture x64'

- job: ubuntu_1604_debug_x64
pool:
name: Hosted Ubuntu 1604
steps:
- task: Bash@3
displayName: 'Run scripts/cibuild.sh'
inputs:
targetType: filePath
filePath: ./scripts/cibuild.sh
arguments: '--configuration Debug --architecture x64'

- job: ubuntu_1604_release_x64
pool:
name: Hosted Ubuntu 1604
steps:
- task: Bash@3
displayName: 'Run scripts/cibuild.sh'
inputs:
targetType: filePath
filePath: ./scripts/cibuild.sh
arguments: '--configuration Release --architecture x64'

0 comments on commit 9240d41

Please sign in to comment.