-
Notifications
You must be signed in to change notification settings - Fork 993
32 lines (29 loc) · 1006 Bytes
/
main.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
---
name: CI
on: [push, pull_request]
jobs:
industrial_ci:
strategy:
fail-fast: false
matrix:
env:
# - {ROS_DISTRO: foxy, ROS_REPO: testing}
# - {ROS_DISTRO: foxy, ROS_REPO: main}
# - {ROS_DISTRO: galactic, ROS_REPO: testing}
# - {ROS_DISTRO: galactic, ROS_REPO: main}
- {ROS_DISTRO: humble, ROS_REPO: main}
- {ROS_DISTRO: iron, ROS_REPO: main}
- {ROS_DISTRO: jazzy, ROS_REPO: main}
- {ROS_DISTRO: rolling, ROS_REPO: testing}
env:
CCACHE_DIR: /github/home/.ccache
AFTER_INSTALL_TARGET_DEPENDENCIES: ./mavros/scripts/install_geographiclib_datasets.sh
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: "${{ env.CCACHE_DIR }}"
key: "ccache-${{ matrix.env.ROS_DISTRO }}-${{ matrix.env.ROS_REPO }}"
- uses: 'ros-industrial/industrial_ci@master' # nosemgrep
env: ${{matrix.env}}