CI - Ubuntu Focal #999
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
name: CI - Ubuntu Focal | |
on: | |
# direct pushes to protected branches are not supported | |
pull_request: | |
# run every day, at 8am UTC | |
schedule: | |
- cron: '0 8 * * *' | |
# 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" | |
# using both abb as well as abb_driver from source as: | |
# | |
# - experimental repositories may always depend on unreleased changes | |
# in the non-experimental repository, and | |
# - industrial_core has recently been updated and only melodic-devel of | |
# abb_driver is compatible with those changes | |
# | |
UPSTREAM_WORKSPACE: 'github:ros-industrial/abb#kinetic-devel github:ros-industrial/abb_driver#melodic-devel' | |
steps: | |
- name: Fetch repository | |
uses: actions/checkout@v3 | |
- name: ccache cache | |
uses: actions/cache@v3 | |
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 }} |