RDKEMW-14533: btMgr Coverity inclusion changes#110
Closed
PreethiLakshmi91 wants to merge 1 commit into
Closed
Conversation
Reason for change: Inclusion of coverity for BT Test Procedure: NA Risks: Low Priority: P2 Signed-off-by: ppalan289 <preethi_palanisamy@comcast.com>
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 |
Contributor
There was a problem hiding this comment.
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.ymltriggering on push/PR todevelop. - New
build_dependencies.shinstalling apt packages and cloning thebluetooth_mgrrepo intosrc/btMgr. - New
cov_build.shbootstrapping 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 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 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 on lines
+49
to
+53
| echo "Building Bluetooth Manager components..." | ||
|
|
||
| make -j"$(nproc)" V=1 | ||
|
|
||
| echo "Build completed successfully." |
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: NA
Risks: Low
Priority: P2