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 87aa357
Showing 1 changed file with 27 additions and 16 deletions.
43 changes: 27 additions & 16 deletions .github/workflows/ci-lts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,42 +5,53 @@ 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: >
apt update
&& 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: >
apt update
&& apt install ros-${{ matrix.v.ros }}-test-msgs
- 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 87aa357

Please sign in to comment.