-
-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
102 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |