]> granicus.if.org Git - icu/commitdiff
ICU-13764 Add a MacOSX CI build with Warnings-as-Errors
authorJeff Genovy <29107334+jefgen@users.noreply.github.com>
Thu, 29 Aug 2019 20:20:13 +0000 (13:20 -0700)
committerJeff Genovy <29107334+jefgen@users.noreply.github.com>
Fri, 30 Aug 2019 00:12:25 +0000 (17:12 -0700)
.ci-builds/.azure-pipelines.yml

index 9c0477cd157b3cb3cf08ad91542ea9343d729bf8..31c0cb4eee89e2998571b08339f4a59f35e483ef 100644 (file)
@@ -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