Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
* Update CSProj to new format
* Remove old Nuget files since VS and builders now handle package restore
* Use LINQPad Nuget instead of assembly directly
* Add support for LINQPad 6
* Update Azure SDKs to use Microsoft.Azure.Cosmos
* Add CI build via Azure DevOps
  • Loading branch information
madd0 committed Dec 1, 2019
1 parent 258c7c2 commit 88b60ef
Show file tree
Hide file tree
Showing 25 changed files with 751 additions and 466 deletions.
49 changes: 49 additions & 0 deletions .azure/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,57 @@ steps:
inputs:
restoreSolution: '$(solution)'

- task: SonarCloudPrepare@1
inputs:
SonarCloud: 'SonarCloud New'
organization: 'madd0'
scannerMode: 'MSBuild'
projectKey: 'madd0_AzureStorageDriver'
projectName: 'madd0.AzureStorageDriver'
extraProperties: |
# Additional properties that will be passed to the scanner,
# Put one key=value per line, example:
# sonar.exclusions=**/*.bin
sonar.organization=madd0
- task: VSBuild@1
inputs:
solution: '$(solution)'
msbuildArgs: '/p:BaseOutputPath=$(Build.BinariesDirectory)\\'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'

- task: SonarCloudAnalyze@1

- task: SonarCloudPublish@1
inputs:
pollingTimeoutSec: '300'

- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.BinariesDirectory)/$(buildConfiguration)/net46'
includeRootFolder: false
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/Madd0.AzureStorageDriver.lpx'
replaceExistingArchive: true

- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.BinariesDirectory)/$(buildConfiguration)/netcoreapp3.0'
includeRootFolder: false
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/Madd0.AzureStorageDriver.lpx6'
replaceExistingArchive: true

- task: CopyFiles@2
inputs:
SourceFolder: '$(Build.BinariesDirectory)/$(buildConfiguration)'
Contents: |
*.nupkg
*.snupkg
TargetFolder: '$(Build.ArtifactStagingDirectory)'

- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)'
publishLocation: 'pipeline'
Loading

0 comments on commit 88b60ef

Please sign in to comment.