mycobot_ros/.github/workflows/industrialci.yml
2021-07-12 18:26:55 +08:00

44 lines
990 B
YAML

name: industrial_ci
on:
push:
paths-ignore:
- '**.md'
- '**.jpg'
- '**.pdf'
- '**.png'
pull_request:
paths-ignore:
- '**.md'
- '**.jpg'
- '**.pdf'
- '**.png'
schedule:
- cron: "0 1 * * 2" # Weekly on Tuesdays at 01:00(GMT)
jobs:
industrial_ci:
runs-on: ubuntu-latest
strategy:
matrix:
env:
- { ROS_DISTRO: melodic, ROS_REPO: main }
# - { ROS_DISTRO: noetic, ROS_REPO: main }
env:
CCACHE_DIR: /github/home/.ccache
ISOLATION: shell
steps:
- name: Setup directories
run: mkdir -p ros_ws/src
- name: checkout
uses: actions/checkout@v2
with:
path: ros_ws/src
- uses: actions/cache@v2
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}
- uses: "ros-industrial/industrial_ci@master"
env: ${{ matrix.env }}