Skip to content

RDKEMW-14533: Coverity inclusion changes for core#77

Merged
DamianoBaroneSky merged 2 commits into
developfrom
RDKEMW-14533_Cov2
Jul 6, 2026
Merged

RDKEMW-14533: Coverity inclusion changes for core#77
DamianoBaroneSky merged 2 commits into
developfrom
RDKEMW-14533_Cov2

Conversation

@PreethiALPI

Copy link
Copy Markdown

Reason for change: Inclusion of coverity for BT
Test Procedure: check action's workflow logs if succeeded
Risks: Low
Priority: P2

Reason for change: Inclusion of coverity for BT
Test Procedure: check action's workflow logs if succeeded
Risks: Low
Priority: P2

Signed-off-by: ppalan289 <preethi_palanisamy@comcast.com>
Copilot AI review requested due to automatic review settings June 23, 2026 07:25
@PreethiALPI PreethiALPI requested a review from a team as a code owner June 23, 2026 07:25
Comment on lines +12 to +41
runs-on: ubuntu-latest
container:
image: ghcr.io/rdkcentral/docker-rdk-ci:latest

steps:
# ----------------------------------------
# Checkout
# ----------------------------------------
- name: Checkout source
uses: actions/checkout@v6

# ----------------------------------------
# Setup scripts permission
# ----------------------------------------
- name: Make scripts executable
run: |
chmod +x build_dependencies.sh
chmod +x cov_build.sh

# ----------------------------------------
# Install dependencies
# ----------------------------------------
- name: Run bt-core dependency setup
run: ./build_dependencies.sh

# ----------------------------------------
# Build project
# ----------------------------------------
- name: Run bt-core native build
run: ./cov_build.sh

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new native build workflow plus helper scripts to bootstrap autotools, install build dependencies, and build BT-Core in a CI container—intended to support Coverity inclusion for the core component.

Changes:

  • Add native_full_build.yml GitHub Actions workflow to run a native build in a container.
  • Add build_dependencies.sh to install packages and stage stub/legacy headers needed for the build.
  • Add cov_build.sh to bootstrap autotools, configure, and build targets under src/.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 9 comments.

File Description
cov_build.sh Bootstraps autotools, configures, and builds BT-Core using staged external headers/libs.
build_dependencies.sh Installs apt dependencies, clones telemetry/bluez, and stages headers + a telemetry stub library.
.github/workflows/native_full_build.yml New CI workflow wiring the dependency setup + build scripts in a container environment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +12 to +14
runs-on: ubuntu-latest
container:
image: ghcr.io/rdkcentral/docker-rdk-ci:latest
Comment thread cov_build.sh
export CXXFLAGS="-Wno-error"
export LD_LIBRARY_PATH="${WORKSPACE}/external/lib"

ac_cv_header_telemetry_busmessage_sender_h=yes ./configure
Comment thread cov_build.sh
@@ -0,0 +1,29 @@
#!/bin/bash
set -e
Comment thread build_dependencies.sh
@@ -0,0 +1,58 @@
#!/bin/bash
set -e
Comment thread build_dependencies.sh
Comment on lines +6 to +11
apt-get update
apt-get install -y \
autoconf automake libtool pkg-config \
gcc g++ make \
libglib2.0-dev libdbus-1-dev libbluetooth-dev \
git
Comment thread build_dependencies.sh

echo "Setting up telemetry stub..."

git clone https://github.com/rdkcentral/telemetry.git
Comment thread cov_build.sh
export LDFLAGS="-L${WORKSPACE}/external/lib"
export CFLAGS="-Wno-error"
export CXXFLAGS="-Wno-error"
export LD_LIBRARY_PATH="${WORKSPACE}/external/lib"
Comment thread cov_build.sh
#!/bin/bash
set -e

WORKSPACE=$(pwd)
Comment thread build_dependencies.sh
libglib2.0-dev libdbus-1-dev libbluetooth-dev \
git

WORKSPACE=$(pwd)
Reason for change: Inclusion of coverity for BT
Test Procedure: check action's workflow logs if succeeded
Risks: Low
Priority: P2

Signed-off-by: ppalan289 <preethi_palanisamy@comcast.com>
@DamianoBaroneSky DamianoBaroneSky merged commit 0bb6d78 into develop Jul 6, 2026
9 of 10 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants