Skip to content

Commit 01af984

Browse files
committed
Set up CI with Azure Pipelines
[skip ci]
1 parent 38e5975 commit 01af984

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

azure-pipelines.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
trigger:
2+
- master
3+
4+
pool:
5+
vmImage: 'ubuntu-latest'
6+
7+
variables:
8+
solution: '**/*.sln'
9+
buildPlatform: 'Any CPU'
10+
buildConfiguration: 'Release'
11+
12+
steps:
13+
- task: DotNetCoreInstaller@1
14+
displayName: Install .NET Core 3.0 Preview
15+
inputs:
16+
includePreviewVersions: true
17+
packageType: sdk
18+
version: 3.0.100-preview7-012821
19+
20+
- task: DotNetCoreCLI@2
21+
displayName: Pack https
22+
inputs:
23+
command: pack
24+
publishWebProjects: false
25+
projects: '**/*.csproj'
26+
arguments: --configuration $(buildConfiguration) --output $(build.ArtifactStagingDirectory)
27+
28+
- task: DotNetCoreCLI@2
29+
displayName: Test https
30+
inputs:
31+
command: test
32+
projects: '**/*Test*.csproj'
33+
34+
- task: PublishBuildArtifacts@1
35+
inputs:
36+
PathtoPublish: '$(build.ArtifactStagingDirectory)'
37+
ArtifactName: 'https'
38+
Parallel: true
39+

0 commit comments

Comments
 (0)