gh-actions: fix libc++ versions
authorMichael Wallner <mike@php.net>
Tue, 13 Apr 2021 15:10:38 +0000 (17:10 +0200)
committerMichael Wallner <mike@php.net>
Tue, 13 Apr 2021 15:10:38 +0000 (17:10 +0200)
.github/workflows/cmake-build-ci.gen
.github/workflows/cmake-build-ci.yml

index e3031cb4b8c5716c8cb2ae7cbdd77184e47330a7..9cc3bd974088f8b6e970d209215460177181617e 100755 (executable)
@@ -71,23 +71,18 @@ const MAP = [
 ];
 const ENV = [
   "ubuntu-20.04" => [
-    "gnu" => [
-      "new" => [
-        "INSTALL_CC" => "gcc-10",
-        "INSTALL_CXX" => "g++-10",
-      ]
-    ],
     "clang" => [
       "new" => [
-        "CXXFLAGS" => "-stdlib=libc++"
+        "CXXFLAGS" => "-stdlib=libc++",
+        "INSTALL_CXX" => "libc++-11-dev libc++abi-11-dev"
       ],
       "cur" => [
         "CXXFLAGS" => "-stdlib=libc++",
-        "INSTALL_CXX" => "libc++-9-dev libc++abi-9-dev"
+        "INSTALL_CXX" => "libc++-10-dev libc++abi-10-dev"
       ],
       "old" => [
         "CXXFLAGS" => "-stdlib=libc++",
-        "INSTALL_CXX" => "libc++-8-dev libc++abi-8-dev"
+        "INSTALL_CXX" => "libc++-9-dev libc++abi-9-dev"
       ],
     ]
   ],
index 61566d93b74332578e0f21e2c341d9d4fc8b3208..4c5892d3af0800f8d8a27128d06036fcc59826d0 100644 (file)
@@ -442,8 +442,6 @@ jobs:
         run: |
           echo CC="gcc-10" >> ${GITHUB_ENV}
           echo CXX="g++-10" >> ${GITHUB_ENV}
-          echo INSTALL_CC="gcc-10" >> ${GITHUB_ENV}
-          echo INSTALL_CXX="g++-10" >> ${GITHUB_ENV}
       - name: Prepare environment (for cur gnu on ubuntu-20.04)
         if: (env.OS_VER=='ubuntu-20.04') && (env.CC_VND=='gnu') && (env.CC_VER=='cur')
         run: |
@@ -455,20 +453,21 @@ jobs:
           echo CC="clang-11" >> ${GITHUB_ENV}
           echo CXX="clang++-11" >> ${GITHUB_ENV}
           echo CXXFLAGS="-stdlib=libc++" >> ${GITHUB_ENV}
+          echo INSTALL_CXX="libc++-11-dev libc++abi-11-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 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 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 CXXFLAGS="-stdlib=libc++" >> ${GITHUB_ENV}
-          echo INSTALL_CXX="libc++-8-dev libc++abi-8-dev" >> ${GITHUB_ENV}
+          echo INSTALL_CXX="libc++-9-dev libc++abi-9-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: |