Skip to content

Commit

Permalink
ICU-22522 Update the Azure CI from Clang 14 to Clang 16.
Browse files Browse the repository at this point in the history
  • Loading branch information
roubert committed Nov 30, 2023
1 parent f99f8c6 commit 78b1a3f
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .ci-builds/.azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
CC: clang
CXX: clang++
#-------------------------------------------------------------------------
- job: ICU4C_Clang_Cpp14_Debug_Ubuntu_2204
- job: ICU4C_Clang_Cpp17_Debug_Ubuntu_2204
displayName: 'C: Linux Clang C++17 Debug (Ubuntu 22.04)'
timeoutInMinutes: 30
pool:
Expand Down Expand Up @@ -143,78 +143,78 @@ jobs:
CXX: clang++
LANG: "en_US@calendar=gregorian;hours=h12"
#-------------------------------------------------------------------------
- job: ICU4C_Clang14_Ubuntu_2004_WarningsAsErrors
displayName: 'C: Linux Clang-14 WarningsAsErrors (Ubuntu 20.04)'
- job: ICU4C_Clang16_Ubuntu_2004_WarningsAsErrors
displayName: 'C: Linux Clang-16 WarningsAsErrors (Ubuntu 20.04)'
timeoutInMinutes: 30
pool:
vmImage: 'ubuntu-20.04'
steps:
- checkout: self
lfs: true
fetchDepth: 10
# Install Clang-14 from https://apt.llvm.org/
# Install Clang-16 from https://apt.llvm.org/
- script: |
curl -Ls https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository 'deb http:https://apt.llvm.org/focal/ llvm-toolchain-focal-14 main'
sudo apt-add-repository 'deb http:https://apt.llvm.org/focal/ llvm-toolchain-focal-16 main'
sudo apt update
sudo apt install -qy clang-14 lld-14 libc++-14-dev libc++abi-14-dev
displayName: 'Install Clang-14'
sudo apt install -qy clang-16 lld-16 libc++-16-dev libc++abi-16-dev
displayName: 'Install Clang-16'
- script: |
cd icu4c/source && ./runConfigureICU Linux && make -j -l2.5 tests
displayName: 'Build only (WarningsAsErrors)'
env:
CC: clang-14
CPPFLAGS: '-Werror -Wall -Wextra -Wextra-semi -Wundef -Wnon-virtual-dtor -Wsuggest-override'
CXX: clang++-14
CC: clang-16
CPPFLAGS: '-Werror -Wno-strict-prototypes -Wno-gnu-offsetof-extensions -Wall -Wextra -Wextra-semi -Wundef -Wnon-virtual-dtor -Wsuggest-override'
CXX: clang++-16
#-------------------------------------------------------------------------
- job: ICU4C_Clang14_Cpp20_Ubuntu_2004
displayName: 'C: Linux Clang-14 C++20 (Ubuntu 20.04)'
- job: ICU4C_Clang16_Cpp20_Ubuntu_2004
displayName: 'C: Linux Clang-16 C++20 (Ubuntu 20.04)'
timeoutInMinutes: 30
pool:
vmImage: 'ubuntu-20.04'
steps:
- checkout: self
lfs: true
fetchDepth: 10
# Install Clang-14 from https://apt.llvm.org/
# Install Clang-16 from https://apt.llvm.org/
- script: |
curl -Ls https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository 'deb http:https://apt.llvm.org/focal/ llvm-toolchain-focal-14 main'
sudo apt-add-repository 'deb http:https://apt.llvm.org/focal/ llvm-toolchain-focal-16 main'
sudo apt update
sudo apt install -qy clang-14 lld-14 libc++-14-dev libc++abi-14-dev
displayName: 'Install Clang-14'
sudo apt install -qy clang-16 lld-16 libc++-16-dev libc++abi-16-dev
displayName: 'Install Clang-16'
- script: |
cd icu4c/source && ./runConfigureICU Linux && make -j -l2.5 check
displayName: 'Build and Test'
env:
CC: clang-14
CPPFLAGS: '-Werror'
CXX: clang++-14
CC: clang-16
CPPFLAGS: '-Werror -Wno-strict-prototypes -Wno-gnu-offsetof-extensions'
CXX: clang++-16
CXXFLAGS: '-std=c++20'
#-------------------------------------------------------------------------
- job: ICU4C_Clang14_Cpp20_libcpp_Ubuntu_2004
displayName: 'C: Linux Clang-14 C++20 libc++ (Ubuntu 20.04)'
- job: ICU4C_Clang16_Cpp20_libcpp_Ubuntu_2004
displayName: 'C: Linux Clang-16 C++20 libc++ (Ubuntu 20.04)'
timeoutInMinutes: 30
pool:
vmImage: 'ubuntu-20.04'
steps:
- checkout: self
lfs: true
fetchDepth: 10
# Install Clang-14 from https://apt.llvm.org/
# Install Clang-16 from https://apt.llvm.org/
- script: |
curl -Ls https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt-add-repository 'deb http:https://apt.llvm.org/focal/ llvm-toolchain-focal-14 main'
sudo apt-add-repository 'deb http:https://apt.llvm.org/focal/ llvm-toolchain-focal-16 main'
sudo apt update
sudo apt install -qy clang-14 lld-14 libc++-14-dev libc++abi-14-dev
displayName: 'Install Clang-14'
sudo apt install -qy clang-16 lld-16 libc++-16-dev libc++abi-16-dev
displayName: 'Install Clang-16'
- script: |
cd icu4c/source && ./runConfigureICU Linux && make -j -l2.5 check
displayName: 'Build and Test'
env:
CC: clang-14
CPPFLAGS: '-Werror'
CXX: clang++-14
CC: clang-16
CPPFLAGS: '-Werror -Wno-strict-prototypes -Wno-gnu-offsetof-extensions'
CXX: clang++-16
CXXFLAGS: '-std=c++20 -stdlib=libc++'
#-------------------------------------------------------------------------
# VS 2022 Builds
Expand Down

0 comments on commit 78b1a3f

Please sign in to comment.