From bdd31f837116d238f8118da4538c38a9d0271fab Mon Sep 17 00:00:00 2001 From: parvathinew Date: Thu, 12 Sep 2024 16:25:33 +0530 Subject: [PATCH] edit 13 --- .github/workflows/rdk_unit_test.yml | 32 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/.github/workflows/rdk_unit_test.yml b/.github/workflows/rdk_unit_test.yml index 5d3f6889..0d0c85c0 100644 --- a/.github/workflows/rdk_unit_test.yml +++ b/.github/workflows/rdk_unit_test.yml @@ -152,23 +152,21 @@ jobs: path: networkmanager - name: Generate external headers - run: > - cd "${{github.workspace}}/networkmanager/Tests/" - && - mkdir -p - headers - headers/rdk/iarmbus - headers/network - && - cd headers - && - touch - rdk/iarmbus/libIARM.h - rdk/iarmbus/libIBus.h - rdk/iarmbus/libIBusDaemon.h - network/wifiSrvMgrIarmIf.h - network/netsrvmgrIarm.h - + run: | + mkdir -p "${{github.workspace}}/networkmanager/Tests/headers/rdk/iarmbus" + mkdir -p "${{github.workspace}}/networkmanager/Tests/headers/network" + touch "${{github.workspace}}/networkmanager/Tests/headers/rdk/iarmbus/libIARM.h" + touch "${{github.workspace}}/networkmanager/Tests/headers/rdk/iarmbus/libIBus.h" + touch "${{github.workspace}}/networkmanager/Tests/headers/rdk/iarmbus/libIBusDaemon.h" + touch "${{github.workspace}}/networkmanager/Tests/headers/network/wifiSrvMgrIarmIf.h" + touch "${{github.workspace}}/networkmanager/Tests/headers/network/netsrvmgrIarm.h" + + - name: Set up environment variables for CMake + run: | + echo "IARMBUS_INCLUDE_DIRS=${{github.workspace}}/networkmanager/Tests/headers/rdk/iarmbus" >> $GITHUB_ENV + echo "IARMBUS_LIBRARIES=${{github.workspace}}/networkmanager/Tests/headers/rdk/iarmbus/libIARM.h" >> $GITHUB_ENV + + - name: Set clang toolchain if: ${{ matrix.compiler == 'clang' }} run: echo "TOOLCHAIN_FILE=${{github.workspace}}/networkmanager/Tests/clang.cmake" >> $GITHUB_ENV