Skip to content

Commit b659b70

Browse files
committed
Add CI workflow for 'humble' branch to automate build and test processes
1 parent 3fbb17e commit b659b70

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/ci_humble.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: ci_humble
2+
3+
on:
4+
push:
5+
branches:
6+
- "humble"
7+
pull_request:
8+
types: [opened, synchronize, labeled]
9+
10+
jobs:
11+
ci:
12+
runs-on: ${{ matrix.os }}
13+
if: |
14+
((github.event.action == 'labeled') && (github.event.label.name == 'TESTING') && (github.base_ref == 'humble' )) ||
15+
((github.event.action == 'synchronize') && (github.base_ref == 'humble') && contains(github.event.pull_request.labels.*.name, 'TESTING')) ||
16+
(github.ref_name == 'humble')
17+
container:
18+
image: osrf/ros:${{ matrix.ros_distribution }}-desktop
19+
timeout-minutes: 20
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
os: [ubuntu-22.04]
24+
ros_distribution: [humble]
25+
steps:
26+
- uses: actions/checkout@v3
27+
- uses: ros-tooling/setup-ros@v0.7
28+
- name: Build and Test
29+
uses: ros-tooling/action-ros-ci@v0.3
30+
with:
31+
target-ros2-distro: ${{ matrix.ros_distribution }}
32+
import-token: ${{ secrets.GITHUB_TOKEN }}
33+
package-name: |
34+
minecraft_utils
35+
minecraft_utils_visualization

0 commit comments

Comments
 (0)