Skip to content

Commit

Permalink
Add CI flow and fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ActoryOu committed Jul 25, 2023
1 parent 76b8da7 commit 37911e1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,18 @@ jobs:
cmake -S . -B build -DFREERTOS_PLUS_TCP_TEST_CONFIGURATION=DEFAULT_CONF
cmake --build build --target clean
cmake --build build --target freertos_plus_tcp_build_test
- name: Build checks (Header Self Contain)
run: |
cmake -S . -B build -DFREERTOS_PLUS_TCP_TEST_CONFIGURATION=ENABLE_ALL -DTEST_HEADER_SELF_CONTAINED=ON
cmake --build build --target clean
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_DHCP
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_DNS
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_IP
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_ND
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_ROUTING
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_SOCKETS
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_NETWORKBUFFERMANAGEMENT
cmake --build build --target freertos_plus_tcp_build_test_TEST_HEADER_INC_ONLY_NETWORKINTERFACE
complexity:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion test/build-combination/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ else()
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-unused-macros>
$<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wno-unused-variable>
)

target_link_libraries(freertos_plus_tcp_build_test
PRIVATE
freertos_plus_tcp
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set( COMPILE_OPTIONS
set( COMPILE_OPTIONS
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-cast-qual>
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-format-nonliteral>
$<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-implicit-function-declaration>
Expand Down

0 comments on commit 37911e1

Please sign in to comment.