From 38597fa8b9bdb2bc488f49a07117aac3a9d68428 Mon Sep 17 00:00:00 2001 From: rafi Date: Tue, 24 Sep 2024 14:00:01 +0530 Subject: [PATCH] tets --- .github/workflows/rdk_unit_test.yml | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rdk_unit_test.yml b/.github/workflows/rdk_unit_test.yml index 32d4d786..de71efbf 100644 --- a/.github/workflows/rdk_unit_test.yml +++ b/.github/workflows/rdk_unit_test.yml @@ -124,14 +124,21 @@ jobs: cmake --install build/ThunderInterfaces - name: Generate external headers - run: | - touch install/usr/lib/libIARMBus.so - mkdir -p install/usr/include/rdk/iarmbus - touch install/usr/include/rdk/iarmbus/libIARM.h + run: > + touch install/usr/lib/libIARMBus.so && mkdir -p install/usr/include/rdk/iarmbus && touch install/usr/include/rdk/iarmbus/libIARM.h + && cd "${{github.workspace}}/networkmanager/Tests/" - mkdir -p headers/rdk/iarmbus + && + mkdir -p + headers + headers/rdk/iarmbus + headers/network + && cd headers - touch rdk/iarmbus/libIARM.h rdk/iarmbus/libIBus.h + && + touch + rdk/iarmbus/libIARM.h + rdk/iarmbus/libIBus.h - name: Build networkmanager with RDK Proxy run: > cmake @@ -140,9 +147,16 @@ jobs: -DCMAKE_TOOLCHAIN_FILE="${{ env.TOOLCHAIN_FILE }}" -DCMAKE_INSTALL_PREFIX="${{github.workspace}}/install/usr" -DCMAKE_MODULE_PATH="${{github.workspace}}/install/tools/cmake" + -DCMAKE_CXX_FLAGS=" + -fprofile-arcs + -ftest-coverage + -DEXCEPTIONS_ENABLE=ON -I ${{github.workspace}}/networkmanager/Tests/headers -I ${{github.workspace}}/networkmanager/Tests/headers/rdk/iarmbus" -DENABLE_NETWORKMANAGER_UNIT_TEST=ON + -DENABLE_GNOME_NETWORKMANAGER=OFF -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} && - cmake --build build/RDKNetworkmanager --target install -j8 \ No newline at end of file + cmake --build build/RDKNetworkmanager -j16 + && + cmake --install build/RDKNetworkmanager \ No newline at end of file