mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Enable CI
This commit is contained in:
@@ -11,6 +11,7 @@ We are looking for help with maintaining this important project - please read th
|
||||
|
||||

|
||||
|
||||
[](https://dev.azure.com/squirrel-installers/Squirrel.Windows/_build/latest?definitionId=1&branchName=master)
|
||||
|
||||
Squirrel is both a set of tools and a library, to completely manage both installation and updating your Desktop Windows application, written in either C# or any other language (i.e., Squirrel can manage native C++ applications).
|
||||
|
||||
|
||||
56
azure-pipelines.yml
Normal file
56
azure-pipelines.yml
Normal file
@@ -0,0 +1,56 @@
|
||||
pool:
|
||||
name: Hosted VS2017
|
||||
demands:
|
||||
- msbuild
|
||||
- visualstudio
|
||||
- vstest
|
||||
|
||||
trigger:
|
||||
- master
|
||||
|
||||
variables:
|
||||
solution: 'Squirrel.sln'
|
||||
buildPlatform: 'Any CPU'
|
||||
buildConfiguration: 'Release'
|
||||
|
||||
steps:
|
||||
- checkout: self
|
||||
submodules: true
|
||||
|
||||
- task: NuGetToolInstaller@1
|
||||
inputs:
|
||||
versionSpec: 4.9.4
|
||||
|
||||
- task: NuGetCommand@2
|
||||
inputs:
|
||||
restoreSolution: '$(solution)'
|
||||
|
||||
- task: VSBuild@1
|
||||
inputs:
|
||||
solution: '$(solution)'
|
||||
platform: '$(buildPlatform)'
|
||||
configuration: '$(buildConfiguration)'
|
||||
|
||||
- task: VSTest@2
|
||||
inputs:
|
||||
testAssemblyVer2: |
|
||||
**\$(buildConfiguration)\*test*.dll
|
||||
!**\obj\**
|
||||
platform: '$(buildPlatform)'
|
||||
configuration: '$(buildConfiguration)'
|
||||
|
||||
- task: PublishSymbols@2
|
||||
inputs:
|
||||
SearchPattern: '**\bin\**\*.pdb'
|
||||
PublishSymbols: false
|
||||
continueOnError: true
|
||||
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
SourceFolder: '$(system.defaultWorkingDirectory)'
|
||||
Contents: '**\bin\$(buildConfiguration)\**'
|
||||
TargetFolder: '$(build.artifactStagingDirectory)'
|
||||
|
||||
- task: PublishBuildArtifacts@1
|
||||
inputs:
|
||||
PathtoPublish: '$(build.artifactStagingDirectory)'
|
||||
Reference in New Issue
Block a user