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