update CI for rolling and jazzy (#12) #34
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: humble build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
humble_build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: cancle preivious run | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
# downgrade cmake necessary because of https://github.com/vrpn/vrpn/pull/276 | |
- name: Setup cmake | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.22.x' | |
- name: setup ROS2 | |
uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: humble | |
- name: ROS2 build and test | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: vrpn_mocap | |
target-ros2-distro: humble |