Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:

- name: native build
run: |
chmod +x cov_docker_script/run_setup_dependencies.sh
./cov_docker_script/run_setup_dependencies.sh
chmod +x cov_docker_script/run_native_build.sh
./cov_docker_script/run_native_build.sh
git submodule update --init --recursive
chmod +x build_tools_workflows/cov_docker_script/setup_dependencies.sh
./build_tools_workflows/cov_docker_script/setup_dependencies.sh ./config/native_build_config.json
chmod +x build_tools_workflows/cov_docker_script/setup_native_build.sh
./build_tools_workflows/cov_docker_script/common_external_build.sh ./config/native_build_config.json $(pwd)
env:
GITHUB_TOKEN: ${{ secrets.RDKCM_RDKE }}
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "build_tools_workflows"]
path = build_tools_workflows
url = https://github.com/rdkcentral/build_tools_workflows
branch = develop
1 change: 1 addition & 0 deletions build_tools_workflows
Submodule build_tools_workflows added at 3a1161
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@
"name": "safec",
"repo": "https://github.com/rurban/safeclib.git",
"branch": "master",
"header_paths": [
{ "source": "include", "destination": "$HOME/usr/include/rdkb" }
]
},
{
"name": "rdk_logger",
"repo": "https://github.com/rdkcentral/rdk_logger.git",
"branch": "develop",
"header_paths": [
{ "source": "include", "destination": "$HOME/usr/include/rdkb" }
],
Expand All @@ -34,11 +26,7 @@
{ "source": "include/trower-base64", "destination": "$HOME/usr/include/rdkb/trower-base64" }
],
"build": {
"type": "commands",
"commands": [
"meson setup build --prefix=$HOME/usr",
"meson compile -C build"
]
"type": "meson"
}
},
{
Expand All @@ -56,14 +44,25 @@
"build_dir": "build",
"cmake_flags": "-DCMAKE_INSTALL_PREFIX=$HOME/usr -DBUILD_FOR_DESKTOP=ON -DCMAKE_BUILD_TYPE=Debug"
}
},
{
"name": "rdk_logger",
"repo": "https://github.com/rdkcentral/rdk_logger.git",
"branch": "develop",
"header_paths": [
{ "source": "include", "destination": "$HOME/usr/include/rdkb" }
],
"build": {
"type": "autotools"
}
}
]
},

"native_component": {
"name": "common-library",

"include_path": "$HOME/usr/include/rdkb:/usr/include/dbus-1.0:/usr/lib/x86_64-linux-gnu/dbus-1.0/include",
"include_path": "$HOME/usr/include/rdkb:/usr/include/dbus-1.0:/usr/lib/x86_64-linux-gnu/dbus-1.0/include:/usr/lib/aarch64-linux-gnu/dbus-1.0/include",
"lib_output_path": "$HOME/usr/local/lib/",

"header_sources": [
Expand Down Expand Up @@ -101,9 +100,9 @@
"build": {
"type": "autotools",
"configure_options": [
"CPPFLAGS=-I$HOME/usr/include/rdkb -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I$HOME/usr/include/rdkb/rtmessage",
"CPPFLAGS=-I$HOME/usr/include/rdkb -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/lib/aarch64-linux-gnu/dbus-1.0/include -I$HOME/usr/include/rdkb/rtmessage",
"CFLAGS=-DSAFEC_DUMMY_API -D_ANSC_USE_OPENSSL_ -D_NO_PKI_KB5_SUPPORT",
"LDFLAGS=-L$HOME/usr/lib -L$HOME/usr/lib/x86_64-linux-gnu"
"LDFLAGS=-L$HOME/usr/lib -L$HOME/usr/lib/x86_64-linux-gnu -L$HOME/usr/lib/aarch64-linux-gnu"
]
}
}
Expand Down
Loading