diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/distributions_php7.yml | 10 | ||||
| -rw-r--r-- | .github/workflows/distributions_php8.yml | 10 |
2 files changed, 10 insertions, 10 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 @@ | |||
| 1 | name: CI for linux distributions | 1 | name: CI for linux distributions on PHP7 |
| 2 | on: | 2 | on: |
| 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 |
diff --git a/.github/workflows/distributions_php8.yml b/.github/workflows/distributions_php8.yml index de912eb..67985de 100644 --- a/.github/workflows/distributions_php8.yml +++ b/.github/workflows/distributions_php8.yml | |||
| @@ -17,7 +17,7 @@ jobs: | |||
| 17 | - name: Remove tests failing on alpine for wathever reason | 17 | - name: Remove tests failing on alpine for wathever reason |
| 18 | run: rm -rf src/tests/*session*/ src/tests/broken_configuration/ src/tests/*cookie* src/tests/upload_validation/ | 18 | run: rm -rf src/tests/*session*/ src/tests/broken_configuration/ src/tests/*cookie* src/tests/upload_validation/ |
| 19 | - name: Install dependencies | 19 | - name: Install dependencies |
| 20 | run: apk add php8-dev php8-cgi php8-simplexml php8-xml pcre-dev build-base php8-pear php8-openssl | 20 | run: apk add php8-dev php8-cgi php8-simplexml php8-xml pcre-dev build-base php8-pear php8-openssl re2c |
| 21 | - name: Install pecl | 21 | - name: Install pecl |
| 22 | continue-on-error: true | 22 | continue-on-error: true |
| 23 | run: pecl install vld-beta | 23 | run: pecl install vld-beta |
| @@ -40,7 +40,7 @@ jobs: | |||
| 40 | - name: Install dependencies | 40 | - name: Install dependencies |
| 41 | run: | | 41 | run: | |
| 42 | apt update | 42 | apt update |
| 43 | DEBIAN_FRONTEND=noninteractive apt install -y php-dev php-pear | 43 | DEBIAN_FRONTEND=noninteractive apt install -y php-dev php-pear re2c |
| 44 | - name: Install pecl | 44 | - name: Install pecl |
| 45 | run: pecl install vld-beta | 45 | run: pecl install vld-beta |
| 46 | - name: Build and run the testsuite | 46 | - name: Build and run the testsuite |
| @@ -58,7 +58,7 @@ jobs: | |||
| 58 | uses: actions/checkout@v2 | 58 | uses: actions/checkout@v2 |
| 59 | - name: Install dependencies | 59 | - name: Install dependencies |
| 60 | run: | | 60 | run: | |
| 61 | dnf install -y php-devel php-pear make | 61 | dnf install -y php-devel php-pear make re2c |
| 62 | - name: Install pecl | 62 | - name: Install pecl |
| 63 | run: pecl install vld-beta | 63 | run: pecl install vld-beta |
| 64 | - name: Build and run the testsuite | 64 | - name: Build and run the testsuite |
| @@ -77,7 +77,7 @@ jobs: | |||
| 77 | - name: Install dependencies | 77 | - name: Install dependencies |
| 78 | continue-on-error: true | 78 | continue-on-error: true |
| 79 | run: | | 79 | run: | |
| 80 | pacman --sync --refresh --noconfirm --quiet php8 wget autoconf gcc make | 80 | pacman --sync --refresh --noconfirm --quiet php8 wget autoconf gcc make re2c |
| 81 | wget https://pear.php.net/go-pear.phar | 81 | wget https://pear.php.net/go-pear.phar |
| 82 | php go-pear.phar | 82 | php go-pear.phar |
| 83 | - name: Install pecl | 83 | - name: Install pecl |
| @@ -101,7 +101,7 @@ jobs: | |||
| 101 | - name: Remove tests failing on alpine for wathever reason | 101 | - name: Remove tests failing on alpine for wathever reason |
| 102 | run: rm -rf src/tests/cookies_encryption_warning src/tests/upload_validation/upload_validation.phpt | 102 | run: rm -rf src/tests/cookies_encryption_warning src/tests/upload_validation/upload_validation.phpt |
| 103 | - name: Install dependencies | 103 | - name: Install dependencies |
| 104 | run: apk add php8-dev php8-cgi php8-simplexml php8-xml pcre-dev build-base php8-pear php8-openssl php8-session php8-curl bash grep | 104 | run: apk add php8-dev php8-cgi php8-simplexml php8-xml pcre-dev build-base php8-pear php8-openssl php8-session php8-curl bash grep re2c |
| 105 | - name: Install pecl | 105 | - name: Install pecl |
| 106 | continue-on-error: true | 106 | continue-on-error: true |
| 107 | run: pecl install vld-beta | 107 | run: pecl install vld-beta |
