# Note: The exhaustive test configuration is in a separate file
# so that it can be run independently from the regular builds.
#
-
-resources:
- - repo: self
- lfs: true
- fetchDepth: 1
-
# Only run the exhaustive tests on the master and maint branches, and
# also batch up any pending changes so that we will only have at most
# one build running at a given time (since they take a long time).
branches:
include:
- master
- - maint/*
+ - maint/maint-*
jobs:
#-------------------------------------------------------------------------
vmImage: 'Ubuntu 16.04'
demands: ant
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- script: |
echo "Building ICU4J" && cd icu4j && ant init && ant exhaustiveCheck
displayName: 'Build and Exhaustive Tests'
env:
BUILD: ICU4J
- script: |
- cat `find out/junit-results -name "*.txt" -exec grep -l FAILED {} \;`
+ [ -d icu4j/out/junit-results ] && cd icu4j && cat `find out/junit-results -name "*.txt" -exec grep -l FAILED {} \;`
condition: failed() # only run if the build fails.
displayName: 'List failures (if any)'
+ timeoutInMinutes: 2
#-------------------------------------------------------------------------
# Note: The exhaustive tests take roughly 65 mins to complete on the
# Azure VMs.
pool:
vmImage: 'Ubuntu 16.04'
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- script: |
cd icu4c/source && ./runConfigureICU Linux && make -j2
displayName: 'Build'
# Azure Pipelines (VSTS) configuration for CI builds for ICU.
-resources:
- - repo: self
- lfs: true
- fetchDepth: 1
-
jobs:
#-------------------------------------------------------------------------
- job: ICU4J_OpenJDK_Ubuntu_1604
vmImage: 'Ubuntu 16.04'
demands: ant
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- script: |
echo "Building ICU4J" && cd icu4j && ant init && ant check
displayName: 'Build and Test'
env:
BUILD: ICU4J
- script: |
- cd icu4j && cat `find out/junit-results -name "*.txt" -exec grep -l FAILED {} \;`
+ [ -d icu4j/out/junit-results ] && cd icu4j && cat `find out/junit-results -name "*.txt" -exec grep -l FAILED {} \;`
condition: failed() # only run if the build fails.
displayName: 'List failures (if any)'
#-------------------------------------------------------------------------
pool:
vmImage: 'Ubuntu 16.04'
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- script: |
cd icu4c/source && ./runConfigureICU Linux && make -j2 check
displayName: 'Build and Test'
pool:
vmImage: 'Ubuntu 16.04'
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- script: |
export CPPFLAGS="-Werror -Wall -Wextra -Wextra-semi -Wundef -Wnon-virtual-dtor" && cd icu4c/source && ./runConfigureICU Linux && make -j2 tests
displayName: 'Build only (WarningsAsErrors)'
pool:
vmImage: 'Ubuntu 16.04'
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- script: |
cd icu4c/source && \
ICU_DATA_FILTER_FILE=../../.ci-builds/data-filter.json ./runConfigureICU Linux && \
- visualstudio
- Cmd
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- task: VSBuild@1
displayName: 'Build Solution'
inputs:
- visualstudio
- Cmd
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- task: VSBuild@1
displayName: 'Build Solution'
inputs:
- visualstudio
- Cmd
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- task: VSBuild@1
displayName: 'Build Solution'
inputs:
- visualstudio
- Cmd
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- powershell: |
$filterPath = $Env:BUILD_SOURCESDIRECTORY + "\.ci-builds\data-filter.json"
$vstsCommandString = "vso[task.setvariable variable=ICU_DATA_FILTER_FILE]" + $filterPath
- visualstudio
- Cmd
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- task: VSBuild@1
displayName: 'Build Solution'
inputs:
- visualstudio
- Cmd
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- powershell: 'Invoke-WebRequest https://www.python.org/ftp/python/3.7.2/python-3.7.2-amd64-webinstall.exe -OutFile c:\py3-setup.exe'
- script: |
c:\py3-setup.exe /quiet PrependPath=1 InstallAllUsers=1 Include_launcher=1 InstallLauncherAllUsers=1 Include_test=0 Include_doc=0 Include_dev=0 Include_debug=0 Include_tcltk=0 TargetDir=c:\py3
demands:
- Cmd
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- script: |
choco install -y msys2
rem refreshenv
pool:
vmImage: 'macOS-10.14'
steps:
+ - checkout: self
+ lfs: true
+ fetchDepth: 1
- script: |
export CPPFLAGS="-Werror -Wall -Wextra -Wextra-semi -Wundef -Wnon-virtual-dtor" && cd icu4c/source && ./runConfigureICU MacOSX && make -j2 tests
displayName: 'Build only (WarningsAsErrors)'