-
Notifications
You must be signed in to change notification settings - Fork 750
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build with vsts * update xunit with vsts support * add versioning files * fix test run * stamp full hash in assembly
- Loading branch information
Oren Novotny
authored
Jun 19, 2018
1 parent
9a3def6
commit 29fa48f
Showing
10 changed files
with
128 additions
and
60 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,50 @@ | ||
trigger: | ||
branches: | ||
include: | ||
- master | ||
- rel/* | ||
paths: | ||
include: | ||
- Ix.NET/Source/* | ||
- .editorconfig | ||
- .vsts.ix-ci.yml | ||
- NuGet.Config | ||
|
||
queue: Hosted VS2017 | ||
|
||
variables: | ||
BuildConfiguration: Release | ||
BuildPlatform: Any CPU | ||
|
||
steps: | ||
- task: BatchScript@1 | ||
inputs: | ||
filename: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\Tools\\VsDevCmd.bat" | ||
arguments: -no_logo | ||
modifyEnvironment: true | ||
displayName: Setup Environment Variables | ||
|
||
- task: DotNetCoreCLI@2 | ||
inputs: | ||
command: build | ||
projects: Ix.NET/Source/build/setversion.csproj | ||
arguments: -c $(BuildConfiguration) | ||
displayName: Set Version | ||
|
||
- task: PowerShell@1 | ||
inputs: | ||
scriptName: 'Ix.NET/Source/build-new.ps1' | ||
workingFolder: 'Ix.NET/Source' | ||
env: | ||
VSTS_ACCESS_TOKEN: $(System.AccessToken) | ||
SignClientUser: $(SignClientUser) | ||
SignClientSecret: $(SignClientSecret) | ||
COVERALLS_REPO_TOKEN: $(CoverallsToken) | ||
displayName: Build | ||
|
||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
PathtoPublish: 'Ix.NET/Source/artifacts' | ||
ArtifactName: artifacts | ||
publishLocation: Container | ||
condition: always() |
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,29 @@ | ||
trigger: none | ||
queue: Hosted VS2017 | ||
|
||
variables: | ||
BuildConfiguration: Release | ||
BuildPlatform: Any CPU | ||
|
||
steps: | ||
- task: BatchScript@1 | ||
inputs: | ||
filename: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\Tools\\VsDevCmd.bat" | ||
arguments: -no_logo | ||
modifyEnvironment: true | ||
displayName: Setup Environment Variables | ||
|
||
- task: PowerShell@1 | ||
inputs: | ||
scriptName: 'Ix.NET/Source/build-new.ps1' | ||
workingFolder: 'Ix.NET/Source' | ||
env: | ||
VSTS_ACCESS_TOKEN: $(System.AccessToken) | ||
displayName: Build | ||
|
||
- task: PublishBuildArtifacts@1 | ||
inputs: | ||
PathtoPublish: 'Ix.NET/Source/artifacts' | ||
ArtifactName: artifacts | ||
publishLocation: Container | ||
condition: eq(variables['system.pullrequest.isfork'], false) |
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
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
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,7 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
</Project> |
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,8 @@ | ||
{ | ||
"inherit": true, | ||
"cloudBuild": { | ||
"buildNumber": { | ||
"enabled": 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