Skip to content

Commit

Permalink
Update github workflow to use setup-ros 0.7. (#265)
Browse files Browse the repository at this point in the history
* Update github workflow to use setup-ros 0.7.

* Also add in humble Github workflow.

Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette authored Sep 14, 2023
1 parent be48a0d commit e3c3388
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 3 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/humble-build-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Basic Build Workflow

on:
- pull_request
- push

jobs:
build-humble:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-desktop-latest
steps:
- name: Build Environment
uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble
- name: Run Tests
uses: ros-tooling/[email protected]
id: humble_action_ros_ci_step
with:
package-name: |
joy
joy_linux
sdl2_vendor
spacenav
wiimote
wiimote_msgs
target-ros2-distro: humble
- name: Upload logs
uses: actions/upload-artifact@v1
with:
name: colcon-logs
path: ${{ steps.humble_action_ros_ci_step.outputs.ros-workspace-directory-name }}/log
if: always()
2 changes: 1 addition & 1 deletion .github/workflows/iron-build-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-desktop-latest
steps:
- name: Build Environment
uses: ros-tooling/setup-ros@v0.5
uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: iron
- name: Run Tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rolling-build-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
container:
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-desktop-latest
steps:
- name: Build Envrollingment
uses: ros-tooling/setup-ros@v0.5
- name: Build Environment
uses: ros-tooling/setup-ros@v0.7
with:
required-ros-distributions: rolling
- name: Run Tests
Expand Down

0 comments on commit e3c3388

Please sign in to comment.