FlexBE CI #125
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: [iron] #, rolling] | |
include: | |
# - os: ubuntu-22.04 | |
# ros: humble | |
# python: python3 | |
# ci_branch: ros2-devel | |
- os: ubuntu-22.04 | |
ros: iron | |
ci_branch: iron | |
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@v3 | |
- 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 |