Skip to content
This repository was archived by the owner on Aug 4, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
trigger:
- main

pool:
vmImage: 'windows-latest'

variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
Comment thread
faix marked this conversation as resolved.
buildConfiguration: 'Release'

steps:
- task: DotNetCoreCLI@2
inputs:
command: 'restore'
projects: '$(build.sourcesdirectory)/src'

- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: '$(build.sourcesdirectory)/src'
arguments: '--configuration $(buildConfiguration) --no-restore'

- task: DotNetCoreCLI@2
inputs:
command: 'test'
projects: '$(build.sourcesdirectory)/src'
32 changes: 32 additions & 0 deletions build/.pipelines/azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Starter pipeline
Comment thread
faix marked this conversation as resolved.
# 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

trigger:
- main

pool:
vmImage: 'windows-latest'

variables:
solution: '**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'

steps:
- task: DotNetCoreCLI@2
inputs:
command: 'restore'
projects: '$(build.sourcesdirectory)/src'

- task: DotNetCoreCLI@2
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we give these tasks good names; like ".NET Restore", or some such?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

inputs:
command: 'build'
projects: '$(build.sourcesdirectory)/src'
arguments: '--configuration $(buildConfiguration) --no-restore'

- task: DotNetCoreCLI@2
inputs:
command: 'test'
projects: '$(build.sourcesdirectory)/src'