Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
experimental: [false]
include:
- php: '8.2'
awesome: true
experimental: true
- php: '8.3'
experimental: true
steps:
Expand All @@ -25,7 +28,21 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libmemcached-dev memcached libsasl2-dev sasl2-bin zlib1g-dev
sudo apt-get install cmake memcached libsasl2-dev sasl2-bin zlib1g-dev
- if: ${{ ! matrix.awesome }}
name: Install libmemcached-dev (from distro)
run: sudo apt-get install libmemcached-dev
- if: ${{ matrix.awesome }}
name: Install libmemcached-awesome (from source)
run: |
curl -sL -o libmemcached.tgz https://github.com/awesomized/libmemcached/archive/refs/tags/1.1.3.tar.gz
mkdir libmemcached
tar --strip-components=1 -xf libmemcached.tgz -C libmemcached
mkdir build-libmemcached
cd build-libmemcached
cmake -D ENABLE_HASH_HSIEH=ON -D ENABLE_SASL=ON ../libmemcached
make
sudo make install
- name: Start memcached daemons
run: |
export SASL_CONF_PATH="/tmp/sasl2"
Expand Down