Skip to content

Commit

Permalink
feat: add workflow (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyuYamamoto authored Apr 10, 2024
1 parent 1360bf4 commit 60270c3
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## PR Type

- [ ] New Features
- [ ] Improvement
- [ ] Bug fix

## Description

## How to review this PR

## Related PR
46 changes: 46 additions & 0 deletions .github/workflows/colcon-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: colcon-build-test
on:
# Run this action whenever a pull request is made
pull_request:
workflow_dispatch:

jobs:
# Note that we pass each job a different name to distinguish each linter job
build:
runs-on: ubuntu-latest
strategy:
matrix:
ros_distribution:
- humble

include:
- docker_image: rostooling/setup-ros-docker:ubuntu-jammy-ros-humble-ros-base-latest
ros_distribution: humble
container:
image: ${{ matrix.docker_image }}

steps:
- name: Install Dependencies Manually
run: |
rosdep update
sudo apt-get update
sudo apt-get install -y libunwind-dev
rosdep install --from-path . -i -y --rosdistro ${{ matrix.ros_distribution }}
- name: Check out Repository
uses: actions/checkout@v3

- name: Setup
uses: ros-tooling/[email protected]
with:
required-ros-distributions: humble

- name: Build
uses: ros-tooling/[email protected]
with:
package-name: navyu
target-ros2-distro: humble
import-token: ${{ secrets.GITHUB_TOKEN }}
skip-tests: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 60270c3

Please sign in to comment.