summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBen Fuhrmannek2022-01-05 19:22:14 +0100
committerBen Fuhrmannek2022-01-05 19:22:14 +0100
commit67edbec4cd01dea6d07fcbdee0d69a62a5ab1238 (patch)
treeaa675e589e0291e7d3eaab376a2e8d86b3d3484d /.github/workflows
parent8b1fc7ce30ca6886bb2957d6bd8b59ee6580b5ce (diff)
better github build script
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/builds.yml20
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