Skip to content

Commit

Permalink
Enable CI for ROS Noetic
Browse files Browse the repository at this point in the history
  • Loading branch information
simonschmeisser committed Sep 28, 2021
1 parent 652600d commit 1dac20e
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/ci_focal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI - Ubuntu Focal

on:
# direct pushes to protected branches are not supported
pull_request:
# run every day, at 6am UTC
schedule:
- cron: '0 6 * * *'
# allow manually starting this workflow
workflow_dispatch:

jobs:
industrial_ci:
name: ROS Noetic (${{ matrix.ros_repo }})
runs-on: ubuntu-20.04

strategy:
fail-fast: false
matrix:
ros_distro: [ noetic ]
ros_repo: [ main, testing ]

env:
CCACHE_DIR: "${{ github.workspace }}/.ccache"
CATKIN_LINT: true
CATKIN_LINT_ARGS: --ignore launch_depend --ignore uninstalled_include_path --ignore critical_var_append

steps:
- name: Fetch repository
uses: actions/checkout@v2

- name: ccache cache
uses: actions/cache@v2
with:
path: ${{ env.CCACHE_DIR }}
# we always want the ccache cache to be persisted, as we cannot easily
# determine whether dependencies have changed, and ccache will manage
# updating the cache for us. Adding 'run_id' to the key will force an
# upload at the end of the job.
key: ccache-${{ matrix.ros_distro }}-${{ matrix.ros_repo }}-${{github.run_id}}
restore-keys: |
ccache-${{ matrix.ros_distro }}-${{ matrix.ros_repo }}
- name: Run industrial_ci
uses: ros-industrial/industrial_ci@master
env:
ROS_DISTRO: ${{ matrix.ros_distro }}
ROS_REPO: ${{ matrix.ros_repo }}

0 comments on commit 1dac20e

Please sign in to comment.