github actions: add curl matrix
[m6w6/ext-http] / .github / workflows / ci.yml
index 04253c443a771a19a6364e3b2d968aa19b91a077..6e0dc3d4f3d73506c0e1bda90e1167aee3c1fb66 100644 (file)
@@ -15,6 +15,7 @@ jobs:
       enable_debug: "yes"
       enable_zts: "yes"
       enable_iconv: "yes"
+      TEST_PHP_ARGS: "-d error_reporting=24575"
     runs-on: ubuntu-20.04
     steps:
       - uses: actions/checkout@v2
@@ -30,7 +31,8 @@ jobs:
             libidn2-0-dev \
             libicu-dev \
             libevent-dev \
-            libbrotli-dev
+            libbrotli-dev \
+            re2c
       - name: Prepare
         run: |
           make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
@@ -67,7 +69,8 @@ jobs:
             libidn2-0-dev \
             libicu-dev \
             libevent-dev \
-            libbrotli-dev
+            libbrotli-dev \
+            re2c
       - name: Prepare
         run: |
           make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
@@ -101,7 +104,8 @@ jobs:
             libidn2-0-dev \
             libicu-dev \
             libevent-dev \
-            libbrotli-dev
+            libbrotli-dev \
+            re2c
       - name: Prepare
         run: |
           make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
@@ -135,7 +139,8 @@ jobs:
             libidn2-0-dev \
             libicu-dev \
             libevent-dev \
-            libbrotli-dev
+            libbrotli-dev \
+            re2c
       - name: Prepare
         run: |
           make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
@@ -169,7 +174,8 @@ jobs:
             libidn2-0-dev \
             libicu-dev \
             libevent-dev \
-            libbrotli-dev
+            libbrotli-dev \
+            re2c
       - name: Prepare
         run: |
           make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
@@ -203,7 +209,8 @@ jobs:
             libidn2-0-dev \
             libicu-dev \
             libevent-dev \
-            libbrotli-dev
+            libbrotli-dev \
+            re2c
       - name: Prepare
         run: |
           make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
@@ -218,8 +225,8 @@ jobs:
   cur-cov-0:
     name: cur-cov-0
     env:
-      CFLAGS: "'-O0 -g --coverage'"
-      CXXFLAGS: "'-O0 -g --coverage'"
+      CFLAGS: "-O0 -g --coverage"
+      CXXFLAGS: "-O0 -g --coverage"
       PHP: "8.0"
       enable_iconv: "yes"
       with_http_libicu_dir: "yes"
@@ -240,7 +247,8 @@ jobs:
             libidn2-0-dev \
             libicu-dev \
             libevent-dev \
-            libbrotli-dev
+            libbrotli-dev \
+            re2c
       - name: Prepare
         run: |
           make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
@@ -260,8 +268,8 @@ jobs:
   cur-cov-1:
     name: cur-cov-1
     env:
-      CFLAGS: "'-O0 -g --coverage'"
-      CXXFLAGS: "'-O0 -g --coverage'"
+      CFLAGS: "-O0 -g --coverage"
+      CXXFLAGS: "-O0 -g --coverage"
       PHP: "8.0"
       enable_iconv: "yes"
       with_http_libicu_dir: "no"
@@ -282,7 +290,8 @@ jobs:
             libidn2-0-dev \
             libicu-dev \
             libevent-dev \
-            libbrotli-dev
+            libbrotli-dev \
+            re2c
       - name: Prepare
         run: |
           make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
@@ -302,8 +311,8 @@ jobs:
   cur-cov-2:
     name: cur-cov-2
     env:
-      CFLAGS: "'-O0 -g --coverage'"
-      CXXFLAGS: "'-O0 -g --coverage'"
+      CFLAGS: "-O0 -g --coverage"
+      CXXFLAGS: "-O0 -g --coverage"
       PHP: "8.0"
       enable_iconv: "yes"
       with_http_libicu_dir: "no"
@@ -324,7 +333,8 @@ jobs:
             libidn2-0-dev \
             libicu-dev \
             libevent-dev \
-            libbrotli-dev
+            libbrotli-dev \
+            re2c
       - name: Prepare
         run: |
           make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php