github: update workflow for new clang version
authorMichael Wallner <mike@php.net>
Tue, 1 Jun 2021 10:33:28 +0000 (12:33 +0200)
committerMichael Wallner <mike@php.net>
Tue, 1 Jun 2021 10:33:28 +0000 (12:33 +0200)
.github/workflows/cmake-build-ci.gen
.github/workflows/cmake-build-ci.yml
README.md

index 9cc3bd974088f8b6e970d209215460177181617e..e76d433fcef54ab26742c87ebcc51574cdf32d52 100755 (executable)
@@ -44,9 +44,9 @@ const MAP = [
         ],
         "clang" => [
           'env.CC_VER' => [
-            "new"  => "-11",
-            "cur"  => "-10",
-            "old"  => "-9"
+            "new"  => "-12",
+            "cur"  => "-11",
+            "old"  => "-10"
           ]
         ]
       ]
@@ -74,15 +74,15 @@ const ENV = [
     "clang" => [
       "new" => [
         "CXXFLAGS" => "-stdlib=libc++",
-        "INSTALL_CXX" => "libc++-11-dev libc++abi-11-dev"
+        "INSTALL_CXX" => "libc++-12-dev libc++abi-12-dev"
       ],
       "cur" => [
         "CXXFLAGS" => "-stdlib=libc++",
-        "INSTALL_CXX" => "libc++-10-dev libc++abi-10-dev"
+        "INSTALL_CXX" => "libc++-11-dev libc++abi-11-dev"
       ],
       "old" => [
         "CXXFLAGS" => "-stdlib=libc++",
-        "INSTALL_CXX" => "libc++-9-dev libc++abi-9-dev"
+        "INSTALL_CXX" => "libc++-10-dev libc++abi-10-dev"
       ],
     ]
   ],
index 4c5892d3af0800f8d8a27128d06036fcc59826d0..0dd0a4de0006121e91484bdeb71b778202ff88d5 100644 (file)
@@ -450,24 +450,24 @@ jobs:
       - name: Prepare environment (for new clang on ubuntu-20.04)
         if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='clang') && (env.CC_VER=='new')
         run: |
-          echo CC="clang-11" >> ${GITHUB_ENV}
-          echo CXX="clang++-11" >> ${GITHUB_ENV}
+          echo CC="clang-12" >> ${GITHUB_ENV}
+          echo CXX="clang++-12" >> ${GITHUB_ENV}
           echo CXXFLAGS="-stdlib=libc++" >> ${GITHUB_ENV}
-          echo INSTALL_CXX="libc++-11-dev libc++abi-11-dev" >> ${GITHUB_ENV}
+          echo INSTALL_CXX="libc++-12-dev libc++abi-12-dev" >> ${GITHUB_ENV}
       - name: Prepare environment (for cur clang on ubuntu-20.04)
         if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='clang') && (env.CC_VER=='cur')
         run: |
-          echo CC="clang-10" >> ${GITHUB_ENV}
-          echo CXX="clang++-10" >> ${GITHUB_ENV}
+          echo CC="clang-11" >> ${GITHUB_ENV}
+          echo CXX="clang++-11" >> ${GITHUB_ENV}
           echo CXXFLAGS="-stdlib=libc++" >> ${GITHUB_ENV}
-          echo INSTALL_CXX="libc++-10-dev libc++abi-10-dev" >> ${GITHUB_ENV}
+          echo INSTALL_CXX="libc++-11-dev libc++abi-11-dev" >> ${GITHUB_ENV}
       - name: Prepare environment (for old clang on ubuntu-20.04)
         if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='clang') && (env.CC_VER=='old')
         run: |
-          echo CC="clang-9" >> ${GITHUB_ENV}
-          echo CXX="clang++-9" >> ${GITHUB_ENV}
+          echo CC="clang-10" >> ${GITHUB_ENV}
+          echo CXX="clang++-10" >> ${GITHUB_ENV}
           echo CXXFLAGS="-stdlib=libc++" >> ${GITHUB_ENV}
-          echo INSTALL_CXX="libc++-9-dev libc++abi-9-dev" >> ${GITHUB_ENV}
+          echo INSTALL_CXX="libc++-10-dev libc++abi-10-dev" >> ${GITHUB_ENV}
       - name: Prepare environment (for new gnu on ubuntu-18.04)
         if: (env.OS_VER=='ubuntu-18.04') && (env.CC_VND=='gnu') && (env.CC_VER=='new')
         run: |
index 81a0807e071276dadeccd9244d40f39b0e40f0f5..3b594b3716c105fea8749894ff5231f83a238e1a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -96,7 +96,7 @@ CI/Testing is performed on the following system matrix:
 
 | OS               | Compiler                     | Arch                    | Comments                   |
 |------------------|------------------------------|-------------------------|----------------------------|
-| Linux            | GNU 7/9/10, Clang 9/10/11    | amd64                   | sasl, coverage, sanitizers |
+| Linux            | GNU 7/9/10, Clang 9/10/11/12 | amd64                   | sasl, coverage, sanitizers |
 | MacOS            | AppleClang 12                | amd64                   | sasl, coverage             |
 | FreeBSD          | Clang 11                     | amd64                   | sasl, coverage             |
 | OpenBSD          | Clang 10                     | amd64                   | sasl, coverage             |