ci: gh-actions dispatch/release
[awesomized/libmemcached] / .github / workflows / cmake-build-ci.gen
index 9494590bd66945bb79d7d03b57050b670491a027..5cdc10c8126fda2e4ed2a39364f8df7bb3706bb6 100755 (executable)
@@ -86,13 +86,11 @@ const ENV = [
       ],
       "cur" => [
         "CXXFLAGS" => "-stdlib=libc++",
-        "INSTALL_CXX" => "libc++"
-          . MAP["env.OS_VER"]["ubuntu-20.04"]["env.CC_VND"]["clang"]["env.CC_VER"]["cur"] . "-dev"
+        "INSTALL_CXX" => "libc++-9-dev libc++abi-9-dev"
       ],
       "old" => [
         "CXXFLAGS" => "-stdlib=libc++",
-        "INSTALL_CXX" => "libc++"
-          . MAP["env.OS_VER"]["ubuntu-20.04"]["env.CC_VND"]["clang"]["env.CC_VER"]["old"] . "-dev"
+        "INSTALL_CXX" => "libc++-8-dev libc++abi-8-dev"
       ],
     ]
   ],
@@ -265,6 +263,7 @@ function steps_package() {
 function steps_notify($os_vnd) {
 ?>
       - name: Notify Gitter
+        if: success() || failure()
         run: bash .github/notify-gitter.sh ${{ secrets.GITTER }} ${{ job.status }}
 <?php
 }
@@ -298,6 +297,9 @@ function env_override($os_vnd, $cc_vnd = null) {
 ?>
 name: cmake-build-ci
 on:
+  workflow_dispatch:
+  release:
+    types: [published]
   push:
     paths:
       - "contrib/**"