Skip to content

Commit f32851e

Browse files
committed
Add CI flow and fix formatting
1 parent 76b8da7 commit f32851e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,18 @@ jobs:
130130
cmake -S . -B build -DFREERTOS_PLUS_TCP_TEST_CONFIGURATION=DEFAULT_CONF
131131
cmake --build build --target clean
132132
cmake --build build --target freertos_plus_tcp_build_test
133+
- name: Build checks (Header Self Contain)
134+
run: |
135+
cmake -S . -B build -DFREERTOS_PLUS_TCP_TEST_CONFIGURATION=ENABLE_ALL -DTEST_HEADER_SELF_CONTAINED=ON
136+
cmake --build build --target clean
137+
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_DHCP
138+
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_DNS
139+
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_IP
140+
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_ND
141+
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_ROUTING
142+
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_SOCKETS
143+
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_NETWORKBUFFERMANAGEMENT
144+
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_NETWORKINTERFACE
133145
134146
complexity:
135147
runs-on: ubuntu-latest

test/build-combination/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ else()
103103
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-unused-macros>
104104
$<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wno-unused-variable>
105105
)
106-
106+
107107
target_link_libraries(freertos_plus_tcp_build_test
108108
PRIVATE
109109
freertos_plus_tcp

0 commit comments

Comments
 (0)