Skip to content

Commit

Permalink
rdkservice
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuhammedrafi committed Aug 27, 2024
1 parent fd043d1 commit 717cd39
Showing 1 changed file with 62 additions and 62 deletions.
124 changes: 62 additions & 62 deletions .github/workflows/L1-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,66 +230,66 @@ jobs:
if: ${{ matrix.compiler == 'gcc' && matrix.coverage == 'with-coverage' && !env.ACT }}
run: echo "TOOLCHAIN_FILE=${{github.workspace}}/rdkservices/Tests/gcc-with-coverage.cmake" >> $GITHUB_ENV

# - name: Build rdkservices
# run: >
# cmake
# -S "${{github.workspace}}/rdkservices"
# -B build/rdkservices
# -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}}/rdkservices/Tests/headers
# -I ${{github.workspace}}/rdkservices/Tests/headers/audiocapturemgr
# -I ${{github.workspace}}/rdkservices/Tests/headers/rdk/ds
# -I ${{github.workspace}}/rdkservices/Tests/headers/rdk/iarmbus
# -I ${{github.workspace}}/rdkservices/Tests/headers/rdk/iarmmgrs-hal
# -I ${{github.workspace}}/rdkservices/Tests/headers/ccec/drivers
# -I ${{github.workspace}}/rdkservices/Tests/headers/network
# -include ${{github.workspace}}/rdkservices/Tests/mocks/devicesettings.h
# -include ${{github.workspace}}/rdkservices/Tests/mocks/maintenanceMGR.h
# -include ${{github.workspace}}/rdkservices/Tests/mocks/pkg.h
# -include ${{github.workspace}}/rdkservices/Tests/mocks/secure_wrappermock.h
# -include ${{github.workspace}}/rdkservices/Tests/mocks/WpaCtrl.h
# -Wall -Werror -Wno-error=format=
# -Wl,-wrap,system -Wl,-wrap,popen -Wl,-wrap,syslog
# -DENABLE_TELEMETRY_LOGGING
# -DUSE_IARMBUS
# -DENABLE_SYSTEM_GET_STORE_DEMO_LINK
# -DENABLE_DEEP_SLEEP
# -DENABLE_SET_WAKEUP_SRC_CONFIG
# -DENABLE_THERMAL_PROTECTION
# -DUSE_DRM_SCREENCAPTURE
# -DHAS_API_SYSTEM
# -DHAS_API_POWERSTATE
# -DHAS_RBUS
# -DENABLE_DEVICE_MANUFACTURER_INFO"
# -DCOMCAST_CONFIG=OFF
# -DCMAKE_DISABLE_FIND_PACKAGE_DS=ON
# -DCMAKE_DISABLE_FIND_PACKAGE_IARMBus=ON
# -DCMAKE_DISABLE_FIND_PACKAGE_Udev=ON
# -DCMAKE_DISABLE_FIND_PACKAGE_RFC=ON
# -DCMAKE_DISABLE_FIND_PACKAGE_RBus=ON
# -DRDK_SERVICES_L1_TEST=ON
# -DDS_FOUND=ON
# -DPLUGIN_NETWORK=OFF
# -DPLUGIN_WIFIMANAGER=OFF
# -DPLUGIN_NETWORKMANAGER=ON
# -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
# &&
# cmake --build build/rdkservices -j16
# &&
# cmake --install build/rdkservices
- name: Build rdkservices
run: >
cmake
-S "${{github.workspace}}/rdkservices"
-B build/rdkservices
-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}}/rdkservices/Tests/headers
-I ${{github.workspace}}/rdkservices/Tests/headers/audiocapturemgr
-I ${{github.workspace}}/rdkservices/Tests/headers/rdk/ds
-I ${{github.workspace}}/rdkservices/Tests/headers/rdk/iarmbus
-I ${{github.workspace}}/rdkservices/Tests/headers/rdk/iarmmgrs-hal
-I ${{github.workspace}}/rdkservices/Tests/headers/ccec/drivers
-I ${{github.workspace}}/rdkservices/Tests/headers/network
-include ${{github.workspace}}/rdkservices/Tests/mocks/devicesettings.h
-include ${{github.workspace}}/rdkservices/Tests/mocks/maintenanceMGR.h
-include ${{github.workspace}}/rdkservices/Tests/mocks/pkg.h
-include ${{github.workspace}}/rdkservices/Tests/mocks/secure_wrappermock.h
-include ${{github.workspace}}/rdkservices/Tests/mocks/WpaCtrl.h
-Wall -Werror -Wno-error=format=
-Wl,-wrap,system -Wl,-wrap,popen -Wl,-wrap,syslog
-DENABLE_TELEMETRY_LOGGING
-DUSE_IARMBUS
-DENABLE_SYSTEM_GET_STORE_DEMO_LINK
-DENABLE_DEEP_SLEEP
-DENABLE_SET_WAKEUP_SRC_CONFIG
-DENABLE_THERMAL_PROTECTION
-DUSE_DRM_SCREENCAPTURE
-DHAS_API_SYSTEM
-DHAS_API_POWERSTATE
-DHAS_RBUS
-DENABLE_DEVICE_MANUFACTURER_INFO"
-DCOMCAST_CONFIG=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_DS=ON
-DCMAKE_DISABLE_FIND_PACKAGE_IARMBus=ON
-DCMAKE_DISABLE_FIND_PACKAGE_Udev=ON
-DCMAKE_DISABLE_FIND_PACKAGE_RFC=ON
-DCMAKE_DISABLE_FIND_PACKAGE_RBus=ON
-DRDK_SERVICES_L1_TEST=ON
-DDS_FOUND=ON
-DPLUGIN_NETWORK=OFF
-DPLUGIN_WIFIMANAGER=OFF
-DPLUGIN_NETWORKMANAGER=ON
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
&&
cmake --build build/rdkservices -j16
&&
cmake --install build/rdkservices
# - name: Upload artifacts
# if: ${{ !env.ACT }}
# uses: actions/upload-artifact@v3
# with:
# name: artifacts
# path: |
# coverage/
# valgrind_log
# if-no-files-found: warn
- name: Upload artifacts
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v3
with:
name: artifacts
path: |
coverage/
valgrind_log
if-no-files-found: warn

0 comments on commit 717cd39

Please sign in to comment.