CI: Reenable clang-tidy #250
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: ABI | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
jobs: | |
default: | |
strategy: | |
matrix: | |
distro: [noetic] | |
env: | |
UPSTREAM_WORKSPACE: github:rhaschke/python_qt_binding#silent-external-warnings | |
CCACHE_DIR: ${{ github.workspace }}/.ccache | |
BASEDIR: /home/runner/work | |
DOCKER_IMAGE: rhaschke/ici:rviz-${{ matrix.distro }}-${{ matrix.repo || 'ros' }} | |
CACHE_PREFIX: ${{ matrix.distro }} | |
ABICHECK_URL: github:ros-visualization/rviz#1.14.24 | |
GHA_CACHE_SAVE: always | |
name: "check" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache ccache | |
uses: rhaschke/cache@main | |
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: Cache ABI workspace | |
uses: rhaschke/cache@main | |
with: | |
path: ${{ env.BASEDIR }}/base_ws | |
key: base_ws-${{ env.CACHE_PREFIX }}-${{ env.ABICHECK_URL }} | |
restore-keys: | | |
base_ws-${{ env.CACHE_PREFIX }} | |
- name: industrial_ci | |
uses: rhaschke/industrial_ci@master | |
env: ${{ matrix.env || env }} | |
- name: Upload test results (on failure) | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: abi-check | |
path: ${{ env.BASEDIR }}/abicheck/** |