-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
52 lines (51 loc) · 1.11 KB
/
integrate.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
42
43
44
45
46
47
48
49
50
51
52
name: integrate
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
matrix:
name: "PHP"
runs-on: ubuntu-20.04
strategy:
matrix:
PHP: ["7.0", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1"]
ZTS: ["no"]
include:
- PHP: "8.1"
OS: "ubuntu-latest"
ZTS: true
env:
PHP: $ {{ matrix.PHP }}
GITHUB: "yes"
enable_debug: "yes"
enable_session: "yes"
enable_maintainer_zts: $ {{ matrix.ZTS }}
TEST_PHP_ARGS : "--show-diff"
REPORT_EXIT_STATUS: "yes"
NO_INTERACTION: "yes"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Setup
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.PHP }}
- name: Install
run: |
sudo apt-get install -y re2c
- name: Prepare
run: |
phpize
- name: Build
run: |
./configure
- name: Make
run: |
make
- name: Test
run: |
make test