Skip to content

Commit

Permalink
Enable CI for jazzy
Browse files Browse the repository at this point in the history
  • Loading branch information
mosteo committed Sep 18, 2024
1 parent a3dc323 commit 8566fdb
Showing 1 changed file with 28 additions and 16 deletions.
44 changes: 28 additions & 16 deletions .github/workflows/ci-lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,54 @@ on:
- cron: "0 4 1-7 * 1"
# First monday of the month, at 4am
push:
branches: [ foxy humble ]
branches: [ jazzy ]
pull_request:
workflow_dispatch: # Manually triggered:

jobs:
build:

runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
v:
- os: ubuntu-24.04
ros: jazzy

runs-on: ${{ matrix.v.os }}

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up GNAT toolchain
uses: ada-actions/toolchain@ce2020
with:
distrib: fsf
shell: bash
run: >
sudo apt update
&& sudo apt install -y gprbuild gnat
- name: Set up ROS2
uses: ros-tooling/setup-ros@v0.2
uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: foxy
required-ros-distributions: ${{ matrix.v.ros }}

- name: Add additional required packages
run: sudo apt update && sudo apt install ros-foxy-test-msgs
run: |
sudo apt install \
ros-${{ matrix.v.ros }}-test-msgs \
ros-${{ matrix.v.ros }}-turtlebot
- name: Build
run: >
source /opt/ros/foxy/setup.bash &&
colcon build --event-handlers console_direct+ --executor sequential
source /opt/ros/${{ matrix.v.ros }}/setup.bash
&& colcon build --event-handlers console_direct+ --executor sequential
- name: Run tests
run: >
ls -al install &&
source ${{ github.workspace }}/install/setup.sh &&
ros2 run rclada rclada_selftest_dynamic &&
ros2 run rclada rclada_selftest_static &&
ros2 run rclada rclada_test_allocators 4
ls -al install
&& source ${{ github.workspace }}/install/setup.sh
&& ros2 run rclada rclada_selftest_dynamic
&& ros2 run rclada rclada_selftest_static
&& ros2 run rclada rclada_test_allocators 4

0 comments on commit 8566fdb

Please sign in to comment.