]> granicus.if.org Git - icu/commitdiff
ICU-20215 Conver the VSTS/Azure CI builds definitions to a YML file in the repo ...
authorJeff Genovy <Jeff.Genovy@microsoft.com>
Wed, 17 Oct 2018 07:03:12 +0000 (00:03 -0700)
committerJeff Genovy <29107334+jefgen@users.noreply.github.com>
Mon, 12 Nov 2018 00:30:01 +0000 (16:30 -0800)
.ci-builds/.azure-pipelines.yml [new file with mode: 0644]
.cpyskip.txt

diff --git a/.ci-builds/.azure-pipelines.yml b/.ci-builds/.azure-pipelines.yml
new file mode 100644 (file)
index 0000000..058a601
--- /dev/null
@@ -0,0 +1,82 @@
+# Azure Pipelines (VSTS) configuration for CI builds for ICU.
+
+resources:
+  - repo: self
+    lfs: true
+    fetchDepth: 1
+
+jobs:
+#-------------------------------------------------------------------------
+- job: ICU4J_OpenJDK_Ubuntu_1604
+  displayName: 'J: Linux OpenJDK (Ubuntu 16.04)'
+  timeoutInMinutes: 20
+  pool:
+    vmImage: 'Ubuntu 16.04'
+    demands: ant
+  steps:
+    - script: |
+        echo "Building ICU4J" && cd icu4j && ant init && ant check 
+      displayName: 'Build and Test'
+      env:
+        BUILD: ICU4J
+    - script: |
+        cat `find out/junit-results -name "*.txt" -exec grep -l FAILED {} \;`
+      condition: failed() # only run if the build fails.
+      displayName: 'List failures (if any)'
+#-------------------------------------------------------------------------
+- job: ICU4C_Clang_Ubuntu_1604
+  displayName: 'C: Linux Clang (Ubuntu 16.04)'
+  timeoutInMinutes: 30
+  pool:
+    vmImage: 'Ubuntu 16.04'
+  steps:
+    - script: |
+        cd icu4c/source && ./runConfigureICU Linux && make -j2 check
+      displayName: 'Build and Test'
+      env:
+        CC: clang
+        CXX: clang++
+#-------------------------------------------------------------------------
+- job: ICU4C_MSVC_x64_Release
+  displayName: 'C: MSVC 64-bit Release (VS2017)'
+  timeoutInMinutes: 30
+  pool:
+    vmImage: 'vs2017-win2016'
+    demands: 
+      - msbuild
+      - visualstudio
+      - Cmd
+  steps:
+    - task: VSBuild@1
+      displayName: 'Build Solution'
+      inputs:
+        solution: icu4c/source/allinone/allinone.sln
+        platform: x64
+        configuration: Release
+    - task: BatchScript@1
+      displayName: 'Run Tests (icucheck.bat)'
+      inputs:
+        filename: icu4c/source/allinone/icucheck.bat
+        arguments: 'x64 Release'
+#-------------------------------------------------------------------------
+- job: ICU4C_MSVC_x86_Release
+  displayName: 'C: MSVC 32-bit Release (VS2017)'
+  timeoutInMinutes: 30
+  pool:
+    vmImage: 'vs2017-win2016'
+    demands: 
+      - msbuild
+      - visualstudio
+      - Cmd
+  steps:
+    - task: VSBuild@1
+      displayName: 'Build Solution'
+      inputs:
+        solution: icu4c/source/allinone/allinone.sln
+        platform: Win32
+        configuration: Release
+    - task: BatchScript@1
+      displayName: 'Run Tests (icucheck.bat)'
+      inputs:
+        filename: icu4c/source/allinone/icucheck.bat
+        arguments: 'x86 Release'
index 19b74dafb92313fa24cc58f3b2bea9a72f2c46fd..cb96fcdbab922da86781dd77c2197dd393c44681 100644 (file)
@@ -15,6 +15,7 @@
 .gitattributes
 .travis.yml
 .appveyor.yml
+.ci-builds/*
 # suffix matches - start with '*'.  They are turned into as RE, '.brk$'
 *.brk
 *.bz2