This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
780e858
commit d326170
Showing
1 changed file
with
10 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,28 +2,29 @@ name: rosserial CI | |
|
||
on: | ||
workflow_dispatch: | ||
# pull_request: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build-and-upload: | ||
strategy: | ||
fail-fast: false | ||
name: build-and-upload-ros-lib | ||
runs-on: ubuntu-20.04 | ||
name: build-and-upload-ros_lib | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ros:noetic | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
- name: Setup ROS tooling | ||
uses: ros-tooling/[email protected] | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
rosdep update | ||
rosdep install --rosdistro noetic --from-paths src -iry | ||
DEBIAN_FRONTEND=noninteractive rosdep install --from-paths src -iry | ||
- name: Build packages | ||
run: colcon build | ||
run: | | ||
. /opt/ros/noetic/setup.sh | ||
catkin_make | ||
- name: Build rosserial_arduino library | ||
run: | | ||
sudo apt install ros-noetic-rosserial-arduino | ||
|