'env.CC_VER' => [
"new" => "-9",
"cur" => "-8",
- "old" => "-6.0"
+ // old => "-6.0" ### skip
]
]
]
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
- uses: actions/checkout@v2
with:
repository: memcached/memcached
+ path: memcached
ref: 1.6.7
- name: Build memcached
run: |
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
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}
- uses: actions/checkout@v2
with:
repository: memcached/memcached
+ path: memcached
ref: 1.6.7
- name: Build memcached
run: |