ICU-22597 Add MSVC build bot to build ICU4C without exceptions

See #2829
This commit is contained in:
Rahul Pandey 2024-03-06 11:50:40 +00:00 committed by Fredrik Roubert
parent 89cf56333f
commit a0cdb9cda5

View file

@ -636,3 +636,30 @@ jobs:
inputs:
PathtoPublish: 'icuexportdata_tag-goes-here.zip'
ArtifactName: 'icuexportdata_output'
#-------------------------------------------------------------------------
# Builds MSVC with cpp exceptions turned off
- job: ICU4C_MSVC_x64_Release_NoExceptions
displayName: 'C: MSVC 64-bit Release No Exceptions'
timeoutInMinutes: 30
pool:
vmImage: 'windows-2022'
demands:
- msbuild
- visualstudio
- Cmd
steps:
- checkout: self
lfs: true
fetchDepth: 10
- task: VSBuild@1
displayName: 'Build Solution'
inputs:
solution: icu4c/source/allinone/allinone.sln
platform: x64
configuration: Release
msbuildArgs: '/p:_HAS_EXCEPTIONS=0'
- task: BatchScript@1
displayName: 'Run Tests (icucheck.bat)'
inputs:
filename: icu4c/source/allinone/icucheck.bat
arguments: 'x64 Release'