summaryrefslogtreecommitdiff
path: root/.github/workflows/distributions_php7.yml
diff options
context:
space:
mode:
authorjvoisin2022-03-20 19:58:26 +0100
committerjvoisin2022-03-20 20:05:31 +0100
commitf22a086826f0d2259d3af5bc2b1258743f99eee2 (patch)
tree7f77b5f20191919ceb091849f6c1272a3191791b /.github/workflows/distributions_php7.yml
parent45222ad76c33f49462e70916353bda3f1c2d9f71 (diff)
Install re2c in the CI
Diffstat (limited to '.github/workflows/distributions_php7.yml')
-rw-r--r--.github/workflows/distributions_php7.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/distributions_php7.yml b/.github/workflows/distributions_php7.yml
index 11222fb..12fa207 100644
--- a/.github/workflows/distributions_php7.yml
+++ b/.github/workflows/distributions_php7.yml
@@ -1,4 +1,4 @@
1name: CI for linux distributions 1name: CI for linux distributions on PHP7
2on: 2on:
3 pull_request: 3 pull_request:
4 push: 4 push:
@@ -18,7 +18,7 @@ jobs:
18 - name: Install dependencies 18 - name: Install dependencies
19 run: | 19 run: |
20 apt update 20 apt update
21 DEBIAN_FRONTEND=noninteractive apt install -y php-dev php-pear 21 DEBIAN_FRONTEND=noninteractive apt install -y php-dev php-pear re2c
22 - name: Install pecl 22 - name: Install pecl
23 run: pecl install vld-beta 23 run: pecl install vld-beta
24 - name: Build and run the testsuite 24 - name: Build and run the testsuite
@@ -38,7 +38,7 @@ jobs:
38 run: rm -rf src/tests/*php8*/ src/tests/*/*_php8.phpt src/tests/disable_function/*_signal.phpt 38 run: rm -rf src/tests/*php8*/ src/tests/*/*_php8.phpt src/tests/disable_function/*_signal.phpt
39 - name: Install dependencies 39 - name: Install dependencies
40 run: | 40 run: |
41 dnf install -y php-devel php-pear make 41 dnf install -y php-devel php-pear make re2c
42 - name: Install pecl 42 - name: Install pecl
43 run: pecl install vld-beta 43 run: pecl install vld-beta
44 - name: Build and run the testsuite 44 - name: Build and run the testsuite
@@ -80,7 +80,7 @@ jobs:
80 - name: Install dependencies 80 - name: Install dependencies
81 continue-on-error: true 81 continue-on-error: true
82 run: | 82 run: |
83 pacman --sync --refresh --noconfirm --quiet php wget autoconf gcc make 83 pacman --sync --refresh --noconfirm --quiet php wget autoconf gcc make re2c
84 wget https://pear.php.net/go-pear.phar 84 wget https://pear.php.net/go-pear.phar
85 php go-pear.phar 85 php go-pear.phar
86 - name: Install pecl 86 - name: Install pecl
@@ -106,7 +106,7 @@ jobs:
106 - name: Remove tests failing on alpine for wathever reason 106 - name: Remove tests failing on alpine for wathever reason
107 run: rm -rf src/tests/cookies_encryption_warning src/tests/upload_validation/upload_validation.phpt /tests/broken_configuration/encrypt_regexp_cookies_bad_regexp.phpt 107 run: rm -rf src/tests/cookies_encryption_warning src/tests/upload_validation/upload_validation.phpt /tests/broken_configuration/encrypt_regexp_cookies_bad_regexp.phpt
108 - name: Install dependencies 108 - name: Install dependencies
109 run: apk add php7-dev php7-cgi php7-simplexml php7-xml pcre-dev build-base php7-pear php7-openssl php7-session bash grep 109 run: apk add php7-dev php7-cgi php7-simplexml php7-xml pcre-dev build-base php7-pear php7-openssl php7-session bash grep re2c
110 - name: Install pecl 110 - name: Install pecl
111 continue-on-error: true 111 continue-on-error: true
112 run: pecl install vld-beta 112 run: pecl install vld-beta