From: Jeff Genovy <29107334+jefgen@users.noreply.github.com> Date: Thu, 29 Aug 2019 20:20:13 +0000 (-0700) Subject: ICU-13764 Add a MacOSX CI build with Warnings-as-Errors X-Git-Tag: release-65-rc~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ef40f7774ec8533364c467ad8f797e8fb5da82a;p=icu ICU-13764 Add a MacOSX CI build with Warnings-as-Errors --- diff --git a/.ci-builds/.azure-pipelines.yml b/.ci-builds/.azure-pipelines.yml index 9c0477cd157..31c0cb4eee8 100644 --- a/.ci-builds/.azure-pipelines.yml +++ b/.ci-builds/.azure-pipelines.yml @@ -256,3 +256,16 @@ jobs: set MSYSTEM=MINGW64 c:\tools\msys64\usr\bin\bash.exe -lc "cd $BUILD_SOURCESDIRECTORY && cd icu4c/source && ./runConfigureICU MinGW && make -j2 check" displayName: 'Build and Test ICU4C' +#------------------------------------------------------------------------- +- job: ICU4C_Clang_MacOSX_WarningsAsErrors + displayName: 'C: macOSX Clang WarningsAsErrors (Mojave 10.14)' + timeoutInMinutes: 30 + pool: + vmImage: 'macOS-10.14' + steps: + - script: | + export CPPFLAGS="-Werror -Wall -Wextra -Wextra-semi" && cd icu4c/source && ./runConfigureICU MacOSX && make -j2 tests + displayName: 'Build only (WarningsAsErrors)' + env: + CC: clang + CXX: clang++ \ No newline at end of file