Skip to content

Commit

Permalink
Add a yml file for PR build
Browse files Browse the repository at this point in the history
  • Loading branch information
skylarnam committed Feb 21, 2023
1 parent 564a667 commit f1c8303
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright (C) Microsoft Corporation. All rights reserved.
# Licensed under the MIT license. See LICENSE.txt in the project root for license information.

variables:
BuildConfiguration: Release

trigger: none

pr:
branches:
include:
- main
paths:
exclude:
- README.md

pool:
vmImage: windows-2022


steps:
- task: UseDotNet@2
displayName: 'Install .NET Core SDK'
inputs:
version: '7.x'

- task: DotNetCoreCLI@2
displayName: Build
inputs:
command: 'build'
projects: 'VSConfigFinder'
arguments: '--configuration $(BuildConfiguration)'

- task: DotNetCoreCLI@2
displayName: Test
inputs:
command: 'test'
projects: 'VSConfigFinder.Test'
arguments: '--configuration $(BuildConfiguration)'

0 comments on commit f1c8303

Please sign in to comment.