Industrial CI #774
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: Industrial CI | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 2' | |
workflow_dispatch: | |
env: | |
CCACHE_DIR: ${{ github.workspace }}/.ccache # Directory for ccache (and how we enable ccache in industrial_ci) | |
TARGET_WORKSPACE: '. -image_recognition/image_recognition -image_recognition/image_recognition_skybiometry' | |
UPSTREAM_WORKSPACE: 'github:tue-robotics/catkin_lint_cmake#master' | |
jobs: | |
industrial_ci: | |
name: Industrial CI (${{ matrix.env.ROS_DISTRO }}) - ${{ github.event_name }} | |
strategy: | |
fail-fast: false | |
matrix: | |
env: | |
- ROS_DISTRO: noetic | |
ROS_REPO: main | |
BEFORE_INSTALL_TARGET_DEPENDENCIES: "pip3 install --upgrade --progress-bar=off pip && hash -r pip3 && pip3 install --upgrade --progress-bar=off 'scipy>=1.5'" | |
ADDITIONAL_DEBS: python3-pip | |
env: | |
${{ matrix.env }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# This step will fetch/store the directory used by ccache before/after the ci run | |
- uses: actions/cache@v4 | |
with: | |
path: ${{ env.CCACHE_DIR }} | |
key: ccache-${{ env.ROS_DISTRO }}-${{ env.ROS_REPO }}-${{ github.run_id }} | |
restore-keys: | | |
ccache-${{ env.ROS_DISTRO }}-${{ env.ROS_REPO }}- | |
ccache-${{ env.ROS_DISTRO }}- | |
# Run industrial_ci | |
- uses: 'ros-industrial/industrial_ci@master' |