Skip to content

Commit 648aff1

Browse files
committed
updated pre-run
Signed-off-by: bota <[email protected]>
1 parent f7b340d commit 648aff1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.laminas-ci/pre-run.sh

100644100755
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
#!/bin/bash
1+
apt-get update
2+
apt-get install -y php-dev php-pear libcurl4-openssl-dev libssl-dev gcc make autoconf
23

3-
JOB=$3
4-
PHP_VERSION=$(echo "${JOB}" | jq -r '.php')
4+
pecl channel-update pecl.php.net
55

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

0 commit comments

Comments
 (0)