RSDK-3589 add wrapper for navigation service #1222
Workflow file for this run
This file contains 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: Test | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
run-tests: | |
if: github.repository_owner == 'viamrobotics' | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/viamrobotics/canon:amd64 | |
strategy: | |
matrix: | |
include: | |
- BUILD_SHARED: ON | |
- BUILD_SHARED: OFF | |
steps: | |
- uses: actions/checkout@v4 | |
########################################### | |
# necessary installs for building # | |
########################################### | |
- name: build-docker-test | |
run: | | |
docker build -t cpp . -f etc/docker/base-images/Dockerfile.debian.bullseye | |
docker build -t cpp-test . -f etc/docker/Dockerfile.sdk-build \ | |
--build-arg BASE_TAG=cpp \ | |
--build-arg REPO_SETUP=copy \ | |
--build-arg BUILD_SHARED=${{ matrix.BUILD_SHARED }} \ | |
--build-arg BUILD_TESTS=ON \ | |
--build-arg BUILD_EXAMPLES=ON \ | |
--build-arg "EXTRA_CMAKE_ARGS=\ | |
-DVIAMCPPSDK_CLANG_TIDY=ON \ | |
-DVIAMCPPSDK_SANITIZED_BUILD=${{ matrix.BUILD_SHARED }}" | |
docker run -w /viam-cpp-sdk/build -t --entrypoint /viam-cpp-sdk/etc/docker/tests/run_test.sh cpp-test /bin/bash |