diff options
| author | jvoisin | 2022-03-20 19:18:17 +0100 |
|---|---|---|
| committer | jvoisin | 2022-03-20 19:18:17 +0100 |
| commit | bcc33313b95bf21d4fb8ce755be6bbfd308bb2e8 (patch) | |
| tree | 698ed81df0c84ed4cf15efe53e343bc3a0879be2 /.github/workflows/distributions_php7.yml | |
| parent | 57b345f16ccad6e5b273c58e819ca5adefdcbf72 (diff) | |
Add more distributions to php8 CI
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/distributions_php7.yml (renamed from .github/workflows/distributions.yml) | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/.github/workflows/distributions.yml b/.github/workflows/distributions_php7.yml index 18a8cce..11222fb 100644 --- a/.github/workflows/distributions.yml +++ b/.github/workflows/distributions_php7.yml | |||
| @@ -119,27 +119,3 @@ jobs: | |||
| 119 | if: ${{ failure() }} | 119 | if: ${{ failure() }} |
| 120 | run: | | 120 | run: | |
| 121 | grep -r . --include='*.log' src/tests | 121 | grep -r . --include='*.log' src/tests |
| 122 | |||
| 123 | ## PHP 8 | ||
| 124 | alpine_php8: | ||
| 125 | runs-on: ubuntu-latest | ||
| 126 | container: alpine:edge | ||
| 127 | steps: | ||
| 128 | - name: Checkout code | ||
| 129 | uses: actions/checkout@v2 | ||
| 130 | - name: Remove tests failing on alpine for wathever reason | ||
| 131 | run: rm -rf src/tests/cookies_encryption_warning src/tests/upload_validation/upload_validation.phpt | ||
| 132 | - name: Install dependencies | ||
| 133 | 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 | ||
| 134 | - name: Install pecl | ||
| 135 | continue-on-error: true | ||
| 136 | run: pecl install vld-beta | ||
| 137 | - name: Build SP and run the testsuite | ||
| 138 | run: | | ||
| 139 | make release | ||
| 140 | ln -s $(php -r 'echo ini_get("extension_dir");')/* src/modules/ | ||
| 141 | make tests | ||
| 142 | - name: Show logs in case of failure | ||
| 143 | if: ${{ failure() }} | ||
| 144 | run: | | ||
| 145 | grep -r . --include='*.log' src/tests | ||
