-
Notifications
You must be signed in to change notification settings - Fork 92
41 lines (40 loc) · 1.02 KB
/
builds.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI for php versions
on:
pull_request:
push:
schedule:
- cron: '0 16 * * 5'
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
container:
- php:8.3-rc
- php:8.2
- php:8.1
- php:8.0
- php:7.4
- php:7.3
- php:7.2
- php:7.1
- php:7.0
container: ${{ matrix.container }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: PHP 7 env setup
if: startsWith(matrix.container, 'php:7')
run: |
pecl install vld-beta
rm -rf src/tests/*php8*/ src/tests/*/*_php8.phpt
- name: Build and run the testsuite
run: |
make release
ln -s $(php -r 'echo ini_get("extension_dir");')/* src/modules/
rm -f src/tests/disable_function/*_signal.phpt
make tests
- name: Show logs in case of failure
if: ${{ failure() }}
run: |
grep -r . --include='*.log' src/tests