Skip to content

Update build_and_test_ubuntu22.04.yml #72

Update build_and_test_ubuntu22.04.yml

Update build_and_test_ubuntu22.04.yml #72

name: Ubuntu 22.04
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build_and_test_22_04:
runs-on: ubuntu-22.04
steps:
# Build and install
- name: install_wbc_lib
run: |
git clone https://github.com/ARC-OPT/wbc.git
sh wbc/scripts/install.sh
- uses: ros-tooling/[email protected]
- uses: ros-tooling/[email protected]
with:
package-name: wbc_ros
target-ros2-distro: humble
vcs-repo-file-url: https://raw.githubusercontent.com/ARC-OPT/wbc_ros/main/repos.yaml
# Run all tests
- name: test
run: |
cd ros2_ws
source install/setup.bash
colcon test --packages-select wbc_ros