Skip to content

draft: Improve: build & install operation #26

draft: Improve: build & install operation

draft: Improve: build & install operation #26

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
industrial_ci:
strategy:
matrix:
env:
- ROS_DISTRO: foxy
TARGET_CMAKE_ARGS: "-DCMAKE_C_FLAGS='--coverage' -DCMAKE_CXX_FLAGS='--coverage'"
AFTER_SCRIPT: "./coverage.sh ci"
ISOLATION: "shell"
CODE_COVERAGE: "codecov.io"
env:
CCACHE_DIR: ~/.ccache
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
# step up caching
- uses: actions/cache@v2
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
# Run industrial_ci
- uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}
- uses: codecov/codecov-action@v2
if: ${{ matrix.env.CODE_COVERAGE == 'codecov.io' }}
with:
files: ./coverage.info
fail_ci_if_error: true