Merge pull request #189 from joanhey/ubuntu-24.04 #119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
paths: | |
- "src/**" | |
- "t/**" | |
- "third_party/**" | |
- ".github/**" | |
- "config" | |
pull_request: | |
paths: | |
- "src/**" | |
- "t/**" | |
- "third_party/**" | |
- ".github/**" | |
- "config" | |
# 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_24-04: | |
name: Ubuntu 24.04 | |
if: ${{ !contains(github.event.head_commit.message, '<compile') }} | |
uses: ./.github/workflows/build_24.04.yml | |
build_22-04: | |
name: 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 | |
# Dinamyc build | |
build_dynamic_24-04: | |
name: Ubuntu 24.04 dynamic | |
if: ${{ !contains(github.event.head_commit.message, '<24') }} | |
uses: ./.github/workflows/build_24.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 | |
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 | |