Skip to content

Commit

Permalink
Updates to Windows pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kimlaine committed Mar 31, 2021
1 parent d7d6b9d commit 4e0bbaf
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions pipelines/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ steps:

- ${{ if eq(parameters.configuration, 'Release') }}:
- task: Semmle@0
displayName: 'Semmle'
displayName: 'Semmle SEAL'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
inputs:
Expand All @@ -116,6 +116,22 @@ steps:
timeout: '1800'
ram: '16384'
addProjectDirToScanningExclusionList: true
buildCommands: '"%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsMSBuildCmd.bat" && msbuild $(Build.SourcesDirectory)/build/seal.sln'
cleanupBuildCommands: '"%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsMSBuildCmd.bat" && msbuild $(Build.SourcesDirectory)/build/seal.sln /t:Clean'

- task: Semmle@0
displayName: 'Semmle SEALNet'
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
inputs:
sourceCodeDirectory: '$(Build.SourcesDirectory)'
language: 'csharp'
querySuite: 'Recommended'
timeout: '1800'
ram: '16384'
addProjectDirToScanningExclusionList: true
buildCommands: '"%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsMSBuildCmd.bat" && msbuild $(Build.SourcesDirectory)/dotnet/SEALNet.sln'
cleanupBuildCommands: '"%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsMSBuildCmd.bat" && msbuild $(Build.SourcesDirectory)/dotnet/SEALNet.sln /t:Clean'

- task: PublishSymbols@2
displayName: 'Publish symbols path'
Expand All @@ -124,7 +140,6 @@ steps:
PublishSymbols: false
continueOnError: true

- ${{ if eq(parameters.configuration, 'Release') }}:
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
displayName: 'ESRP Add Strong Name'
inputs:
Expand Down Expand Up @@ -175,7 +190,6 @@ steps:
}
]
- ${{ if eq(parameters.configuration, 'Release') }}:
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
displayName: 'ESRP CodeSigning .NET Standard 2.0'
inputs:
Expand Down Expand Up @@ -238,7 +252,6 @@ steps:
}
]
- ${{ if eq(parameters.configuration, 'Release') }}:
- task: SFP.build-tasks.custom-build-task-1.EsrpCodeSigning@1
displayName: 'ESRP CodeSigning native'
inputs:
Expand Down

0 comments on commit 4e0bbaf

Please sign in to comment.