-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
39 lines (32 loc) · 1.08 KB
/
action.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
name: 'clang_tidy_check'
description: 'Run clang tidy check.'
inputs:
build_directory:
description: 'Binaries directory'
required: false
default: 'build'
packages_names:
description: 'If set, it will look for these packages inside directory <build_directory>'
required: false
default: ''
result_file_name:
description: 'Name of file to save result (advisable to use absolute path).'
required: false
default: 'clang_results.yml'
runs:
using: composite
steps:
- name: Run in ubuntu
uses: eProsima/eProsima-CI/ubuntu/clang_tidy_check@main
if: runner.os == 'Linux'
with:
build_directory: ${{ inputs.build_directory }}
packages_names: ${{ inputs.packages_names }}
result_file_name: ${{ inputs.result_file_name }}
- name: Run in windows
uses: eProsima/eProsima-CI/windows/clang_tidy_check@main
if: runner.os == 'Windows'
with:
build_directory: ${{ inputs.build_directory }}
packages_names: ${{ inputs.packages_names }}
result_file_name: ${{ inputs.result_file_name }}