From 937aeb7fc0c4fa7e1e15cb6f99553e685674615c Mon Sep 17 00:00:00 2001 From: Alvin Sun Date: Tue, 2 Jul 2024 15:07:06 -0700 Subject: [PATCH] update CI for rolling and jazzy (#12) --- .github/workflows/jazzy.yml | 27 +++++++++++++++++++++++++++ .github/workflows/rolling.yml | 13 ++++--------- 2 files changed, 31 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/jazzy.yml diff --git a/.github/workflows/jazzy.yml b/.github/workflows/jazzy.yml new file mode 100644 index 0000000..6fe2817 --- /dev/null +++ b/.github/workflows/jazzy.yml @@ -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/cancel-workflow-action@0.12.1 + with: + access_token: ${{ github.token }} + - name: setup ROS2 + uses: ros-tooling/setup-ros@0.7.7 + with: + required-ros-distributions: jazzy + - name: ROS2 build and test + uses: ros-tooling/action-ros-ci@0.3.13 + with: + package-name: vrpn_mocap + target-ros2-distro: jazzy diff --git a/.github/workflows/rolling.yml b/.github/workflows/rolling.yml index a2eaf39..59d9f80 100644 --- a/.github/workflows/rolling.yml +++ b/.github/workflows/rolling.yml @@ -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/actions-setup-cmake@v1.12 - 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