skip clang 6; define memcached path
authorMichael Wallner <mike@php.net>
Fri, 2 Oct 2020 08:31:46 +0000 (10:31 +0200)
committerMichael Wallner <mike@php.net>
Fri, 2 Oct 2020 08:31:46 +0000 (10:31 +0200)
.github/workflows/cmake-build-ci.gen
.github/workflows/cmake-build-ci.yml

index 5bc59222a6c9f4f32689a9c78c0862fe23e433cd..43e7f713aaed659f272a4fc826584cbf429fda22 100755 (executable)
@@ -64,7 +64,7 @@ const MAP = [
           'env.CC_VER' => [
             "new"  => "-9",
             "cur"  => "-8",
-            "old"  => "-6.0"
+            // old => "-6.0" ### skip
           ]
         ]
       ]
@@ -161,6 +161,7 @@ jobs:
         compiler_vendor: [gnu, clang]
         compiler_version: [new, cur, old]
     runs-on: ${{ matrix.os }}
+    if: !(matrix.os == 'ubuntu-18.04' && matrix.compiler_vendor == 'clang' && matrix.compiler_version == 'old') # skip clang-6
     env:
       CMAKE_CONFIG_TYPE: Release
       OS_VND: Linux
@@ -208,6 +209,7 @@ jobs:
       - uses: actions/checkout@v2
         with:
           repository: memcached/memcached
+          path: memcached
           ref: 1.6.7
       - name: Build memcached
         run: |
index afa528a29cfbcb4ed01c303256118a6545f94239..58719922cace0cf3cd6620f355e32f83daf9559f 100644 (file)
@@ -34,6 +34,7 @@ jobs:
         compiler_vendor: [gnu, clang]
         compiler_version: [new, cur, old]
     runs-on: ${{ matrix.os }}
+    if: !(matrix.os == 'ubuntu-18.04' && matrix.compiler_vendor == 'clang' && matrix.compiler_version == 'old') # skip clang-6
     env:
       CMAKE_CONFIG_TYPE: Release
       OS_VND: Linux
@@ -99,11 +100,6 @@ jobs:
         run: |
           echo CC=clang-8 >> ${GITHUB_ENV}
           echo CXX=clang++-8 >> ${GITHUB_ENV}
-      - name: Prepare environment (for old clang on ubuntu-18.04)
-        if: (env.OS_VER=='ubuntu-18.04') && (env.CC_VND=='clang') && (env.CC_VER=='old')
-        run: |
-          echo CC=clang-6.0 >> ${GITHUB_ENV}
-          echo CXX=clang++-6.0 >> ${GITHUB_ENV}
       - name: Install dependencies
         if: runner.os == 'Linux'
         run: sudo apt-get install libevent-dev libsasl2-dev ${INSTALL_MEMCACHED} ${INSTALL_CC} ${INSTALL_CXX}
@@ -192,6 +188,7 @@ jobs:
       - uses: actions/checkout@v2
         with:
           repository: memcached/memcached
+          path: memcached
           ref: 1.6.7
       - name: Build memcached
         run: |