]> granicus.if.org Git - icu/commitdiff
ICU-22266 update OS version to 22.04 from 18.04
authorFrank Tang <ftang@chromium.org>
Tue, 7 Feb 2023 20:05:12 +0000 (12:05 -0800)
committerFrank Yung-Fong Tang <ftang@google.com>
Wed, 8 Feb 2023 21:43:14 +0000 (13:43 -0800)
Update configuration in main/.ci-builds from the deprecated 18.04
to the newest 22.04

Since vangrind has issue under 22.04 use 20.04 for vangrind for now.

Also use apt-get instead of apt since apt does not have a stable
commandline interface.

.ci-builds/.azure-exhaustive-tests.yml
.ci-builds/.azure-pipelines.yml
.ci-builds/.azure-valgrind.yml

index 9770b9b09dba87c6e6c1e1205fdaa1ed9a4e9226..bfa080ba985957b5f2dac25b02734d17a0c6777e 100644 (file)
@@ -30,11 +30,11 @@ trigger:
 jobs:
 #-------------------------------------------------------------------------
 # Note: The exhaustive tests can take more than 1 hour to complete.
-- job: ICU4J_OpenJDK_Ubuntu_1804
-  displayName: 'J: Linux OpenJDK (Ubuntu 18.04)'
+- job: ICU4J_OpenJDK_Ubuntu_2204
+  displayName: 'J: Linux OpenJDK (Ubuntu 22.04)'
   timeoutInMinutes: 120
   pool:
-    vmImage: 'ubuntu-18.04'
+    vmImage: 'ubuntu-22.04'
     demands: ant
   steps:
     - checkout: self
@@ -52,11 +52,11 @@ jobs:
       timeoutInMinutes: 2
 #-------------------------------------------------------------------------
 # Note: The exhaustive tests can take more than 1 hour to complete.
-- job: ICU4C_Clang_Exhaustive_Ubuntu_1804
-  displayName: 'C: Linux Clang Exhaustive Tests (Ubuntu 18.04)'
+- job: ICU4C_Clang_Exhaustive_Ubuntu_2204
+  displayName: 'C: Linux Clang Exhaustive Tests (Ubuntu 22.04)'
   timeoutInMinutes: 120
   pool:
-    vmImage: 'ubuntu-18.04'
+    vmImage: 'ubuntu-22.04'
   steps:
     - checkout: self
       lfs: true
@@ -73,10 +73,10 @@ jobs:
 #-------------------------------------------------------------------------
 # Based on https://unicode-org.github.io/icu/processes/release/tasks/integration.html#test-icu4j-with-only-little-endian-icu4c-data
 - job: ICU4J_with_only_little_endian_ICU4C_data
-  displayName: 'CJ: ICU4J Linux Clang Tests little-endian ICU4C data (Ubuntu 18.04)'
+  displayName: 'CJ: ICU4J Linux Clang Tests little-endian ICU4C data (Ubuntu 22.04)'
   timeoutInMinutes: 50
   pool:
-    vmImage: 'ubuntu-18.04'
+    vmImage: 'ubuntu-22.04'
     demands: ant
   steps:
     - checkout: self
index 8fef2b8c7914a633fba62e62e23e0a988d6c822d..115b383797afe759ff1de62e043e8c1f116b9f18 100644 (file)
@@ -2,11 +2,11 @@
 
 jobs:
 #-------------------------------------------------------------------------
-- job: ICU4J_OpenJDK_Ubuntu_1804
-  displayName: 'J: Linux OpenJDK (Ubuntu 18.04)'
+- job: ICU4J_OpenJDK_Ubuntu_2204
+  displayName: 'J: Linux OpenJDK (Ubuntu 22.04)'
   timeoutInMinutes: 20
   pool:
-    vmImage: 'ubuntu-18.04'
+    vmImage: 'ubuntu-22.04'
     demands: ant
   steps:
     - checkout: self
@@ -23,11 +23,11 @@ jobs:
       condition: failed() # only run if the build fails.
       displayName: 'List failures (if any)'
 #-------------------------------------------------------------------------
-- job: ICU4C_Clang_Ubuntu_1804
-  displayName: 'C: Linux Clang (Ubuntu 18.04)'
+- job: ICU4C_Clang_Ubuntu_2204
+  displayName: 'C: Linux Clang (Ubuntu 22.04)'
   timeoutInMinutes: 30
   pool:
-    vmImage: 'ubuntu-18.04'
+    vmImage: 'ubuntu-22.04'
   steps:
     - checkout: self
       lfs: true
@@ -45,11 +45,11 @@ jobs:
         cd icu4c/source/test/cintltst && LANG=C.UTF-8 LD_LIBRARY_PATH=../../lib:../../tools/ctestfw ./cintltst /tsutil/cloctst/TestCDefaultLocale
       displayName: 'Test C.UTF-8 Default locale'
 #-------------------------------------------------------------------------
-- job: ICU4C_Clang_Ubuntu_DataFilter_1804
-  displayName: 'C: Linux Clang DataFilter (Ubuntu 18.04)'
+- job: ICU4C_Clang_Ubuntu_DataFilter_2204
+  displayName: 'C: Linux Clang DataFilter (Ubuntu 22.04)'
   timeoutInMinutes: 30
   pool:
-    vmImage: 'ubuntu-18.04'
+    vmImage: 'ubuntu-22.04'
   steps:
     - checkout: self
       lfs: true
@@ -65,11 +65,11 @@ jobs:
         CC: clang
         CXX: clang++
 #-------------------------------------------------------------------------
-- job: ICU4C_Clang_Cpp14_Debug_Ubuntu_1804
-  displayName: 'C: Linux Clang C++17 Debug (Ubuntu 18.04)'
+- job: ICU4C_Clang_Cpp14_Debug_Ubuntu_2204
+  displayName: 'C: Linux Clang C++17 Debug (Ubuntu 22.04)'
   timeoutInMinutes: 30
   pool:
-    vmImage: 'ubuntu-18.04'
+    vmImage: 'ubuntu-22.04'
   steps:
     - checkout: self
       lfs: true
@@ -612,11 +612,11 @@ jobs:
         CC: gcc
         CXX: g++
 #-------------------------------------------------------------------------
-- job: ICU4C_icuexportdata_Ubuntu_1804
+- job: ICU4C_icuexportdata_Ubuntu_2204
   displayName: 'C: Create Artifacts from icuexportdata'
   timeoutInMinutes: 30
   pool:
-    vmImage: 'ubuntu-18.04'
+    vmImage: 'ubuntu-22.04'
   steps:
     - checkout: self
       lfs: true
index d02f2962ac6c6d05664100867552e882fddb8c8b..5492f79e5a959efcc39eccf89106b1d874deeb78 100644 (file)
@@ -28,19 +28,19 @@ pr:
 
 jobs:
 #-------------------------------------------------------------------------
-- job: ICU4C_Clang_Valgrind_Ubuntu_1804
-  displayName: 'C: Linux Clang Valgrind (Ubuntu 18.04)'
+- job: ICU4C_Clang_Valgrind_Ubuntu_2004
+  displayName: 'C: Linux Clang Valgrind (Ubuntu 20.04)'
   timeoutInMinutes: 75
   pool:
-    vmImage: 'ubuntu-18.04'
+    vmImage: 'ubuntu-20.04'
   steps:
     - checkout: self
       lfs: true
       fetchDepth: 10
     - script: |
         set -ex
-        sudo apt -y update
-        sudo apt install -y valgrind
+        sudo apt-get -y update
+        sudo apt-get install -y valgrind
       displayName: 'Install valgrind'
       timeoutInMinutes: 5
     - script: |