-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from onovotny/netcore
Add support for dotnet build
- Loading branch information
Showing
18 changed files
with
500 additions
and
496 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,60 @@ | ||
trigger: | ||
branches: | ||
include: | ||
- master | ||
- rel/* | ||
paths: | ||
exclude: | ||
- '**/*.md' | ||
|
||
pr: | ||
branches: | ||
include: | ||
- master | ||
- rel/* | ||
paths: | ||
exclude: | ||
- '**/*.md' | ||
|
||
variables: | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
|
||
stages: | ||
- stage: Build | ||
jobs: | ||
- job: Build | ||
pool: | ||
vmImage: windows-latest | ||
|
||
variables: | ||
BuildConfiguration: Release | ||
|
||
steps: | ||
- task: DotNetCoreCLI@2 | ||
inputs: | ||
command: custom | ||
custom: tool | ||
arguments: install --tool-path . nbgv | ||
displayName: Install NBGV tool | ||
|
||
- script: nbgv cloud | ||
displayName: Set Version | ||
|
||
- task: UseDotNet@2 | ||
displayName: Use .NET Core 3.0.x SDK | ||
inputs: | ||
version: 3.0.x | ||
performMultiLevelLookup: true | ||
|
||
- task: DotNetCoreCLI@2 | ||
inputs: | ||
command: pack | ||
packagesToPack: src/StrongNamer/StrongNamer.csproj | ||
configuration: $(BuildConfiguration) | ||
packDirectory: $(Build.ArtifactStagingDirectory)\artifacts | ||
nobuild: true | ||
displayName: Pack StrongNamer | ||
|
||
- publish: $(Build.ArtifactStagingDirectory)\artifacts | ||
displayName: Publish build packages | ||
artifact: BuildPackages |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.