Skip to content

Commit

Permalink
qa: install igbinary and msgpack for PHP 8.3 via PECL
Browse files Browse the repository at this point in the history
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 <2189546+boesing@users.noreply.github.com>
  • Loading branch information
boesing committed Oct 1, 2023
1 parent 41f8f86 commit d754541
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .laminas-ci/pre-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

PHP_VERSION=$4

if [ "${PHP_VERSION}" != "8.3" ]; then
exit(0);
fi

set -e -o pipefail

pecl install igbinary msgpack

echo "extension = igbinary.so" > /etc/php/{$PHP_VERSION}/mods-available/igbinary.ini
echo "extension = msgpack.so" > /etc/php/{$PHP_VERSION}/mods-available/msgpack.ini

0 comments on commit d754541

Please sign in to comment.