Download pickle only when really needed (#551)

* We don't use pecl to install geos

* We don't use pecl when installing an extension from source

* Don't run PHP 8.1 tests on Alpine 3.13

We don't have an Alpine 3.13 distro coming with PHP 8.1

Test: geos
pull/552/head 1.5.4
Michele Locati 2022-03-28 18:48:16 +02:00 committed by GitHub
parent c5bc96d03f
commit bc638d23a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,6 @@ jobs:
fail-fast: false
matrix:
distro:
- alpine3.13
- alpine3.14
- alpine3.15
- buster

View File

@ -3304,10 +3304,13 @@ moduleMayUsePecl() {
@composer | @fix_letsencrypt)
return 1
;;
blackfire | ioncube_loader | snuffleupagus | sourceguardian | spx | tdlib)
blackfire | geos | ioncube_loader | snuffleupagus | sourceguardian | spx | tdlib)
return 1
;;
esac
if test -n "$(getModuleSourceCodePath "$1")"; then
return 1
fi
if stringInList "$1" "$BUNDLED_MODULES"; then
return 1
fi