Skip to content

Commit 1497db4

Browse files
committed
reverted pre-run
Signed-off-by: bota <Bota@dotkernel.com>
1 parent 648aff1 commit 1497db4

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.laminas-ci/pre-run.sh

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
apt-get update
2-
apt-get install -y php-dev php-pear libcurl4-openssl-dev libssl-dev gcc make autoconf
1+
JOB=$3
2+
PHP_VERSION=$(echo "${JOB}" | jq -r '.php')
33

4-
pecl channel-update pecl.php.net
5-
6-
pecl install -f swoole
7-
8-
echo "extension=swoole.so" > /etc/php/cli/conf.d/20-swoole.ini
4+
apt update
5+
apt install -y "php${PHP_VERSION}-swoole"

0 commit comments

Comments
 (0)