-
Notifications
You must be signed in to change notification settings - Fork 17
60 lines (58 loc) · 1.61 KB
/
main.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
53
54
55
56
57
58
59
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
linux:
runs-on: ubuntu-latest
continue-on-error: false
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
steps:
- name: Checkout php-src
uses: actions/checkout@v3
with:
repository: 'php/php-src'
ref: 'PHP-${{ matrix.php }}'
- name: Checkout php-firebird
uses: actions/checkout@v3
with:
path: 'ext/php-firebird'
- name: Install dependencies
uses: ./ext/php-firebird/.github/actions/install-linux
- name: Build
run: |
./buildconf --force
./configure --disable-all --with-interbase
make -j$(/usr/bin/nproc)
- name: Test
run: sudo make test TESTS='ext/php-firebird --show-diff'
linux-debug:
runs-on: ubuntu-latest
continue-on-error: false
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
steps:
- name: Checkout php-src
uses: actions/checkout@v3
with:
repository: 'php/php-src'
ref: 'PHP-${{ matrix.php }}'
- name: Checkout php-firebird
uses: actions/checkout@v3
with:
path: 'ext/php-firebird'
- name: Install dependencies
uses: ./ext/php-firebird/.github/actions/install-linux
- name: Build
run: |
./buildconf --force
./configure --disable-all --with-interbase --enable-debug
make -j$(/usr/bin/nproc)
- name: Test
run: sudo make test TESTS='ext/php-firebird --show-diff'