gh-actions: more wildcards for cmake changes [travis skip]
[awesomized/libmemcached] / .github / workflows / cmake-build-ci.gen
index 2c2789bdaeaa2ca8aebd378eee2759ff89539301..d7f7679edcd6e405a73bccaf56ab066683a988c7 100755 (executable)
@@ -123,6 +123,7 @@ function steps_getdeps() {
           sudo apt-get install \
             libevent-dev \
             libsasl2-dev \
+            libtbb-dev \
             ${INSTALL_MEMCACHED} \
             ${INSTALL_CC} ${INSTALL_CXX}
           sudo systemctl stop memcached || true
@@ -266,13 +267,27 @@ jobs:
       - uses: actions/checkout@v2
 <?php steps(); ?>
 
+  # thread sanitizer build
+  dbg-tsan:
+    name: dbg-tsan (<?=defaults()?>)
+    runs-on: <?=DEF[DEF["os"]]?> #
+    env:
+      ENABLE_SANITIZERS:  "thread"
+    steps:
+      - uses: actions/checkout@v2
+<?php steps(); ?>
+
   # mac build
   dbg-mac:
     name: dbg-mac (<?=DEF["macOS"]?>, <?=DEF[DEF["macOS"]]?>, <?=DEF[DEF[DEF["macOS"]]]["ver"]?>)
     runs-on: <?=DEF["macOS"]?> #
     env:
-      CFLAGS: -O0 --coverage
+      CFLAGS:   -O0 --coverage
       CXXFLAGS: -O0 --coverage
+      OS_VND:   macOS
+      OS_VER:   <?=DEF["macOS"]?> #
+      CC_VND:   <?=DEF[DEF["macOS"]]?> #
+      CC_VER:   <?=DEF[DEF[DEF["macOS"]]]["ver"]?> #
     continue-on-error: true
     steps:
       - uses: actions/checkout@v2