From 971a122299acad1d972c9f089a11184f17b443d8 Mon Sep 17 00:00:00 2001 From: rafi Date: Tue, 24 Sep 2024 13:46:55 +0530 Subject: [PATCH] workflow updayed --- .github/workflows/gnome_unit_test.yml | 3 ++- .github/workflows/rdk_unit_test.yml | 31 +++++++-------------------- 2 files changed, 10 insertions(+), 24 deletions(-) diff --git a/.github/workflows/gnome_unit_test.yml b/.github/workflows/gnome_unit_test.yml index f60305d7..bbf2ba6a 100644 --- a/.github/workflows/gnome_unit_test.yml +++ b/.github/workflows/gnome_unit_test.yml @@ -59,7 +59,8 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' run: > cmake - -S "${{github.workspace}}/ThunderTools" -B build/ThunderTools -DCMAKE_INSTALL_PREFIX="${{github.workspace}}/install/usr" + -S "${{github.workspace}}/ThunderTools" -B build/ThunderTools + -DCMAKE_INSTALL_PREFIX="${{github.workspace}}/install/usr" -DCMAKE_MODULE_PATH="${{github.workspace}}/install/tools/cmake" -DGENERIC_CMAKE_MODULE_PATH="${{github.workspace}}/install/tools/cmake" && diff --git a/.github/workflows/rdk_unit_test.yml b/.github/workflows/rdk_unit_test.yml index 0a59d01b..32d4d786 100644 --- a/.github/workflows/rdk_unit_test.yml +++ b/.github/workflows/rdk_unit_test.yml @@ -122,23 +122,16 @@ jobs: cmake --build build/ThunderInterfaces -j8 && 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 - headers/rdk/iarmbus - headers/network - && + mkdir -p headers/rdk/iarmbus 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 @@ -147,17 +140,9 @@ 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 -j16 - && - cmake --install build/RDKNetworkmanager - + cmake --build build/RDKNetworkmanager --target install -j8 \ No newline at end of file