ICU-21265 Increase git fetch depth on CI builds to allow rebuilding older commits.
This commit is contained in:
parent
4f18ef2ef8
commit
901c94cd8f
@ -4,7 +4,7 @@ image: Visual Studio 2017
|
||||
platform: x64
|
||||
|
||||
# Don't clone the entire repo.
|
||||
clone_depth: 1
|
||||
clone_depth: 10
|
||||
|
||||
# Cache things between builds to speed things up and save bandwidth.
|
||||
cache:
|
||||
|
@ -38,7 +38,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- script: |
|
||||
echo "Building ICU4J" && cd icu4j && ant init && ant exhaustiveCheck
|
||||
displayName: 'Build and Exhaustive Tests'
|
||||
@ -60,7 +60,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- script: |
|
||||
cd icu4c/source && ./runConfigureICU Linux && make -j2
|
||||
displayName: 'Build'
|
||||
|
@ -11,7 +11,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- script: |
|
||||
echo "Building ICU4J" && cd icu4j && ant init && ant check
|
||||
displayName: 'Build and Test'
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- script: |
|
||||
cd icu4c/source && ./runConfigureICU Linux && make -j2 check
|
||||
displayName: 'Build and Test'
|
||||
@ -52,7 +52,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- script: |
|
||||
export CPPFLAGS="-Werror -Wall -Wextra -Wextra-semi -Wundef -Wnon-virtual-dtor" && cd icu4c/source && ./runConfigureICU Linux && make -j2 tests
|
||||
displayName: 'Build only (WarningsAsErrors)'
|
||||
@ -68,7 +68,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- script: |
|
||||
cd icu4c/source && \
|
||||
ICU_DATA_FILTER_FILE=../../.ci-builds/data-filter.json ./runConfigureICU Linux && \
|
||||
@ -88,7 +88,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- script: |
|
||||
export CXXFLAGS="-std=c++14 -Winvalid-constexpr" && cd icu4c/source && ./runConfigureICU --enable-debug --disable-release Linux --disable-layout --disable-layoutex && make -j2 check
|
||||
displayName: 'Build and Test C++14'
|
||||
@ -110,7 +110,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- task: VSBuild@1
|
||||
displayName: 'Build Solution'
|
||||
inputs:
|
||||
@ -147,7 +147,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- task: VSBuild@1
|
||||
displayName: 'Build Solution'
|
||||
inputs:
|
||||
@ -184,7 +184,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- task: VSBuild@1
|
||||
displayName: 'Build Solution'
|
||||
inputs:
|
||||
@ -228,7 +228,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- task: VSBuild@1
|
||||
displayName: 'Build Solution'
|
||||
inputs:
|
||||
@ -255,7 +255,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- task: VSBuild@1
|
||||
displayName: 'Build Solution'
|
||||
inputs:
|
||||
@ -280,7 +280,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- task: VSBuild@1
|
||||
displayName: 'Build Solution'
|
||||
inputs:
|
||||
@ -303,7 +303,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- script: |
|
||||
choco install -y msys2
|
||||
rem refreshenv
|
||||
@ -336,7 +336,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- script: |
|
||||
export CPPFLAGS="-Werror -Wall -Wextra -Wextra-semi -Wundef -Wnon-virtual-dtor" && cd icu4c/source && ./runConfigureICU MacOSX && make -j2 check
|
||||
displayName: 'Build and Test (WarningsAsErrors)'
|
||||
|
@ -39,7 +39,7 @@ jobs:
|
||||
steps:
|
||||
- checkout: self
|
||||
lfs: true
|
||||
fetchDepth: 1
|
||||
fetchDepth: 10
|
||||
- script: |
|
||||
set -ex
|
||||
sudo apt -y update
|
||||
|
Loading…
Reference in New Issue
Block a user