Skip to content

Commit 93c4519

Browse files
committed
qa: install igbinary and msgpack for PHP 8.3 via PECL
sury does not (yet) provide those extensions and thus we have to install them via PECL as a fallback. Signed-off-by: Maximilian Bösing <[email protected]>
1 parent fcd3b5a commit 93c4519

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.laminas-ci/pre-install.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
PHP_VERSION=$4
4+
5+
if [ "${PHP_VERSION}" != "8.3" ]; then
6+
exit(0);
7+
fi
8+
9+
set -e -o pipefail
10+
11+
pecl install igbinary msgpack
12+
13+
echo "extension = igbinary.so" > /etc/php/{$PHP_VERSION}/mods-available/igbinary.ini
14+
echo "extension = msgpack.so" > /etc/php/{$PHP_VERSION}/mods-available/msgpack.ini

0 commit comments

Comments
 (0)