[DO NOT MERGE] Dummy PR to check coverity integration. #53
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
| name: Build MoCA Agent Component in Native Environment | |
| on: | |
| push: | |
| branches: [ main, 'sprint/**', 'release/**', develop ] | |
| pull_request: | |
| branches: [ main, 'sprint/**', 'release/**', topic/RDK*, develop ] | |
| jobs: | |
| build-moca-agent-on-pr: | |
| name: Build moca-agent component in github rdkcentral | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/rdkcentral/docker-rdk-ci:latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: native build | |
| run: | | |
| # Trust the workspace | |
| git config --global --add safe.directory '*' | |
| # Pull the latest changes for the native build system | |
| git submodule update --init --recursive --remote | |
| # Build and install dependencies | |
| chmod +x build_tools_workflows/cov_docker_script/setup_dependencies.sh | |
| ./build_tools_workflows/cov_docker_script/setup_dependencies.sh ./cov_docker_script/component_config.json | |
| # Build component | |
| chmod +x build_tools_workflows/cov_docker_script/build_native.sh | |
| ./build_tools_workflows/cov_docker_script/build_native.sh ./cov_docker_script/component_config.json "$(pwd)" | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.RDKCM_RDKE }} |