Skip to content

Commit

Permalink
Adding azure pipelines yml files
Browse files Browse the repository at this point in the history
  • Loading branch information
tannergooding committed Oct 4, 2019
1 parent edb13a9 commit 9c5e7a1
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/azure-ci.yml
@@ -0,0 +1,5 @@
trigger:
- master

jobs:
- template: azure-pipelines.yml
24 changes: 24 additions & 0 deletions scripts/azure-pipelines.yml
@@ -0,0 +1,24 @@
jobs:
- template: azure-windows.yml
parameters:
name: windows_debug_x64
pool: Hosted
configuration: Debug

- template: azure-windows.yml
parameters:
name: windows_release_x64
pool: Hosted
configuration: Release

- template: azure-unix.yml
parameters:
name: ubuntu_debug_x64
pool: Hosted Ubuntu 1604
configuration: Debug

- template: azure-unix.yml
parameters:
name: ubuntu_release_x64
pool: Hosted Ubuntu 1604
configuration: Release
5 changes: 5 additions & 0 deletions scripts/azure-pr.yml
@@ -0,0 +1,5 @@
pr:
- master

jobs:
- template: azure-pipelines.yml
11 changes: 11 additions & 0 deletions scripts/azure-unix.yml
@@ -0,0 +1,11 @@
jobs:
- job: ${{parameters.name}}
pool:
name: ${{parameters.pool}}
steps:
- task: Bash@3
displayName: 'Run scripts/cibuild.sh'
inputs:
targetType: filePath
filePath: ./scripts/cibuild.sh
arguments: '--configuration ${{parameters.configuration}}'
11 changes: 11 additions & 0 deletions scripts/azure-windows.yml
@@ -0,0 +1,11 @@
jobs:
- job: ${{parameters.name}}
pool:
name: ${{parameters.pool}}
demands: Cmd
steps:
- task: BatchScript@1
displayName: 'Run scripts/cibuild.cmd'
inputs:
filename: scripts/cibuild.cmd
arguments: '-configuration ${{parameters.configuration}}'

0 comments on commit 9c5e7a1

Please sign in to comment.