-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (35 loc) · 1 KB
/
ci.yaml
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
name: ci
on:
push:
branches:
- '**'
# tags:
# - 'v*'
pull_request:
jobs:
build:
name: "PHP: ${{ matrix.php_version }}, OS: ${{ matrix.os_version }}"
runs-on: ubuntu-latest
strategy:
matrix:
php_version: ["8.1", "8.2", "8.3"]
os_version: ["alpine3.20", "bookworm"]
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Build
run: make build PHP_V=${{ matrix.php_version }} OS_V=${{ matrix.os_version }}
-
name: Test version
run: make test-version PHP_V=${{ matrix.php_version }} OS_V=${{ matrix.os_version }}
-
name: Test module
run: make test-module PHP_V=${{ matrix.php_version }} OS_V=${{ matrix.os_version }}
-
name: Test info
run: make test-info PHP_V=${{ matrix.php_version }} OS_V=${{ matrix.os_version }}
-
name: Test tmp files
run: make test-tmp-files PHP_V=${{ matrix.php_version }} OS_V=${{ matrix.os_version }}