-
Notifications
You must be signed in to change notification settings - Fork 27
53 lines (50 loc) · 1.75 KB
/
flexbe_ci.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
48
49
50
51
52
53
# This is a basic workflow to help you get started with Actions
name: FlexBE CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
strategy:
matrix:
ros: [humble, iron, rolling]
include:
- os: ubuntu-22.04
ros: humble
python: python3
ci_branch: ros2-devel
- os: ubuntu-22.04
ros: iron
ci_branch: ros2-devel
python: python3
- os: ubuntu-22.04
ros: rolling
python: python3
ci_branch: ros2-devel
runs-on: ${{ matrix.os }}
env:
ROS_DISTRO: ${{ matrix.ros }}
PYTHON: ${{ matrix.python }}
CI_BRANCH: ${{ matrix.ci_branch }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Prepare CI
run: |
git clone -b $CI_BRANCH https://github.com/FlexBE/flexbe_ci.git ~/flexbe_ci
source ~/flexbe_ci/setup.bash $ROS_DISTRO
- name: Install ROS
run: ~/flexbe_ci/ci_scripts/install_ros.bash
- name: Setup Workspace
run: ~/flexbe_ci/ci_scripts/setup_workspace.bash
- name: Clone FlexBE Repos
run: ~/flexbe_ci/ci_scripts/run_rosinstall.bash
- name: Test Create Repo
run: ~/flexbe_ci/ci_scripts/test_create_repo.bash
- name: Test Install Workspace
run: ~/flexbe_ci/ci_scripts/run_install_tests.bash