Skip to content

Commit

Permalink
Change extraction of php-src tgz to account for inconsistent paths in…
Browse files Browse the repository at this point in the history
… the tgz
  • Loading branch information
asgrim committed Oct 23, 2023
1 parent 0042ffe commit f56cac8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,13 @@ jobs:
run: |
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install software-properties-common build-essential autoconf libxml2-dev libsqlite3-dev libcurl4-openssl-dev
cd /tmp
mkdir -p /tmp/php
cd /tmp/php
echo "Downloading release from ${{ env.php_src_download_url }} ..."
wget ${{ env.php_src_download_url }}
tar zxf php-${{ matrix.php-version }}.tar.gz
cd php-${{ matrix.php-version }}
wget -O php.tgz ${{ env.php_src_download_url }}
tar zxf php.tgz
rm php.tgz
cd *
./configure --with-pear --enable-debug --with-openssl ${{ env.zts_flag }} ${{ matrix.php-options }}
make -j$(nproc)
sudo make install
Expand Down

0 comments on commit f56cac8

Please sign in to comment.