File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI - Ubuntu Focal
2+
3+ on :
4+ # direct pushes to protected branches are not supported
5+ pull_request :
6+ push :
7+ # run every day, at 6am UTC
8+ schedule :
9+ - cron : ' 0 6 * * *'
10+ # allow manually starting this workflow
11+ workflow_dispatch :
12+
13+ jobs :
14+ industrial_ci :
15+ name : ROS Noetic (${{ matrix.ros_repo }})
16+ runs-on : ubuntu-20.04
17+
18+ strategy :
19+ matrix :
20+ ROS_DISTRO : [ noetic ]
21+ ROS_REPO : [ main,testing ]
22+
23+ env :
24+ CCACHE_DIR : " ${{ github.workspace }}/.ccache"
25+
26+ steps :
27+ - name : Fetch repository
28+ uses : actions/checkout@v3
29+
30+ - name : ccache cache
31+ uses : actions/cache@v3
32+ with :
33+ path : ${{ env.CCACHE_DIR }}
34+ # we always want the ccache cache to be persisted, as we cannot easily
35+ # determine whether dependencies have changed, and ccache will manage
36+ # updating the cache for us. Adding 'run_id' to the key will force an
37+ # upload at the end of the job.
38+ key : ccache-${{ matrix.ros_distro }}-${{ matrix.ros_repo }}-${{github.run_id}}
39+ restore-keys : |
40+ ccache-${{ matrix.ros_distro }}-${{ matrix.ros_repo }}
41+
42+ - name : Run industrial_ci
43+ uses : ros-industrial/industrial_ci@master
44+ env :
45+ ROS_DISTRO : ${{ matrix.ros_distro }}
46+ ROS_REPO : ${{ matrix.ros_repo }}
You can’t perform that action at this time.
0 commit comments