-
Notifications
You must be signed in to change notification settings - Fork 56
43 lines (36 loc) · 1 KB
/
build.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
name: Build
on:
push:
paths:
- "src/**"
- "t/**"
- "third_party/**"
- ".github/**"
pull_request:
paths:
- "src/**"
- "t/**"
- "third_party/**"
- ".github/**"
# later try to pass it, and not repeat it in workflows
env:
DB_DATABASE: ngx_php
DB_USER: ngx_php
DB_PASSWORD: ngx_php
jobs:
build_php_22-04:
name: Compile PHP Ubuntu 22.04
if: ${{ contains(github.event.head_commit.message, '<compile') }}
uses: ./.github/workflows/build_22.04.yml
build_20-04:
name: Ubuntu 20.04
if: ${{ !contains(github.event.head_commit.message, '<20') }}
uses: ./.github/workflows/build_20.04.yml
build_dynamic_20-04:
name: Ubuntu 20.04 dynamic
if: ${{ !contains(github.event.head_commit.message, '<20') }}
uses: ./.github/workflows/build_20.04_dynamic.yml
build_dynamic_22-04:
name: Ubuntu 22.04 dynamic
if: ${{ contains(github.event.head_commit.message, '<22') }}
uses: ./.github/workflows/build_22.04_dynamic.yml