-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated lps settings * updated editor config * ran code cleanup to get files in sync with the general rules * make cancellation tests more reslient for failure * Updated tools and remove grm (global tool is used elsewhere) * Updated readme * Update azure-pipelines Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6c3a7fc
commit 6371386
Showing
1,024 changed files
with
15,629 additions
and
13,716 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 |
---|---|---|
@@ -1,123 +1,107 @@ | ||
trigger: | ||
batch: true | ||
branches: | ||
include: | ||
- master | ||
- refs/tags/* | ||
paths: | ||
exclude: | ||
- '**/*.md' | ||
- '.appveyor.yml' | ||
- '.codecov.yml' | ||
- 'GitVersion.yml' | ||
- 'GitReleaseManager.yaml' | ||
- .vscode/* | ||
- .git* | ||
- .editorconfig | ||
- .nuke | ||
- LICENSE | ||
batch: true | ||
branches: | ||
include: | ||
- master | ||
- next | ||
- refs/tags/* | ||
paths: | ||
exclude: | ||
- '**/*.md' | ||
- '.appveyor.yml' | ||
- '.codecov.yml' | ||
- 'GitVersion.yml' | ||
- 'GitReleaseManager.yaml' | ||
- .vscode/* | ||
- .git* | ||
- .editorconfig | ||
- .nuke | ||
- LICENSE | ||
|
||
pr: | ||
autoCancel: true | ||
branches: | ||
include: | ||
- master | ||
autoCancel: true | ||
branches: | ||
include: | ||
- master | ||
- next | ||
|
||
resources: | ||
repositories: | ||
- repository: rsg | ||
type: github | ||
name: RocketSurgeonsGuild/AzureDevopsTemplates | ||
ref: refs/tags/v0.12.0 | ||
endpoint: github | ||
repositories: | ||
- repository: rsg | ||
type: github | ||
name: RocketSurgeonsGuild/AzureDevopsTemplates | ||
ref: refs/tags/v0.13.0 | ||
endpoint: github | ||
|
||
variables: | ||
- name: CONFIGURATION | ||
value: Release | ||
- name: VERBOSITY | ||
value: Normal | ||
- name: COVERAGE | ||
value: '$(Agent.BuildDirectory)/c' | ||
- name: ARTIFACTS | ||
value: $(Build.ArtifactStagingDirectory) | ||
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE | ||
value: 'true' | ||
- name: CodeCovToken | ||
value: 'd122bf99-4ca6-4a7c-a7ff-90468bcc7703' | ||
# Fixes the github package repo warnings on restore | ||
- name: EmitAssetsLogMessages | ||
value: false | ||
- name: HideWarningsAndErrors | ||
value: true | ||
- name: CONFIGURATION | ||
value: Release | ||
- name: VERBOSITY | ||
value: Normal | ||
- name: COVERAGE | ||
value: '$(Agent.BuildDirectory)/c' | ||
- name: ARTIFACTS | ||
value: $(Build.ArtifactStagingDirectory) | ||
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE | ||
value: 'true' | ||
- name: CodeCovToken | ||
value: 'd122bf99-4ca6-4a7c-a7ff-90468bcc7703' | ||
|
||
jobs: | ||
- template: jobs/gitversion.yml@rsg | ||
- template: jobs/publish-release.yml@rsg | ||
parameters: | ||
GitHubPackages: false | ||
PublishNuGetPackagesFromArtifact: 'NuGet - Windows' | ||
|
||
- job: Build | ||
strategy: | ||
matrix: | ||
Windows: | ||
BuildName: 'Windows' | ||
ImageName: 'windows-latest' | ||
Linux: | ||
BuildName: 'Linux' | ||
ImageName: 'ubuntu-latest' | ||
macOS: | ||
BuildName: 'macOS' | ||
ImageName: 'macOS-latest' | ||
pool: | ||
vmImage: $(ImageName) | ||
steps: | ||
- template: support/mono.yml@rsg | ||
- template: support/install-dotnet.yml@rsg | ||
parameters: | ||
DotNetSdk: | ||
- '2.x' | ||
- '3.x' | ||
- template: support/gitversion-hack.yml@rsg | ||
- job: Build | ||
strategy: | ||
matrix: | ||
Windows: | ||
BuildName: 'Windows' | ||
ImageName: 'windows-latest' | ||
Linux: | ||
BuildName: 'Linux' | ||
ImageName: 'ubuntu-latest' | ||
macOS: | ||
BuildName: 'macOS' | ||
ImageName: 'macOS-latest' | ||
pool: | ||
vmImage: $(ImageName) | ||
steps: | ||
- template: support/mono.yml@rsg | ||
# - ${{ if startsWith(variables['Build.SourceBranch'], 'refs/tags/v') }}: | ||
# - template: support/download-release-notes.yml@rsg | ||
- template: support/install-dotnet.yml@rsg | ||
parameters: | ||
DotNetSdk: | ||
- '2.x' | ||
- '3.x' | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: 'dotnet tool restore' | ||
inputs: | ||
command: custom | ||
custom: tool | ||
arguments: 'restore' | ||
- task: DotNetCoreCLI@2 | ||
displayName: 'dotnet tool restore' | ||
inputs: | ||
command: custom | ||
custom: tool | ||
arguments: 'restore' | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: 'dotnet restore' | ||
inputs: | ||
command: restore | ||
feedsToUse: config | ||
nugetConfigPath: NuGet.config | ||
verbosityRestore: Minimal | ||
- task: DotNetCoreCLI@2 | ||
displayName: 'dotnet restore' | ||
inputs: | ||
command: restore | ||
feedsToUse: config | ||
nugetConfigPath: NuGet.config | ||
verbosityRestore: Minimal | ||
|
||
- template: ./azure-pipelines.nuke.yml | ||
parameters: | ||
Artifacts: $(Artifacts) | ||
Configuration: $(Configuration) | ||
Coverage: $(Coverage) | ||
- template: ./azure-pipelines.nuke.yml | ||
parameters: | ||
Artifacts: $(Artifacts) | ||
Configuration: $(Configuration) | ||
Coverage: $(Coverage) | ||
|
||
- template: support/publish-artifacts.yml@rsg | ||
parameters: | ||
Artifacts: $(Artifacts) | ||
Configuration: $(Configuration) | ||
Coverage: $(Coverage) | ||
Postfix: ' - $(BuildName)' | ||
PublishVSTest: true | ||
- ${{ if and(or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['Build.SourceBranch'], 'refs/heads/master')), ne(variables['System.PullRequest.IsFork'], 'true')) }}: | ||
- job: Publish_NuGet_Packages | ||
displayName: "Publish NuGet Packages" | ||
pool: | ||
vmImage: "windows-latest" | ||
dependsOn: | ||
- Build | ||
steps: | ||
- checkout: none | ||
- download: current | ||
displayName: "Download NuGet Packages" | ||
artifact: 'NuGet - Windows' | ||
- template: support/nuget-push.yml@rsg | ||
parameters: | ||
Artifacts: "$(Pipeline.Workspace)" | ||
GitHubPackages: false | ||
MyGetPackages: true | ||
- template: support/publish-artifacts.yml@rsg | ||
parameters: | ||
Artifacts: $(Artifacts) | ||
Configuration: $(Configuration) | ||
Coverage: $(Coverage) | ||
Postfix: ' - $(BuildName)' | ||
PublishVSTest: 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
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
Oops, something went wrong.