Feat/queue controller #16
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: Build and test | |
on: | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build-native: | |
runs-on: ubuntu-20.04 | |
container: | |
image: ros:noetic-ros-base | |
steps: | |
- name: Update packages | |
run: apt-get update | |
- name: Install catkin tool and rosdoc_lite | |
run: apt-get -q -y install python3-catkin-tools | |
- name: Create catkin_ws | |
run: | | |
mkdir -p catkin_ws/src | |
cd catkin_ws | |
pwd | |
- name: Checkout rosparam_utils | |
uses: actions/checkout@v4 | |
with: | |
repository: etienn8/rosparam_utils | |
path: 'catkin_ws/src/rosparam_utils' | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
path: 'catkin_ws/src/ros_queuing_system' | |
- name: Build packages | |
run: | | |
. /opt/ros/noetic/setup.bash | |
catkin init | |
catkin build | |
working-directory: 'catkin_ws' | |
shell: bash | |
- name: Run tests | |
run: catkin test | |
working-directory: 'catkin_ws' | |