From 99a92d54d5611b5f51694a10103e1d15cf5217bf Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Fri, 24 Nov 2023 01:06:24 +0530 Subject: [PATCH] Test cache for PHP 8.3 and PHP 8.4 --- src/scripts/linux.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index bc4bb623..523fda3c 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -100,10 +100,19 @@ add_devtools() { } # Function to setup the nightly build from shivammathur/php-builder -setup_nightly() { +setup_zts() { run_script "php-builder" "${runner:?}" "$version" "${debug:?}" "${ts:?}" } +# Function to setup the nightly build from shivammathur/php-builder +setup_nightly() { + if [ "$runner" = "self-hosted" ]; then + run_script "php-builder" "${runner:?}" "$version" "${debug:?}" "${ts:?}" + else + run_script "php-ubuntu" "$version" "${debug:?}" + fi +} + # Function to setup PHP 5.3, PHP 5.4 and PHP 5.5. setup_old_versions() { run_script "php5-ubuntu" "$version"