Update README.md #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ROS 2 Humble | |
on: | |
push: | |
branches: | |
- humble | |
pull_request: | |
branches: | |
- "*" | |
jobs: | |
build_and_test: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
container: | |
image: ros:humble-ros-base-jammy | |
steps: | |
- name: Setup ROS | |
uses: ros-tooling/[email protected] | |
with: | |
required-ros-distributions: humble | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build and Test | |
id: ros-build | |
uses: ros-tooling/[email protected] | |
with: | |
package-name: | | |
auto_apms_util | |
auto_apms_behavior_tree_core | |
auto_apms_behavior_tree | |
auto_apms_px4 | |
auto_apms_mission | |
auto_apms_simulation | |
auto_apms_examples | |
import-token: ${{ secrets.GITHUB_TOKEN }} | |
target-ros2-distro: humble | |
vcs-repo-file-url: ${GITHUB_WORKSPACE}/dependencies.repos | |
no-symlink-install: true | |
colcon-defaults: | | |
{ | |
"test": { | |
"ctest-args": [ | |
"-R", "auto_apms_\\S*_unit_tests" | |
] | |
} | |
} | |
- name: Upload logs | |
uses: actions/upload-artifact@v4 | |
with: | |
name: colcon-logs | |
path: ${{ steps.ros-build.outputs.ros-workspace-directory-name }}/log | |
if: always() # upload the logs even when the build fails |