Skip to content

Commit 9b9f42f

Browse files
committed
Update CI to build for rolling and latest release on ros2 branch.
1 parent 8fff1f7 commit 9b9f42f

File tree

2 files changed

+43
-5
lines changed

2 files changed

+43
-5
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Basic Build Workflow
2+
3+
on:
4+
- pull_request
5+
- push
6+
7+
jobs:
8+
build-iron:
9+
runs-on: ubuntu-22.04
10+
strategy:
11+
fail-fast: false
12+
container:
13+
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-iron-desktop-latest
14+
steps:
15+
- name: Build Environment
16+
uses: ros-tooling/[email protected]
17+
with:
18+
required-ros-distributions: iron
19+
- name: Run Tests
20+
uses: ros-tooling/[email protected]
21+
id: iron_action_ros_ci_step
22+
with:
23+
package-name: |
24+
joy
25+
joy_linux
26+
sdl2_vendor
27+
spacenav
28+
wiimote
29+
wiimote_msgs
30+
target-ros2-distro: iron
31+
- name: Upload logs
32+
uses: actions/upload-artifact@v1
33+
with:
34+
name: colcon-logs
35+
path: ${{ steps.iron_action_ros_ci_step.outputs.ros-workspace-directory-name }}/log
36+
if: always()

.github/workflows/basic-build-ci.yaml renamed to .github/workflows/rolling-build-ci.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,19 @@ on:
66

77
jobs:
88
build-rolling:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-22.04
1010
strategy:
1111
fail-fast: false
1212
container:
13-
image: ubuntu:focal
13+
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-desktop-latest
1414
steps:
15-
- uses: ros-tooling/[email protected]
15+
- name: Build Envrollingment
16+
uses: ros-tooling/[email protected]
1617
with:
1718
required-ros-distributions: rolling
1819
- name: Run Tests
19-
uses: ros-tooling/[email protected]
20+
uses: ros-tooling/[email protected]
21+
id: rolling_action_ros_ci_step
2022
with:
2123
package-name: |
2224
joy
@@ -30,5 +32,5 @@ jobs:
3032
uses: actions/upload-artifact@v1
3133
with:
3234
name: colcon-logs
33-
path: ros_ws/log
35+
path: ${{ steps.rolling_action_ros_ci_step.outputs.ros-workspace-directory-name }}/log
3436
if: always()

0 commit comments

Comments
 (0)