Commit bd568e8 1 parent 413514b commit bd568e8 Copy full SHA for bd568e8
File tree 1 file changed +37
-0
lines changed
1 file changed +37
-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 : ubuntu-latest
80
+ container : ghcr.io/autowarefoundation/autoware-openadk:latest-prebuilt-cuda
81
+ steps :
82
+ - name : Check out repository
83
+ uses : actions/checkout@v3
84
+ with :
85
+ fetch-depth : 0
86
+
87
+ - name : Show disk space before the tasks
88
+ run : df -h
89
+
90
+ - name : Remove exec_depend
91
+ uses : autowarefoundation/autoware-github-actions/remove-exec-depend@v1
92
+
93
+ - name : Get modified packages
94
+ id : get-modified-packages
95
+ uses : autowarefoundation/autoware-github-actions/get-modified-packages@v1
96
+
97
+ - name : Get modified files
98
+ id : get-modified-files
99
+ uses : tj-actions/changed-files@v35
100
+ with :
101
+ files : |
102
+ **/*.cpp
103
+ **/*.hpp
104
+
105
+ - name : Run clang-tidy
106
+ if : ${{ steps.get-modified-files.outputs.all_changed_files != '' }}
107
+ uses : autowarefoundation/autoware-github-actions/clang-tidy@v1
108
+ with :
109
+ rosdistro : humble
110
+ target-packages : ${{ steps.get-modified-packages.outputs.modified-packages }}
111
+ target-files : ${{ steps.get-modified-files.outputs.all_changed_files }}
112
+ clang-tidy-config-url : https://raw.githubusercontent.com/autowarefoundation/autoware/main/.clang-tidy
113
+ build-depends-repos : build_depends.repos
You can’t perform that action at this time.
0 commit comments