-
Notifications
You must be signed in to change notification settings - Fork 116
47 lines (40 loc) · 1.39 KB
/
ci_bionic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: CI - Ubuntu Bionic
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 Melodic (${{ matrix.ros_repo }})
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
ros_distro: [ melodic ]
ros_repo: [ main, testing ]
env:
CCACHE_DIR: "${{ github.workspace }}/.ccache"
UPSTREAM_WORKSPACE: 'github:ros-industrial/abb#kinetic-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 }}