Add pd controller unittests #41
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
name: Ubuntu20.04, ROS2 Continuous Integration | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- ros_version: "humble" | |
ubuntu_version: "ubuntu-22.04" | |
# - ros_version: "iron" | |
# ubuntu_version: "ubuntu-22.04" | |
runs-on: ${{ matrix.ubuntu_version }} | |
steps: | |
# | |
# Checkout the current branch. Only used to get the deps.repos file. | |
# The last step here re-clone the repo at the right place. | |
# | |
- uses: actions/checkout@v4 | |
# | |
# Use the .repos inside the cloned repository. | |
# | |
- run: | | |
cp ../${{ github.event.repository.name }}/.github/workflows/deps.repos /tmp/deps.repos | |
# | |
# Setup the machines and build environment | |
# | |
- name: Install ROS. | |
uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: ${{ matrix.ros_version }} | |
# | |
# Build and test the repo | |
# | |
- uses: ros-tooling/[email protected] | |
with: | |
package-name: linear_feedback_controller | |
target-ros2-distro: ${{ matrix.ros_version }} | |
vcs-repo-file-url: /tmp/deps.repos |