[WIP] Implement basic functionality #8
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: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: # allow manually starting this workflow | |
jobs: | |
industrial_ci_jammy: | |
name: ROS ${{ matrix.ROS_DISTRO }} (${{ matrix.ROS_REPO }}) | |
runs-on: ubuntu-jammy | |
strategy: | |
fail-fast: false | |
matrix: | |
ROS_DISTRO: [ iron, rolling ] | |
ROS_REPO: [ main ] | |
env: | |
CCACHE_DIR: "${{ github.workspace }}/.ccache" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: ${{ env.CCACHE_DIR }} | |
key: ccache-${{ matrix.ROS_DISTRO }}-${{ matrix.ROS_REPO }}-${{github.run_id}} | |
restore-keys: | | |
ccache-${{ matrix.ROS_DISTRO }}-${{ matrix.ROS_REPO }}- | |
- uses: 'ros-industrial/industrial_ci@master' # run industrial_ci | |
env: # either pass all entries explicitly | |
ROS_DISTRO: ${{ matrix.ROS_DISTRO }} | |
ROS_REPO: ${{ matrix.ROS_REPO }} |