diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/builds.yml | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index f01923e..6d22bf3 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml | |||
| @@ -11,23 +11,21 @@ jobs: | |||
| 11 | - php:8.0 | 11 | - php:8.0 |
| 12 | - php:7.4 | 12 | - php:7.4 |
| 13 | - php:7.3 | 13 | - php:7.3 |
| 14 | - php:7.2 | ||
| 15 | # - php:7.1 | ||
| 16 | # - php:7.0 | ||
| 17 | container: ${{ matrix.container }} | 14 | container: ${{ matrix.container }} |
| 18 | steps: | 15 | steps: |
| 19 | - name: Checkout code | 16 | - name: Checkout code |
| 20 | uses: actions/checkout@v2 | 17 | uses: actions/checkout@v2 |
| 21 | - name: Install pecl | 18 | - name: PHP 7 env setup |
| 22 | if: startsWith(matrix.container, 'php:7') | 19 | if: startsWith(matrix.container, 'php:7') |
| 23 | run: pecl install vld-beta | 20 | run: | |
| 24 | - name: Remove php8 tests on php7 | 21 | pecl install vld-beta |
| 25 | if: startsWith(matrix.container, 'php:7') | 22 | rm -rf src/tests/*php8*/ src/tests/*/*_php8.phpt |
| 26 | run: rm -rf src/tests/*php8*/ | ||
| 27 | - name: Build and run the testsuite | 23 | - name: Build and run the testsuite |
| 28 | run: make tests | 24 | run: | |
| 25 | make release | ||
| 26 | ln -s $(php -r 'echo ini_get("extension_dir");')/* src/modules/ | ||
| 27 | make tests | ||
| 29 | - name: Show logs in case of failure | 28 | - name: Show logs in case of failure |
| 30 | if: ${{ failure() }} | 29 | if: ${{ failure() }} |
| 31 | run: | | 30 | run: | |
| 32 | grep -r . ./src/tests/*/*.out | 31 | grep -r . --include='*.log' src/tests |
| 33 | grep -r . ./src/tests/*/*.diff | ||
