Skip to content

Commit

Permalink
Resolve dependency issue with libmemcached-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
asgrim committed Oct 6, 2023
1 parent 71d0714 commit 047c8d9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI Build

on:
push:
pull_request:
# pull_request:

jobs:
curl-compilation-test:
Expand Down Expand Up @@ -165,6 +165,11 @@ jobs:
- { os: ubuntu-22.04, php-version: 8.0.0 }
- { os: ubuntu-22.04, php-version: 8.0.30 }
steps:
- name: "Purge built-in PHP version"
run: |
sudo apt-get purge -y libmemcached11 php* hhvm libhashkit2
sudo apt-add-repository --remove ppa:ondrej/php -y
sudo apt-get update
- uses: actions/checkout@v3

- name: "Set ZTS mode, PHP 8+"
Expand Down Expand Up @@ -192,12 +197,13 @@ jobs:
wget ${{ env.php_src_download_url }}
tar zxf php-${{ matrix.php-version }}.tar.gz
cd php-${{ matrix.php-version }}
./configure --enable-debug --with-openssl ${{ env.zts_flag }} ${{ matrix.php-options }}
./configure --with-pear --enable-debug --with-openssl ${{ env.zts_flag }} ${{ matrix.php-options }}
make -j$(nproc)
sudo make install
cd $GITHUB_WORKSPACE
- name: "Update PEAR/PECL channels"
run: |
ls -l /usr/local/bin/
sudo pear update-channels
sudo pecl update-channels
- name: "Install Redis extension (PHP 7.1)"
Expand Down

0 comments on commit 047c8d9

Please sign in to comment.