]> granicus.if.org Git - icu/commitdiff
ICU-21600 Increase timeout and separate build/test in Cygwin CI
authorDaniel Ju <daju@microsoft.com>
Fri, 14 May 2021 23:46:34 +0000 (16:46 -0700)
committerDaniel Ju <41210545+daniel-ju@users.noreply.github.com>
Mon, 17 May 2021 17:59:16 +0000 (13:59 -0400)
.ci-builds/.azure-pipelines.yml

index a9a4ee309d1c9f5db9a2e089c424b35641c4c5eb..e29bb359b2929fa55bf77ee1350e66c6bdd27bb2 100644 (file)
@@ -402,7 +402,7 @@ jobs:
 #-------------------------------------------------------------------------
 - job: ICU4C_Cygwin_GCC_x86_64_Release
   displayName: 'C: Cygwin GCC x86_64 Release'
-  timeoutInMinutes: 120
+  timeoutInMinutes: 180
   pool:
     vmImage: 'windows-2019'
   variables:
@@ -456,8 +456,14 @@ jobs:
         %CYG_ROOT%\\bin\\sh -lc 'echo Hello' && %CYG_ROOT%\\bin\\sh -lc 'uname -a'
       displayName: 'Check Cygwin environment'
     - script: |
-        %CYG_ROOT%\\bin\\bash -lc "cd $(cygpath \"$(Build.SourcesDirectory)\") && cd icu4c/source && ./runConfigureICU Cygwin && make check"
-      displayName: 'Build and test'
+        %CYG_ROOT%\\bin\\bash -lc "cd $(cygpath \"$(Build.SourcesDirectory)\") && cd icu4c/source && ./runConfigureICU Cygwin && make tests"
+      displayName: 'Build ICU (source and test)'
+      env:
+        CC: gcc
+        CXX: g++
+    - script: |
+        %CYG_ROOT%\\bin\\bash -lc "cd $(cygpath \"$(Build.SourcesDirectory)\") && cd icu4c/source && make check"
+      displayName: 'Run Tests'
       env:
         CC: gcc
         CXX: g++