Skip to content

Commit 0446f86

Browse files
committed
Add Memcached support to CI workflow for macOS setup
1 parent 504bad0 commit 0446f86

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/continuous-integration.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,14 @@ jobs:
9797
sleep 8
9898
redis-cli ping
9999
100+
- name: Install Memcached (macOS)
101+
if: runner.os == 'macOS'
102+
run: |
103+
brew install memcached
104+
brew services start memcached
105+
pecl install -f memcached
106+
echo "extension=memcached.so" >> $(php --ini | grep "Loaded Configuration" | awk '{print $4}')
107+
100108
- name: Setup PHP ${{ matrix.php-version }}
101109
uses: shivammathur/setup-php@v2
102110
with:

0 commit comments

Comments
 (0)