summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJulien Voisin2021-03-25 18:55:27 +0000
committerjvoisin2021-03-26 10:26:00 +0100
commit654552c14ba8c98a244f82f9b8f1225a68526efb (patch)
tree46c180bcb939abace306869e59462799e7a4f11f /.github
parentd93bd974cfb819bd2a5d2b44853802253b3aaa0f (diff)
Add PHP8 for linux distributions on the CI
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/distributions_php8.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/distributions_php8.yml b/.github/workflows/distributions_php8.yml
new file mode 100644
index 0000000..f055499
--- /dev/null
+++ b/.github/workflows/distributions_php8.yml
@@ -0,0 +1,32 @@
1name: CI for linux distributions, on php8
2on: ['pull_request', 'push']
3
4jobs:
5 alpine:
6 runs-on: ubuntu-latest
7 container: alpine:edge
8 steps:
9 - name: Checkout code
10 uses: actions/checkout@v2
11 - name: Remove php7 tests for php8
12 run: rm -rf src/tests/*php7*/
13 - name: Remove tests failing on alpine for wathever reason
14 run: rm -rf src/tests/*session*/ src/tests/broken_configuration/ src/tests/*cookie* src/tests/upload_validation/
15 - name: Install dependencies
16 run: apk add php8-dev php8-cgi php8-simplexml php8-xml pcre-dev build-base php8-pear php8-openssl
17 - name: Install pecl
18 continue-on-error: true
19 run: pecl install vld-beta
20 - name: Link phpize
21 run: ln -s /usr/bin/phpize8 /usr/bin/phpize
22 - name: Link php-config
23 run: ln -s /usr/bin/php-config8 /usr/bin/php-config
24 - name: Build and run the testsuite
25 continue-on-error: true
26 run: make tests
27 - name: Show logs in case of failure
28 if: ${{ failure() }}
29 continue-on-error: true
30 run: |
31 grep -r . ./src/tests/*/*.out
32 grep -r . ./src/tests/*/*.diff