forked from aliostad/CacheCow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* combining jobs * wa * wa * formatting issues * trigger cannot * variable group * build stuff * linux build * linux build * linux build * linux build - fix shell command * linux build - install .net 2.0 * alpha2 * alpha4 * alpha5
- Loading branch information
Showing
3 changed files
with
39 additions
and
27 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
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 |
---|---|---|
@@ -1,21 +1,37 @@ | ||
pool: | ||
vmImage: 'windows-latest' | ||
|
||
steps: | ||
jobs: | ||
- job: build_windows | ||
pool: | ||
vmImage: 'windows-latest' | ||
steps: | ||
- script: build.bat | ||
displayName: 'Run build and tests' | ||
|
||
- script: dotnet --list-sdks | ||
displayName: 'show sdks available' | ||
|
||
- script: dotnet --list-runtimes | ||
displayName: 'show runtimes available' | ||
|
||
- script: build.bat | ||
displayName: 'Run build and tests' | ||
|
||
- task: PublishTestResults@2 | ||
displayName: 'Publish test results' | ||
inputs: | ||
testResultsFormat: VSTest | ||
testResultsFiles: 'test/*/TestResults/*.trx' | ||
failTaskOnFailedTests: true | ||
- task: PublishTestResults@2 | ||
displayName: 'Publish test results' | ||
inputs: | ||
testResultsFormat: VSTest | ||
testResultsFiles: 'test/*/TestResults/*.trx' | ||
failTaskOnFailedTests: true | ||
- job: build_linux | ||
pool: | ||
vmImage: 'ubuntu-16.04' | ||
steps: | ||
- task: UseDotNet@2 | ||
displayName: 'Use .NET Core sdk' | ||
inputs: | ||
packageType: sdk | ||
version: 2.0.3 | ||
- task: UseDotNet@2 | ||
displayName: 'Use .NET Core sdk' | ||
inputs: | ||
packageType: sdk | ||
version: 3.1.100 | ||
- script: ./build.sh | ||
displayName: 'Run build and tests' | ||
|
||
- task: PublishTestResults@2 | ||
displayName: 'Publish test results' | ||
inputs: | ||
testResultsFormat: VSTest | ||
testResultsFiles: 'test/*/TestResults/*.trx' | ||
failTaskOnFailedTests: true |
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 |
---|---|---|
@@ -1,16 +1,12 @@ | ||
pool: | ||
vmImage: 'windows-latest' | ||
|
||
trigger: | ||
tags: | ||
include: | ||
- v* | ||
|
||
variables: | ||
- group: nuget_publish | ||
steps: | ||
|
||
- script: echo $(api_key) | ||
displayName: 'Pack and pushx' | ||
|
||
- script: pack-push.bat $(api_key) | ||
- script: pack-push.bat $(nuget_api_key) | ||
displayName: 'Pack and push' | ||
|