Repository navigation
deployment: MavlinkDaemon on the EC #583
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: Lint, build and test SRP | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| merge_group: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| cpplint: | |
| name: CppLint Check | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/simba-avionic/simba_avionics_dockers/docker-action:latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Run cpplint | |
| run: | | |
| ./tools/cpplint/cpplint.sh | |
| build-and-test: | |
| name: SRP Build & Test SRP | |
| needs: cpplint | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/simba-avionic/simba_avionics_dockers/docker-action:latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Build bbb-EB_V2 | |
| run: | | |
| bazel build --config=bbb-EB_V2 --config=r8 //deployment/cpu/ec:pkg //deployment/cpu/fc:pkg | |
| bazel build --config=bbb-EB_V2 --config=rurku //deployment/cpu/ec:pkg | |
| - name: Build bbb-LB_V1 | |
| run: | | |
| bazel build --config=bbb-LB_V1 --config=r8 //deployment/cpu/ec:pkg //deployment/cpu/fc:pkg | |
| bazel build --config=bbb-LB_V1 --config=rurku //deployment/cpu/ec:pkg | |
| # TODO: wlaczyc, gdy plytka bedzie wspierana | |
| # - name: Build rpi-NG_V1 | |
| # run: | | |
| # bazel build --config=rpi-NG_V1 //deployment/cpu/ec:pkg //deployment/cpu/fc:pkg | |
| - name: Test | |
| run: | | |
| ./tools/ut/unittest.sh | |
| - name: Build all | |
| run: | | |
| ./tools/build_all/build_all.sh |