Fix conan shared builds and conan CI RSDK-9113 #1160
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: 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/tests/Dockerfile.debian.bullseye | |
| docker run -e BUILD_SHARED=${{ matrix.BUILD_SHARED }} --rm -i -w /tmp cpp /bin/bash |