-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+semver: minor drop net461 dependency
- Loading branch information
1 parent
38c4288
commit d96e70e
Showing
13 changed files
with
195 additions
and
44 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,51 @@ | ||
parameters: | ||
Script: 'cakefile.cake' | ||
Target: 'Default' | ||
Configuration: 'Release' | ||
Coverage: '$(Agent.BuildDirectory)/c' | ||
Artifacts: $(Build.ArtifactStagingDirectory) | ||
Verbosity: '' | ||
|
||
steps: | ||
- script: $(Agent.ToolsDirectory)/dotnet-cake cakefile.cake --Target="Default" --Configuration="$(Configuration)" --Artifacts="$(Artifacts)" --Coverage="$(Coverage)" --verbosity=$(Verbosity) | ||
displayName: 'dotnet cake' | ||
env: | ||
Configuration: ${{ parameters.Configuration }} | ||
Artifacts: ${{ parameters.Artifacts }} | ||
VstsArtifacts: ${{ parameters.Artifacts }} | ||
Coverage: ${{ parameters.Coverage }} | ||
VstsCoverage: ${{ parameters.Coverage }} | ||
Verbosity: ${{ parameters.Verbosity }} | ||
|
||
- task: PublishTestResults@2 | ||
displayName: Publish Tests | ||
condition: always() | ||
inputs: | ||
testRunner: "XUnit" | ||
testResultsFiles: "$(Artifacts)/test/**/*.xml" | ||
testRunTitle: "XUnit Results - $(system.phaseName)" | ||
buildPlatform: ${{ parameters.os }} | ||
buildConfiguration: ${{ parameters.Configuration }} | ||
env: | ||
Artifacts: ${{ parameters.Artifacts }} | ||
|
||
- task: PublishCodeCoverageResults@1 | ||
displayName: Publish Code Coverage | ||
condition: always() | ||
inputs: | ||
codeCoverageTool: "Cobertura" | ||
summaryFileLocation: "$(Coverage)/solution.cobertura" | ||
reportDirectory: "$(Coverage)/report/" | ||
# failIfCoverageEmpty: "true" | ||
env: | ||
Coverage: ${{ parameters.Coverage }} | ||
|
||
- task: PublishBuildArtifacts@1 | ||
displayName: Publish Logs | ||
condition: always() | ||
inputs: | ||
PathtoPublish: "$(Artifacts)/logs/" | ||
ArtifactName: "Logs - $(system.phaseName)" | ||
ArtifactType: "Container" | ||
env: | ||
Artifacts: ${{ parameters.Artifacts }} |
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,21 @@ | ||
parameters: | ||
BuildScript: 'cakefile.cake' | ||
Target: 'Default' | ||
CakeVersion: '' | ||
DotNetVersion: '' | ||
|
||
steps: | ||
- task: DotNetCoreInstaller@0 | ||
displayName: Install dotnet $(DotNetVersion) | ||
inputs: | ||
packageType: 'sdk' | ||
version: ${{ parameters.DotNetVersion }} | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: 'dotnet install cake' | ||
inputs: | ||
command: custom | ||
custom: tool | ||
arguments: 'install Cake.Tool --version $(CakeVersion) --tool-path $(Agent.ToolsDirectory)' | ||
env: | ||
CakeVersion: ${{ parameters.CakeVersion }} |
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,16 @@ | ||
parameters: | ||
targetPath: "$(Build.ArtifactStagingDirectory)" | ||
|
||
steps: | ||
- task: DownloadBuildArtifacts@0 | ||
displayName: "Download GitVersion Variables" | ||
inputs: | ||
specificBuildWithTriggering: true | ||
downloadType: single | ||
artifactName: gitversion | ||
pipelineId: GitVersion | ||
targetPath: ${{ parameters.targetPath }} | ||
- task: RocketSurgeonsGuild.variable-tools.DeserializeVariables.DeserializeVariables@1 | ||
displayName: 'Deserialize GitVersion' | ||
inputs: | ||
jsonfiles: ${{ format('{0}/**/meta.json', parameters.targetPath) }} |
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,27 @@ | ||
parameters: | ||
targetPath: "$(Build.ArtifactStagingDirectory)/gitversion/" | ||
version: '4.0.0-beta0012' | ||
NuGetVersion: '' | ||
|
||
steps: | ||
- task: NuGetToolInstaller@0 | ||
displayName: "Get NuGet" | ||
inputs: | ||
versionSpec: ${{ parameters.NuGetVersion }} | ||
- script: nuget install GitVersion.CommandLine -Version %VersionToInstall% -ExcludeVersion | ||
displayName: Install GitVersion | ||
env: | ||
VersionToInstall: ${{ parameters.version }} | ||
- script: GitVersion.exe /output buildserver | ||
displayName: Run GitVersion | ||
workingDirectory: GitVersion.CommandLine/tools/ | ||
- task: RocketSurgeonsGuild.variable-tools.SerializeVariables.SerializeVariables@1 | ||
displayName: "Serialize GitVersion Variables" | ||
inputs: | ||
filename: ${{ format('{0}/meta.json', parameters.targetPath) }} | ||
prefixes: GITVERSION | ||
- task: PublishBuildArtifacts@1 | ||
displayName: "Publish GitVersion Variables" | ||
inputs: | ||
pathtoPublish: ${{ parameters.targetPath }} | ||
artifactName: gitversion |
This file was deleted.
Oops, something went wrong.
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,65 @@ | ||
variables: | ||
Configuration: Release | ||
Verbosity: Normal | ||
Coverage: "$(Agent.BuildDirectory)/c" | ||
VstsCoverage: "$(Coverage)" | ||
Artifacts: $(Build.ArtifactStagingDirectory) | ||
VstsArtifacts: "$(Artifacts)" | ||
# system.enableAccessToken: 'true' | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "true" | ||
DotNetVersion: "2.1.403" | ||
NuGetVersion: "4.7.1" | ||
CakeVersion: "0.30.0" | ||
jobs: | ||
- job: GitVersion | ||
pool: | ||
vmImage: "VS2017-Win2016" | ||
steps: | ||
- template: .pipelines/gitversion-store.yml | ||
parameters: | ||
NuGetVersion: "$(NuGetVersion)" | ||
|
||
- job: macOS | ||
dependsOn: GitVersion | ||
pool: | ||
vmImage: "macOS-10.13" | ||
steps: | ||
- template: .pipelines/gitversion-restore.yml | ||
- template: .pipelines/dotnet-core.yml | ||
parameters: | ||
CakeVersion: "$(CakeVersion)" | ||
DotNetVersion: "$(DotNetVersion)" | ||
- template: .pipelines/azure-build.yml | ||
parameters: | ||
Configuration: "$(Configuration)" | ||
Verbosity: "$(Verbosity)" | ||
|
||
- job: Linux | ||
dependsOn: GitVersion | ||
pool: | ||
vmImage: "Ubuntu-16.04" | ||
steps: | ||
- template: .pipelines/gitversion-restore.yml | ||
- template: .pipelines/dotnet-core.yml | ||
parameters: | ||
CakeVersion: "$(CakeVersion)" | ||
DotNetVersion: "$(DotNetVersion)" | ||
- template: .pipelines/azure-build.yml | ||
parameters: | ||
Configuration: "$(Configuration)" | ||
Verbosity: "$(Verbosity)" | ||
|
||
- job: Windows | ||
dependsOn: GitVersion | ||
pool: | ||
vmImage: "VS2017-Win2016" | ||
steps: | ||
- template: .pipelines/gitversion-restore.yml | ||
- template: .pipelines/dotnet-core.yml | ||
parameters: | ||
CakeVersion: "$(CakeVersion)" | ||
DotNetVersion: "$(DotNetVersion)" | ||
- template: .pipelines/azure-build.yml | ||
parameters: | ||
Configuration: "$(Configuration)" | ||
Verbosity: "$(Verbosity)" |
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
2 changes: 1 addition & 1 deletion
2
src/Reactive.Extensions/Rocket.Surgery.Reactive.Extensions.csproj
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