parent
76d3c39ac3
commit
17fec13107
@ -1,54 +0,0 @@
|
||||
pool:
|
||||
vmImage: windows-latest
|
||||
|
||||
variables:
|
||||
configuration: Release
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
windows:
|
||||
runtime: win-x64
|
||||
linux:
|
||||
runtime: linux-x64
|
||||
macos:
|
||||
runtime: osx-x64
|
||||
|
||||
steps:
|
||||
-
|
||||
checkout: self
|
||||
-
|
||||
task: UseDotNet@2
|
||||
displayName: Setup .NET Core
|
||||
inputs:
|
||||
version: 5.0.x
|
||||
-
|
||||
pwsh: |
|
||||
dotnet tool install --tool-path . nbgv
|
||||
./nbgv cloud -a
|
||||
displayName: Set build number
|
||||
-
|
||||
task: DotNetCoreCLI@2
|
||||
displayName:
|
||||
inputs:
|
||||
command: build
|
||||
arguments: --configuration $(configuration)
|
||||
-
|
||||
task: DotNetCoreCLI@2
|
||||
displayName:
|
||||
inputs:
|
||||
command: test
|
||||
arguments: --configuration $(configuration)
|
||||
-
|
||||
task: DotNetCoreCLI@2
|
||||
displayName:
|
||||
inputs:
|
||||
command: publish
|
||||
projects: Trash
|
||||
arguments: >
|
||||
--runtime $(runtime)
|
||||
--configuration $(configuration)
|
||||
--self-contained true
|
||||
-p:PublishSingleFile=true
|
||||
-p:PublishTrimmed=true
|
||||
-p:IncludeNativeLibrariesForSelfExtract=true
|
||||
|
Loading…
Reference in new issue