Skip to content

RDKEMW-14533: btMgr Coverity inclusion changes#110

Closed
PreethiLakshmi91 wants to merge 1 commit into
developfrom
RDKEMW-14533_Cov2
Closed

RDKEMW-14533: btMgr Coverity inclusion changes#110
PreethiLakshmi91 wants to merge 1 commit into
developfrom
RDKEMW-14533_Cov2

Conversation

@PreethiLakshmi91
Copy link
Copy Markdown

Reason for change: Inclusion of coverity for BT
Test Procedure: NA
Risks: Low
Priority: P2

Reason for change: Inclusion of coverity for BT
Test Procedure: NA
Risks: Low
Priority: P2

Signed-off-by: ppalan289 <preethi_palanisamy@comcast.com>
Copilot AI review requested due to automatic review settings June 2, 2026 05:08
@PreethiLakshmi91 PreethiLakshmi91 requested a review from a team as a code owner June 2, 2026 05:08
Comment on lines +11 to +26
runs-on: ubuntu-latest

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

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

- name: Run bt-mgr dependency setup
run: ./build_dependencies.sh

- name: Run bt-mgr native build
run: ./cov_build.sh
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds CI infrastructure intended to support a Coverity-style native build of bluetooth_mgr on GitHub Actions: a workflow that installs dependencies and runs an autotools-based native build on ubuntu-latest.

Changes:

  • New GitHub Actions workflow native_full_build.yml triggering on push/PR to develop.
  • New build_dependencies.sh installing apt packages and cloning the bluetooth_mgr repo into src/btMgr.
  • New cov_build.sh bootstrapping autotools, configuring, and building the project.

Reviewed changes

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

File Description
.github/workflows/native_full_build.yml New CI job that runs dependency setup then the build script.
build_dependencies.sh Installs apt build deps and clones bluetooth_mgr source.
cov_build.sh Bootstraps autotools, configures and builds the project.

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

Comment thread build_dependencies.sh
Comment on lines +33 to +35
echo "Cloning bluetooth_mgr source..."
rm -rf "${BTMGR_SRC}"
git clone https://github.com/rdkcentral/bluetooth_mgr.git "${BTMGR_SRC}"
Comment thread cov_build.sh
Comment on lines +19 to +28
if [ ! -f config.h.in ]; then
cat > config.h.in <<'EOF'
/* Stub config.h.in for CI native build */
EOF
fi

libtoolize --force
aclocal
automake --force-missing --add-missing
autoconf
Comment thread cov_build.sh
Comment on lines +49 to +53
echo "Building Bluetooth Manager components..."

make -j"$(nproc)" V=1

echo "Build completed successfully."
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 2, 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.

4 participants