Skip to content

Commit

Permalink
work flow commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuhammedrafi committed Aug 27, 2024
1 parent 842af5e commit 62583a2
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 40 deletions.
90 changes: 51 additions & 39 deletions .github/workflows/L1-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ on:

env:
BUILD_TYPE: Debug
THUNDER_REF: "5e7c0b1ed3c3dd0fc31c86518a364388dc24273b"
INTERFACES_REF: "930e01ec9aec8aa60254dec0be3beca932df63cd"
THUNDER_REF: "R4.4.1"
THUNDER_TOOLS_REF: "R4.4.1"
INTERFACES_REF: "R4.4.1"

jobs:
l1-tests:
Expand Down Expand Up @@ -73,7 +74,7 @@ jobs:
run: >
sudo apt update
&&
sudo apt install -y libsqlite3-dev libcurl4-openssl-dev valgrind lcov clang libsystemd-dev libboost-all-dev libwebsocketpp-dev meson libcunit1 libcunit1-dev
sudo apt install -y libnm0 git pkg-config python3-pip ninja-build libusb-1.0-0-dev zlib1g-dev libssl-dev libcurl4-openssl-dev libglib2.0-dev libnm-dev libsqlite3-dev libcurl4-openssl-dev valgrind lcov clang libsystemd-dev libboost-all-dev libwebsocketpp-dev meson libcunit1 libcunit1-dev
- name: Install GStreamer
run: |
Expand All @@ -90,19 +91,18 @@ jobs:
ninja -C build
sudo ninja -C build install
- name: Checkout Thunder
- name: Checkout ThunderTools
if: steps.cache.outputs.cache-hit != 'true'
uses: actions/checkout@v3
with:
repository: rdkcentral/Thunder
path: Thunder
ref: ${{env.THUNDER_REF}}

- name: Build Thunder
repository: rdkcentral/ThunderTools
path: ThunderTools
ref: ${{env.THUNDER_TOOLS_REF}}
- name: Build ThunderTools
if: steps.cache.outputs.cache-hit != 'true'
run: >
cmake
-S "${{github.workspace}}/Thunder/Tools"
-S "${{github.workspace}}/ThunderTools"
-B build/ThunderTools
-DEXCEPTIONS_ENABLE=ON
-DCMAKE_INSTALL_PREFIX="${{github.workspace}}/install/usr"
Expand All @@ -112,7 +112,18 @@ jobs:
cmake --build build/ThunderTools -j8
&&
cmake --install build/ThunderTools
&&
- name: Checkout Thunder
if: steps.cache.outputs.cache-hit != 'true'
uses: actions/checkout@v3
with:
repository: rdkcentral/Thunder
path: Thunder
ref: ${{env.THUNDER_REF}}

- name: Build Thunder
if: steps.cache.outputs.cache-hit != 'true'
run: >
cmake
-S "${{github.workspace}}/Thunder"
-B build/Thunder
Expand Down Expand Up @@ -262,37 +273,38 @@ jobs:
-DCMAKE_DISABLE_FIND_PACKAGE_Udev=ON
-DCMAKE_DISABLE_FIND_PACKAGE_RFC=ON
-DCMAKE_DISABLE_FIND_PACKAGE_RBus=ON
-DPLUGIN_DATACAPTURE=ON
-DPLUGIN_DEVICEDIAGNOSTICS=ON
-DPLUGIN_LOCATIONSYNC=ON
-DPLUGIN_TIMER=ON
-DPLUGIN_SECURITYAGENT=ON
-DPLUGIN_DEVICEIDENTIFICATION=ON
-DPLUGIN_FRAMERATE=ON
-DPLUGIN_AVINPUT=ON
-DPLUGIN_TELEMETRY=ON
-DPLUGIN_SCREENCAPTURE=ON
-DPLUGIN_USBACCESS=ON
-DPLUGIN_LOGGINGPREFERENCES=ON
-DPLUGIN_USERPREFERENCES=ON
-DPLUGIN_MESSENGER=ON
-DPLUGIN_DEVICEINFO=ON
-DPLUGIN_SYSTEMSERVICES=ON
-DRDK_SERVICES_L1_TEST=ON
-DPLUGIN_HDMIINPUT=ON
-DPLUGIN_HDCPPROFILE=ON
-DPLUGIN_NETWORK=ON
-DPLUGIN_WIFIMANAGER=ON
-DPLUGIN_TRACECONTROL=ON
-DPLUGIN_WAREHOUSE=ON
-DPLUGIN_ACTIVITYMONITOR=ON
-DPLUGIN_DATACAPTURE=OFF
-DPLUGIN_DEVICEDIAGNOSTICS=OFF
-DPLUGIN_LOCATIONSYNC=OFF
-DPLUGIN_TIMER=OFF
-DPLUGIN_SECURITYAGENT=OFF
-DPLUGIN_DEVICEIDENTIFICATION=OFF
-DPLUGIN_FRAMERATE=OFF
-DPLUGIN_AVINPUT=OFF
-DPLUGIN_TELEMETRY=OFF
-DPLUGIN_SCREENCAPTURE=OFF
-DPLUGIN_USBACCESS=OFF
-DPLUGIN_LOGGINGPREFERENCES=OFF
-DPLUGIN_USERPREFERENCES=OFF
-DPLUGIN_MESSENGER=OFF
-DPLUGIN_DEVICEINFO=OFF
-DPLUGIN_SYSTEMSERVICES=OFF
-DRDK_SERVICES_L1_TEST=OFF
-DPLUGIN_HDMIINPUT=OFF
-DPLUGIN_HDCPPROFILE=OFF
-DPLUGIN_NETWORK=OFF
-DPLUGIN_WIFIMANAGER=OFF
-DPLUGIN_TRACECONTROL=OFF
-DPLUGIN_WAREHOUSE=OFF
-DPLUGIN_ACTIVITYMONITOR=OFF
-DDS_FOUND=ON
-DPLUGIN_TEXTTOSPEECH=ON
-DPLUGIN_SYSTEMAUDIOPLAYER=ON
-DPLUGIN_MIRACAST=ON
-DPLUGIN_TEXTTOSPEECH=OFF
-DPLUGIN_SYSTEMAUDIOPLAYER=OFF
-DPLUGIN_MIRACAST=OFF
-DPLUGIN_NETWORKMANAGER=ON
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
&&
cmake --build build/rdkservices -j8
cmake --build build/rdkservices -j16
&&
cmake --install build/rdkservices
Expand Down
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,10 @@ if(PLUGIN_SHAREDSTORAGE)
add_subdirectory(SharedStorage)
endif()

if(PLUGIN_NETWORKMANAGER)
add_subdirectory(NetworkManager)
endif()

if(WPEFRAMEWORK_CREATE_IPKG_TARGETS)
set(CPACK_GENERATOR "DEB")
set(CPACK_DEB_COMPONENT_INSTALL ON)
Expand Down
2 changes: 1 addition & 1 deletion NetworkManager/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ if(ENABLE_GNOME_NETWORKMANAGER)
pkg_check_modules(GLIB REQUIRED glib-2.0)
pkg_check_modules(LIBNM REQUIRED libnm)
else()
find_package(IARMBus REQUIRED)
find_package(IARMBus) # REQUIRED removed to workflow work
endif ()


Expand Down

0 comments on commit 62583a2

Please sign in to comment.