RDKEMW-14533: Coverity inclusion changes for core#77
Merged
Conversation
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>
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 |
Contributor
There was a problem hiding this comment.
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.ymlGitHub Actions workflow to run a native build in a container. - Add
build_dependencies.shto install packages and stage stub/legacy headers needed for the build. - Add
cov_build.shto bootstrap autotools, configure, and build targets undersrc/.
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 |
| export CXXFLAGS="-Wno-error" | ||
| export LD_LIBRARY_PATH="${WORKSPACE}/external/lib" | ||
|
|
||
| ac_cv_header_telemetry_busmessage_sender_h=yes ./configure |
| @@ -0,0 +1,29 @@ | |||
| #!/bin/bash | |||
| set -e | |||
| @@ -0,0 +1,58 @@ | |||
| #!/bin/bash | |||
| set -e | |||
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 |
|
|
||
| echo "Setting up telemetry stub..." | ||
|
|
||
| git clone https://github.com/rdkcentral/telemetry.git |
| export LDFLAGS="-L${WORKSPACE}/external/lib" | ||
| export CFLAGS="-Wno-error" | ||
| export CXXFLAGS="-Wno-error" | ||
| export LD_LIBRARY_PATH="${WORKSPACE}/external/lib" |
| #!/bin/bash | ||
| set -e | ||
|
|
||
| WORKSPACE=$(pwd) |
| 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>
snampo768
approved these changes
Jun 25, 2026
DamianoBaroneSky
approved these changes
Jul 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reason for change: Inclusion of coverity for BT
Test Procedure: check action's workflow logs if succeeded
Risks: Low
Priority: P2