-
Notifications
You must be signed in to change notification settings - Fork 170
105 lines (105 loc) · 3.36 KB
/
Copy pathci_changes.yml
File metadata and controls
105 lines (105 loc) · 3.36 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
name: Detect changed components
'on':
workflow_call:
outputs:
configs:
value: ${{ jobs.changes.outputs.configs }}
python:
value: ${{ jobs.changes.outputs.python }}
windows:
value: ${{ jobs.changes.outputs.windows }}
macos:
value: ${{ jobs.changes.outputs.macos }}
linux:
value: ${{ jobs.changes.outputs.linux }}
permissions:
contents: read
pull-requests: read
jobs:
changes:
name: Detect changed components
runs-on: ubuntu-22.04
outputs:
configs: ${{ steps.filter.outputs.configs }}
python: ${{ steps.filter.outputs.python }}
windows: ${{ steps.filter.outputs.windows }}
macos: ${{ steps.filter.outputs.macos }}
linux: ${{ steps.filter.outputs.linux }}
steps:
- name: Detect relevant changes
id: filter
uses: dorny/paths-filter@v3
with:
filters: |
configs:
- '**/*.json'
- '**/*.jsonc'
- tools/ci/validate_configs.py
- tools/ci/test_validate_configs.py
- .github/workflows/pr_ci_orchestrator.yml
- .github/workflows/ci_configs.yml
- .github/workflows/ci_changes.yml
python:
- client/python/projectairsim/src/**
- client/python/projectairsim/tests/**
- client/python/projectairsim/pyproject.toml
- client/python/projectairsim/README.md
- client/python/example_user_scripts/**/*.py
- .github/workflows/pr_ci_orchestrator.yml
- .github/workflows/ci_python.yml
- .github/workflows/ci_python_result.yml
- .github/workflows/ci_changes.yml
windows:
- .github/workflows/pr_ci_orchestrator.yml
- CMakeLists.txt
- core_sim/**
- mavlinkcom/**
- physics/**
- rendering/**
- samples/**
- simserver/**
- unity/**
- vehicle_apis/**
- tools/CMakeLists.txt
- tools/lvmon/**
- tools/projectairsimpp/**
- build.cmd
- build_windows.mk
- build_cpp_client.cmd
- client/cpp/**
- .github/workflows/ci_windows.yml
- .github/workflows/ci_changes.yml
macos:
- .github/workflows/pr_ci_orchestrator.yml
- CMakeLists.txt
- core_sim/**
- mavlinkcom/**
- physics/**
- rendering/**
- samples/**
- simserver/**
- unity/**
- vehicle_apis/**
- tools/CMakeLists.txt
- tools/lvmon/**
- tools/projectairsimpp/**
- build.sh
- build_macos.mk
- setup_macos_dev_tools.sh
- .github/workflows/ci_macos.yml
- .github/workflows/ci_changes.yml
linux:
- .github/workflows/pr_ci_orchestrator.yml
- .github/workflows/ci_changes.yml
- .github/workflows/ci_linux_build.yml
- .github/workflows/pr_linux_ci.yml
- build.sh
- build_linux.mk
- build_cpp_client.sh
- setup_linux_dev_tools.sh
- unreal-linux-toolchain.cmake
- ros/**
- unreal/**
- tools/update_blocks_vscode.py
- tools/ci/select_unreal_root.sh
if: github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'run-ci'