diff --git a/README.md b/README.md index 66ab4d3..6e1b6bc 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://raw.githubusercontent.com/ela-compil/BACnet/master/MIT_license.txt) [![NuGet version](https://badge.fury.io/nu/bacnet.svg)](https://www.nuget.org/packages/BACnet) +[![Build Status](https://dev.azure.com/ela-compil/BACnet/_apis/build/status/Build%20release?branchName=master)](https://dev.azure.com/ela-compil/BACnet/_build/latest?definitionId=1&branchName=master) [![Donate](https://img.shields.io/badge/%24-donate-ff00ff.svg)](https://www.paypal.me/JakubBartkowiak) This library was originaly developed by Morten Kvistgaard with a lot of contribution from F. Chaxel. It is used as core library in [YABE (Yet Another BACnet Explore)](https://sourceforge.net/projects/yetanotherbacnetexplorer/). It has been forked here from SourceForge SVN source, splitted into separate repositories and made available to download from Nuget. diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..9b5dad2 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,36 @@ +# .NET Desktop +# Build and run tests for .NET Desktop or Windows classic desktop solutions. +# Add steps that publish symbols, save build artifacts, and more: +# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net + +trigger: +- master + +pool: + vmImage: 'windows-latest' + +variables: + solution: '**/*.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' + +steps: +- task: NuGetToolInstaller@0 + +- task: NuGetCommand@2 + inputs: + restoreSolution: '$(solution)' + +- task: VSBuild@1 + inputs: + solution: '$(solution)' + platform: '$(buildPlatform)' + configuration: '$(buildConfiguration)' + +- task: NuGetCommand@2 + inputs: + command: 'pack' + feedsToUse: 'select' + packagesToPack: 'BACnet.csproj' + versioningScheme: byBuildNumber + includeSymbols: true \ No newline at end of file