This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
[pre-commit.ci] pre-commit autoupdate #203
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: Build and Test the Software Stack | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:focal | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Set up ROS2 Foxy | |
uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: foxy | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
rosdep update | |
DEBIAN_FRONTEND=noninteractive rosdep install --from-paths src --ignore-src --default-yes -qr | |
- name: Build packages | |
run: | | |
. /opt/ros/foxy/setup.sh | |
colcon build --symlink-install --cmake-args=-DCMAKE_BUILD_TYPE=Release | |
- name: Test packages | |
run: colcon test |