From ab79bbfb1d04ffb6c82d3489ca585fac65d7c778 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 29 Apr 2022 18:46:05 +0200 Subject: [PATCH] ci: enable ext/intl --- .github/workflows/ci.yml | 5 +++++ scripts/gen_github_workflow_ci.php | 2 ++ tests/~integration/detect_utf8.phpt | 1 + 3 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 381bef1..11eea98 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,7 @@ jobs: name: "cur-0 (8.1)" env: PHP: "8.1" + enable_intl: "yes" enable_debug: "yes" enable_zts: "yes" runs-on: ubuntu-20.04 @@ -66,6 +67,7 @@ jobs: name: "cur-1 (8.1)" env: PHP: "8.1" + enable_intl: "yes" enable_debug: "no" enable_zts: "yes" runs-on: ubuntu-20.04 @@ -93,6 +95,7 @@ jobs: name: "cur-2 (8.1)" env: PHP: "8.1" + enable_intl: "yes" enable_debug: "yes" enable_zts: "no" runs-on: ubuntu-20.04 @@ -120,6 +123,7 @@ jobs: name: "cur-3 (8.1)" env: PHP: "8.1" + enable_intl: "yes" enable_debug: "no" enable_zts: "no" runs-on: ubuntu-20.04 @@ -149,6 +153,7 @@ jobs: CFLAGS: "-O0 -g --coverage" CXXFLAGS: "-O0 -g --coverage" PHP: "8.1" + enable_intl: "yes" runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 diff --git a/scripts/gen_github_workflow_ci.php b/scripts/gen_github_workflow_ci.php index 019b283..9d58d95 100755 --- a/scripts/gen_github_workflow_ci.php +++ b/scripts/gen_github_workflow_ci.php @@ -42,6 +42,7 @@ $cur = "8.1"; $job = $gen->github([ "cur" => [ "PHP" => $cur, + "enable_intl" => "yes", "enable_debug", "enable_zts", ], @@ -49,6 +50,7 @@ $job = $gen->github([ "CFLAGS" => "-O0 -g --coverage", "CXXFLAGS" => "-O0 -g --coverage", "PHP" => $cur, + "enable_intl" => "yes", ]]); foreach ($job as $id => $env) { printf(" %s:\n", $id); diff --git a/tests/~integration/detect_utf8.phpt b/tests/~integration/detect_utf8.phpt index a21b5b1..d185b41 100644 --- a/tests/~integration/detect_utf8.phpt +++ b/tests/~integration/detect_utf8.phpt @@ -2,6 +2,7 @@ integration: custom serializer which naïvly decides to write strings/clobs/blobs --EXTENSIONS-- ion +intl --FILE-- TEST