Skip to content

Merge pull request #92 from pascalauembo/ros2-devel #62

Merge pull request #92 from pascalauembo/ros2-devel

Merge pull request #92 from pascalauembo/ros2-devel #62

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: FlexBE CI
# Controls when the action will run.
on: [push, pull_request, 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 Devel Workspace
run: ~/flexbe_ci/ci_scripts/run_devel_tests.bash
- name: Test Install Workspace
run: ~/flexbe_ci/ci_scripts/run_install_tests.bash