mirror of
https://github.com/modelec/modelec-marcel-ROS.git
synced 2026-01-18 16:47:43 +01:00
Enhance ROS CI workflow with build and test steps
Added build and test steps to the ROS CI workflow.
This commit is contained in:
19
.github/workflows/ros2-build.yml
vendored
19
.github/workflows/ros2-build.yml
vendored
@@ -16,7 +16,15 @@ jobs:
|
|||||||
uses: ros-tooling/setup-ros@v0.7
|
uses: ros-tooling/setup-ros@v0.7
|
||||||
with:
|
with:
|
||||||
required-ros-distributions: jazzy
|
required-ros-distributions: jazzy
|
||||||
- run: vcs --help
|
|
||||||
|
- name: Build
|
||||||
|
run: colcon build --event-handlers console_direct+
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: |
|
||||||
|
colcon test --event-handlers console_direct+
|
||||||
|
colcon test-result --verbose
|
||||||
|
|
||||||
|
|
||||||
build_docker:
|
build_docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -27,4 +35,11 @@ jobs:
|
|||||||
uses: ros-tooling/setup-ros@v0.7
|
uses: ros-tooling/setup-ros@v0.7
|
||||||
with:
|
with:
|
||||||
required-ros-distributions: jazzy
|
required-ros-distributions: jazzy
|
||||||
- run: vcs --help
|
|
||||||
|
- name: Build
|
||||||
|
run: colcon build --event-handlers console_direct+
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: |
|
||||||
|
colcon test --event-handlers console_direct+
|
||||||
|
colcon test-result --verbose
|
||||||
|
|||||||
Reference in New Issue
Block a user