ci: memcached-1.6.13
[awesomized/libmemcached] / .github / workflows / cmake-build-ci.yml
index 0dd0a4de0006121e91484bdeb71b778202ff88d5..9675ab0c0004eadaec0fdaa15ce4056db5dba686 100644 (file)
@@ -51,7 +51,7 @@ jobs:
         with:
           repository: memcached/memcached
           path: memcached
-          ref: 1.6.7
+          ref: 1.6.13
       - 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: |
@@ -222,6 +222,7 @@ jobs:
       - name: Install dependencies (macOS)
         if: runner.os == 'macOS'
         run: |
+          brew update # we need at least memcached-1.6.10 for the META proto
           brew install bison flex sphinx-doc ${INSTALL_MEMCACHED}
           brew services stop memcached || true
           echo MEMCACHED_BINARY="/usr/local/bin/memcached" >> ${GITHUB_ENV}
@@ -296,6 +297,7 @@ jobs:
       - name: Install dependencies (macOS)
         if: runner.os == 'macOS'
         run: |
+          brew update # we need at least memcached-1.6.10 for the META proto
           brew install bison flex sphinx-doc ${INSTALL_MEMCACHED}
           brew services stop memcached || true
           echo MEMCACHED_BINARY="/usr/local/bin/memcached" >> ${GITHUB_ENV}
@@ -374,6 +376,7 @@ jobs:
         run: |
           echo "c:\msys64\usr\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
           echo "c:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
+          echo 'CMAKE_GENERATOR=Visual Studio 16 2019' | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
       - name: Prepare environment (MinGW)
         if: env.CC_VND == 'mingw'
         run: |