diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2eda9ad3..83ae9cc9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -165,7 +165,7 @@ jobs: max_attempts: 3 retry_on: error command: | - bin/spc download --for-extensions="$(php src/globals/test-extensions.php extensions)" --for-libs="$(php src/globals/test-extensions.php libs)" --with-php=${{ matrix.php }} --ignore-cache-sources=php-src --debug + bin/spc download --for-extensions="$(php src/globals/test-extensions.php extensions)" --for-libs="$(php src/globals/test-extensions.php libs)" --with-php=${{ matrix.php }} --ignore-cache-sources=php-src --debug --retry=3 - name: "Run Build Tests (build)" run: bin/spc build "$(php src/globals/test-extensions.php extensions)" --with-libs="$(php src/globals/test-extensions.php libs)" --build-cli --build-micro --build-fpm --debug diff --git a/src/SPC/builder/extension/intl.php b/src/SPC/builder/extension/intl.php new file mode 100644 index 00000000..8130b5d3 --- /dev/null +++ b/src/SPC/builder/extension/intl.php @@ -0,0 +1,26 @@ +cd($this->source_dir . '/source') ->exec( diff --git a/src/globals/test-extensions.php b/src/globals/test-extensions.php index c7127f0d..3aae34b1 100644 --- a/src/globals/test-extensions.php +++ b/src/globals/test-extensions.php @@ -13,7 +13,7 @@ declare(strict_types=1); // If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`). $extensions = match (PHP_OS_FAMILY) { - 'Linux', 'Darwin' => 'uuid', + 'Linux', 'Darwin' => 'intl,posix', 'Windows' => 'mbstring,pdo_sqlite,mbregex', };