forked from AcademySoftwareFoundation/OpenRV
-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (60 loc) · 2.52 KB
/
ci.yml
File metadata and controls
68 lines (60 loc) · 2.52 KB
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
60
61
62
63
64
65
66
67
68
name: OpenRV
on:
push:
branches:
# This will run when PR is merged or direct pushes to main.
- main
pull_request: # This handles PR creation and subsequent commits.
schedule:
# Midnight build every day
- cron: "0 0 * * *"
# This allows manual triggering of the workflow from the web
workflow_dispatch:
inputs:
SKIP_DEPS_CACHE:
description: 'Skip dependencies caching'
required: true
default: 'false'
jobs:
detect-changes:
if: github.repository_owner == 'AcademySoftwareFoundation'
runs-on: ubuntu-latest
outputs:
cmake_changed: ${{ steps.filter.outputs.cmake }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
id: filter
with:
filters: |
cmake:
- 'cmake/**'
- '**/CMakeLists.txt'
- '**/*.cmake'
linux:
if: github.repository_owner == 'AcademySoftwareFoundation'
needs: detect-changes
uses: ./.github/workflows/ci-linux.yml
with:
skip_deps_cache: ${{ inputs.SKIP_DEPS_CACHE || 'false' }}
qt5_modules: 'debug_info qtcharts qtdatavis3d qtlottie qtnetworkauth qtquick3d qtquicktimeline qtscript qtwebengine qtwebglplugin'
full_matrix: ${{ github.event_name != 'pull_request' }}
run_debug: ${{ github.event_name != 'pull_request' || needs.detect-changes.outputs.cmake_changed == 'true' }}
macos:
if: github.repository_owner == 'AcademySoftwareFoundation'
needs: detect-changes
uses: ./.github/workflows/ci-macos.yml
with:
skip_deps_cache: ${{ inputs.SKIP_DEPS_CACHE || 'false' }}
qt5_modules: 'debug_info qtcharts qtdatavis3d qtlottie qtnetworkauth qtquick3d qtquicktimeline qtscript qtwebengine qtwebglplugin'
full_matrix: ${{ github.event_name != 'pull_request' }}
run_debug: ${{ github.event_name != 'pull_request' || needs.detect-changes.outputs.cmake_changed == 'true' }}
windows:
if: github.repository_owner == 'AcademySoftwareFoundation'
needs: detect-changes
uses: ./.github/workflows/ci-windows.yml
with:
skip_deps_cache: ${{ inputs.SKIP_DEPS_CACHE || 'false' }}
qt5_modules: 'debug_info qtcharts qtdatavis3d qtlottie qtnetworkauth qtquick3d qtquicktimeline qtscript qtwebengine qtwebglplugin'
full_matrix: ${{ github.event_name != 'pull_request' }}
run_debug: ${{ github.event_name != 'pull_request' || needs.detect-changes.outputs.cmake_changed == 'true' }}