Skip to content

Commit cf351bb

Browse files
[cicd] improve format check
1 parent 43666bf commit cf351bb

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/workflows/format.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,8 @@ jobs:
2929
-o -iwholename "./support/print" \
3030
| xargs \
3131
clang-format-16 --Werror --dry-run --verbose -style=file
32-
cmake-format --check CMakeLists.txt
32+
find . \
33+
-iname "CMakeLists.txt" \
34+
-o -iname "*.cmake.in" \
35+
| xargs \
36+
cmake-format --check

sample/CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ foreach(SAMPLE "kf_1x1x0_building_height.cpp" "kf_1x1x0_liquid_temperature.cpp"
5555
$<TARGET_FILE:kalman_sample_${NAME}_driver>)
5656
endforeach()
5757

58+
59+
60+
61+
62+
63+
5864
foreach(BACKEND IN ITEMS "eigen")
5965
foreach(SAMPLE
6066
"ekf_4x1x0_soaring.cpp" "kf_2x1x1_rocket_altitude.cpp"

test/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ foreach(BACKEND IN ITEMS "eigen" "lazy" "naive")
102102
endforeach()
103103
endforeach()
104104

105-
106105
foreach(BACKEND IN ITEMS "eigen")
107106
foreach(
108107
TEST

0 commit comments

Comments
 (0)