Skip to content

Commit

Permalink
Set up CI with Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximus5 committed Apr 19, 2020
1 parent 97d7cc7 commit 04c630c
Showing 1 changed file with 102 additions and 0 deletions.
102 changes: 102 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# .NET Desktop
# Build and run tests for .NET Desktop or Windows classic desktop solutions.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net

trigger:
branches:
include:
- master
- daily

pool:
vmImage: 'windows-latest'

variables:
solution: 'src/CE.sln'

jobs:

- job: 'x64_Release'
displayName: 'x64|Release'
variables:
platform: 'x64'
configuration: 'Release'
steps:
- checkout: self
submodules: true
- task: VSBuild@1
displayName: 'Build $(platform)|$(configuration)'
inputs:
solution: '$(solution)'
platform: '$(platform)'
configuration: '$(configuration)'
- script: |
set
cd
call "$(configuration)\Tests_$(configuration)_$(platform).exe"
displayName: 'Tests $(platform)|$(configuration)'
failOnStderr: true
- job: 'x64_Debug'
displayName: 'x64|Debug'
variables:
platform: 'x64'
configuration: 'Debug'
steps:
- checkout: self
submodules: true
- task: VSBuild@1
displayName: 'Build $(platform)|$(configuration)'
inputs:
solution: '$(solution)'
platform: '$(platform)'
configuration: '$(configuration)'
- script: |
set
cd
call "$(configuration)\Tests_$(configuration)_$(platform).exe"
displayName: 'Tests $(platform)|$(configuration)'
failOnStderr: true
- job: 'Win32_Release'
displayName: 'Win32|Release'
variables:
platform: 'Win32'
configuration: 'Release'
steps:
- checkout: self
submodules: true
- task: VSBuild@1
displayName: 'Build $(platform)|$(configuration)'
inputs:
solution: '$(solution)'
platform: '$(platform)'
configuration: '$(configuration)'
- script: |
set
cd
call "$(configuration)\Tests_$(configuration)_$(platform).exe"
displayName: 'Tests $(platform)|$(configuration)'
failOnStderr: true
- job: 'Win32_Debug'
displayName: 'Win32|Debug'
variables:
platform: 'Win32'
configuration: 'Debug'
steps:
- checkout: self
submodules: true
- task: VSBuild@1
displayName: 'Build $(platform)|$(configuration)'
inputs:
solution: '$(solution)'
platform: '$(platform)'
configuration: '$(configuration)'
- script: |
set
cd
call "$(configuration)\Tests_$(configuration)_$(platform).exe"
displayName: 'Tests $(platform)|$(configuration)'
failOnStderr: true

0 comments on commit 04c630c

Please sign in to comment.