Image display with mouse clicking functionality #433
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
# This config uses industrial_ci (https://github.com/ros-industrial/industrial_ci.git). | |
# For troubleshooting, see readme (https://github.com/ros-industrial/industrial_ci/blob/master/README.rst) | |
name: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
jobs: | |
default: | |
strategy: | |
matrix: | |
distro: [noetic] | |
include: | |
- distro: noetic | |
env: | |
CLANG_TIDY: true | |
env: | |
CXXFLAGS: "-Werror -Wall -Wextra -Wwrite-strings -Wunreachable-code -Wpointer-arith -Wredundant-decls -Wno-strict-aliasing -Wno-sign-compare" | |
UPSTREAM_WORKSPACE: github:rhaschke/python_qt_binding#silent-external-warnings | |
CATKIN_LINT: true | |
CCACHE_DIR: ${{ github.workspace }}/.ccache | |
BASEDIR: /home/runner/work | |
DOCKER_IMAGE: rhaschke/ici:rviz-${{ matrix.distro }}-${{ matrix.repo || 'ros' }} | |
CACHE_PREFIX: ${{ matrix.distro }} | |
# perform full clang-tidy check only on manual trigger (workflow_dispatch), PRs do check changed files, otherwise nothing | |
CLANG_TIDY_BASE_REF: ${{ github.event_name != 'workflow_dispatch' && (github.base_ref || github.ref) || '' }} | |
name: "${{ matrix.distro }}${{ matrix.repo && format(' • {0}', matrix.repo) || '' }}${{ matrix.env.CLANG_TIDY && (github.event_name != 'workflow_dispatch' && ' • clang-tidy (delta)' || ' • clang-tidy (all)') || '' }}" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache ccache | |
uses: pat-s/always-upload-cache@v2.1.5 | |
with: | |
path: ${{ env.CCACHE_DIR }} | |
key: ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }}-${{ github.run_id }} | |
restore-keys: | | |
ccache-${{ env.CACHE_PREFIX }}-${{ github.sha }} | |
ccache-${{ env.CACHE_PREFIX }} | |
- name: industrial_ci | |
uses: rhaschke/industrial_ci@master | |
env: ${{ matrix.env || env }} | |
- name: Upload test artifacts (on failure) | |
uses: actions/upload-artifact@v2 | |
if: failure() | |
with: | |
name: test-results | |
path: ${{ env.BASEDIR }}/target_ws/**/test_results/**/*.xml |