Skip to content

Commit

Permalink
ci: ubuntu already ships with awesomized/libmemcached
Browse files Browse the repository at this point in the history
  • Loading branch information
m6w6 committed Sep 25, 2024
1 parent 93c1bc4 commit 8a6b0c7
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ jobs:
php: ['7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
experimental: [false]
include:
- php: '8.2'
awesome: true
experimental: true
- php: '8.4'
experimental: true
steps:
Expand All @@ -29,20 +26,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install cmake memcached libsasl2-dev sasl2-bin zlib1g-dev
- if: ${{ ! matrix.awesome }}
name: Install libmemcached-dev (from distro)
- name: Install libmemcached-dev
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.4.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

0 comments on commit 8a6b0c7

Please sign in to comment.