diff --git a/.github/workflows/docker.build.yaml b/.github/workflows/docker.build.yaml index 6290cf5..6ebf205 100644 --- a/.github/workflows/docker.build.yaml +++ b/.github/workflows/docker.build.yaml @@ -12,7 +12,7 @@ jobs: build: strategy: matrix: - php: [ 7.4.33, 8.0.26, 8.1.13 ] + php: [ 7.4.33, 8.0.26, 8.1.13, 8.2.0 ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/root-files/build.sh b/root-files/build.sh index a80d497..5f4a978 100755 --- a/root-files/build.sh +++ b/root-files/build.sh @@ -177,7 +177,7 @@ build_compile_php() { --with-bz2 \ --without-pear \ >$(debug_device) - elif [[ "${PHP_VERSION}" =~ ^8.[0-1] ]]; then + elif [[ "${PHP_VERSION}" =~ ^8.[0-2] ]]; then ./configure \ --prefix=${PHP_BASE_PATH} \ --with-config-file-path="${PHP_BASE_PATH}/etc" \ @@ -211,7 +211,7 @@ build_compile_php() { --without-pear \ >$(debug_device) else - error "🛠 Unsupported PHP version ${PHP_VERSION}" + error "🛠 No configure call available for PHP version ${PHP_VERSION}" exit 1 fi @@ -430,7 +430,7 @@ case $1 in init) banner_flownative 'PHP' - if [[ ! "${PHP_VERSION}" =~ ^7.[1-4]|^8.[0-1] ]]; then + if [[ ! "${PHP_VERSION}" =~ ^7.[1-4]|^8.[0-2] ]]; then error "🛠 Unsupported PHP version '${PHP_VERSION}'" exit 1 fi diff --git a/root-files/opt/flownative/php/build/extensions/xdebug/xdebug.sh b/root-files/opt/flownative/php/build/extensions/xdebug/xdebug.sh index e1ebc47..844b51a 100644 --- a/root-files/opt/flownative/php/build/extensions/xdebug/xdebug.sh +++ b/root-files/opt/flownative/php/build/extensions/xdebug/xdebug.sh @@ -38,7 +38,9 @@ extensions_xdebug_runtime_packages() { # @return string # extensions_xdebug_url() { - if [[ "${PHP_VERSION}" =~ ^8 ]]; then + if [[ "${PHP_VERSION}" =~ ^8.2 ]]; then + echo "https://xdebug.org/files/xdebug-3.2.0.tgz" + elif [[ "${PHP_VERSION}" =~ ^8 ]]; then echo "https://xdebug.org/files/xdebug-3.1.6.tgz" else echo "https://xdebug.org/files/xdebug-2.9.8.tgz"