Skip to content

Commit

Permalink
Set up CI with Azure Pipelines (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
meinsiedler authored Dec 9, 2019
1 parent c65c370 commit e2f6cc2
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

name: $(Build.DefinitionName)_$(Build.SourceBranchName)_$(date:yyyy).$(date:MM).$(date:dd)$(Rev:.r)

trigger:
- master

pool:
vmImage: 'windows-2019'

variables:
buildConfiguration: 'Release'

steps:
- script: dotnet build --configuration $(buildConfiguration) src/Audis.Analyzer.Common/Audis.Analyzer.Common.sln
displayName: Build Audis.Analyzer.Common

- script: dotnet build --configuration $(buildConfiguration) src/Audis.Dtos/Audis.Dtos.sln
displayName: Build Audis.Dtos

- script: dotnet build --configuration $(buildConfiguration) src/Audis.Primitives/Audis.Primitives.sln
displayName: Build Audis.Primitives

- task: CopyFiles@2
displayName: Publish NuGet Packages to Artifacts
inputs:
Contents: '**/*.nupkg'
TargetFolder: $(Build.ArtifactStagingDirectory)
flattenFolders: true

- task: PublishBuildArtifacts@1
displayName: 'Publish Artifacts'
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)'

0 comments on commit e2f6cc2

Please sign in to comment.