Skip to content

Commit

Permalink
update CI for rolling and jazzy (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinsunyixiao authored Jul 2, 2024
1 parent 36965cf commit 937aeb7
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 9 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/jazzy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: jazzy build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

workflow_dispatch:

jobs:
jazzy_build:
runs-on: ubuntu-24.04
steps:
- name: cancle preivious run
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: setup ROS2
uses: ros-tooling/[email protected]
with:
required-ros-distributions: jazzy
- name: ROS2 build and test
uses: ros-tooling/[email protected]
with:
package-name: vrpn_mocap
target-ros2-distro: jazzy
13 changes: 4 additions & 9 deletions .github/workflows/rolling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,18 @@ on:

jobs:
rolling_build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: cancle preivious run
uses: styfle/cancel-workflow-action@0.10.0
uses: styfle/cancel-workflow-action@0.12.1
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/setup-ros@v0.7
uses: ros-tooling/setup-ros@0.7.7
with:
required-ros-distributions: rolling
- name: ROS2 build and test
uses: ros-tooling/action-ros-ci@v0.3
uses: ros-tooling/action-ros-ci@0.3.13
with:
package-name: vrpn_mocap
target-ros2-distro: rolling

0 comments on commit 937aeb7

Please sign in to comment.