diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58b87c798..eca6cbc06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,8 +111,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Update submodules - run: git submodule update --init --checkout + # Using CMake FetchContent to pull FreeRTOS-Kernel now. + # - name: Update submodules + # run: git submodule update --init --checkout + - name: Build Install Dependencies + run: | + sudo apt-get install -y libpcap-dev - name: Build checks (Enable all functionalities) run: | cmake -S . -B build/ -DFREERTOS_PLUS_TCP_TEST_CONFIGURATION=ENABLE_ALL diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 96939e21c..51c3bbd65 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -63,39 +63,21 @@ target_include_directories( freertos_plus_tcp SYSTEM #TODO(phelter): Investigate and fix in freertos_plus_tcp if not already fixed. target_compile_options( freertos_plus_tcp PRIVATE - $<$:-Wno-address-of-packed-member> $<$:-Wno-bad-function-cast> - $<$:-Wno-declaration-after-statement> - $<$:-Wno-documentation> $<$:-Wno-cast-qual> $<$:-Wno-conditional-uninitialized> $<$:-Wno-covered-switch-default> + $<$:-Wno-documentation> $<$:-Wno-extra-semi-stmt> - $<$:-Wno-format-nonliteral> - $<$:-Wno-format> - $<$:-Wno-gnu-statement-expression> $<$:-Wno-implicit-int-conversion> - $<$:-Wno-int-to-pointer-cast> - $<$:-Wno-macro-redefined> $<$:-Wno-missing-noreturn> $<$:-Wno-missing-prototypes> - $<$:-Wno-missing-variable-declarations> - $<$:-Wno-packed> - $<$:-Wno-padded> $<$:-Wno-pedantic> # ENABLE_ALL config only - $<$:-Wno-pointer-to-int-cast> $<$:-Wno-reserved-identifier> - $<$:-Wno-reserved-macro-identifier> $<$:-Wno-shorten-64-to-32> $<$:-Wno-sign-conversion> - $<$:-Wno-tautological-constant-out-of-range-compare> - $<$:-Wno-type-limits> - $<$:-Wno-undef> - $<$:-Wno-uninitialized> - $<$:-Wno-unused-but-set-variable> - $<$:-Wno-unused-function> - $<$:-Wno-unused-macros> - $<$:-Wno-unused-parameter> + $<$:-Wno-unused-but-set-variable> + $<$:-Wno-unused-macros> $<$:-Wno-unused-variable> ) diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index f5e346218..e147fe85d 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -21,7 +21,6 @@ target_include_directories( freertos_plus_tcp_tools SYSTEM #TODO(phelter): Investigate and fix in freertos_plus_tcp if not already fixed. target_compile_options( freertos_plus_tcp_tools PRIVATE - $<$:-Wno-extra-semi-stmt> $<$:-Wno-format> $<$:-Wno-missing-variable-declarations> $<$:-Wno-padded>