-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (37 loc) · 1.32 KB
/
github-actions-pull-request.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
name: Run jobs for building and testing IODE (CLI, GUI, PYTHON, DOC, NSIS)
on:
# Triggers the workflow on pull request events
pull_request
jobs:
# see https://docs.github.com/en/actions/using-workflows/reusing-workflows#calling-a-reusable-workflow
build_and_test:
if: |
!contains(github.head_ref, 'doc') && !contains(github.head_ref, 'cli') &&
!contains(github.head_ref, 'python') && !contains(github.head_ref, 'gui') &&
!contains(github.head_ref, 'nsis') && !contains(github.head_ref, 'release')
uses: ./.github/workflows/github-actions-build-and-test.yml
with:
build-config: debug
build_cli:
if: contains(github.head_ref, 'cli')
uses: ./.github/workflows/github-actions-cli.yml
with:
build-config: debug
build_gui:
if: contains(github.head_ref, 'gui')
uses: ./.github/workflows/github-actions-gui.yml
with:
build-config: debug
build_python:
if: contains(github.head_ref, 'python')
uses: ./.github/workflows/github-actions-python.yml
with:
build-config: release
build_doc:
if: contains(github.head_ref, 'doc')
uses: ./.github/workflows/github-actions-doc.yml
build_nsis:
if: contains(github.head_ref, 'nsis')
uses: ./.github/workflows/github-actions-nsis.yml
with:
build-config: release