Commit a4762aa M. Fatih Cırıt
committed Mar 18, 2024
1 parent 413514b commit a4762aa Copy full SHA for a4762aa
File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 74
74
75
75
- name : Show disk space after the tasks
76
76
run : df -h
77
+
78
+ clang-tidy-differential :
79
+ runs-on : [self-hosted, linux, X64]
80
+ container : ghcr.io/autowarefoundation/autoware-openadk:latest-prebuilt-cuda
81
+ needs : build-and-test-differential
82
+ steps :
83
+ - name : Check out repository
84
+ uses : actions/checkout@v3
85
+ with :
86
+ fetch-depth : 0
87
+
88
+ - name : Remove exec_depend
89
+ uses : autowarefoundation/autoware-github-actions/remove-exec-depend@v1
90
+
91
+ - name : Get modified packages
92
+ id : get-modified-packages
93
+ uses : autowarefoundation/autoware-github-actions/get-modified-packages@v1
94
+
95
+ - name : Get modified files
96
+ id : get-modified-files
97
+ uses : tj-actions/changed-files@v35
98
+ with :
99
+ files : |
100
+ **/*.cpp
101
+ **/*.hpp
102
+
103
+ - name : Run clang-tidy
104
+ if : ${{ steps.get-modified-files.outputs.all_changed_files != '' }}
105
+ uses : autowarefoundation/autoware-github-actions/clang-tidy@v1
106
+ with :
107
+ rosdistro : humble
108
+ target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
109
+ target-files : ${{ steps.get-modified-files.outputs.all_changed_files }}
110
+ clang-tidy-config-url : https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy
111
+ build-depends-repos : build_depends.repos
You can’t perform that action at this time.
0 commit comments