diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000000..c7a4c454f4 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,41 @@ +# 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 + +trigger: +- master + +pool: + vmImage: 'windows-latest' + +variables: + solution: 'sln\OData.Net45.sln' + buildPlatform: 'Any CPU' + buildConfiguration: 'Release' + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + + +- task: MSBuild@1 + inputs: + solution: 'sln\OData.Net45.sln' #'sln\OData.Net45.sln' + restoreNugetPackages: true + # msbuildArchitecture: 'x64' + # platform: 'x64' + +# - task: VSTest@2 +# inputs: +# testSelector: 'testAssemblies' +# testAssemblyVer2: | +# **\*test*.dll +# !**\*TestAdapter.dll +# !**\obj\** +# searchFolder: '$(System.DefaultWorkingDirectory)' +# vsTestVersion: 'toolsInstaller' +# - task: VSTest@2 +# inputs: +# platform: '$(buildPlatform)' +# configuration: '$(buildConfiguration)' \ No newline at end of file