From bc638d23a08d12e636d7587147858878ecb117cd Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 28 Mar 2022 18:48:16 +0200 Subject: [PATCH] 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 --- .github/workflows/monitor-php8.1.yml | 1 - install-php-extensions | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/monitor-php8.1.yml b/.github/workflows/monitor-php8.1.yml index d3f8ee7..c3ce360 100644 --- a/.github/workflows/monitor-php8.1.yml +++ b/.github/workflows/monitor-php8.1.yml @@ -13,7 +13,6 @@ jobs: fail-fast: false matrix: distro: - - alpine3.13 - alpine3.14 - alpine3.15 - buster diff --git a/install-php-extensions b/install-php-extensions index b4522f9..d666903 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -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