1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-26 01:11:28 +02:00

Possible fix for xdebug.

This commit is contained in:
camer0n
2023-11-28 16:21:19 -08:00
parent 951b09d112
commit 8bf7df5ce7

View File

@@ -19,6 +19,7 @@ jobs:
- image: php:7.4
- image: php:8.1
- image: php:8.2
- image: php:8.3
db:
- image: mysql:5.5
- image: bitnami/mysql:8.0
@@ -87,7 +88,10 @@ jobs:
- name: PECL install xdebug
run: |
if [ $(php -r 'printf(version_compare(PHP_VERSION, "8.0.0", ">=") ? 1 : 0);') = '1' ]
if [ $(php -r 'printf(version_compare(PHP_VERSION, "8.2.99", ">=") ? 1 : 0);') = '1' ]
then
pecl install https://xdebug.org/files/xdebug-3.3.0alpha3.tgz
elif [ $(php -r 'printf(version_compare(PHP_VERSION, "8.0.0", ">=") ? 1 : 0);') = '1' ]
then
pecl install xdebug
elif [ $(php -r 'printf(version_compare(PHP_VERSION, "7.2.0", ">=") ? 1 : 0);') = '1' ]