Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to clone middleware #8

Merged
merged 8 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ inputs:
description: "Debug mode"
type: boolean
default: false
rmw_wasm:
description: "Clone rmw_wasm middleware"
type: boolean
default: true

runs:
using: composite
Expand Down Expand Up @@ -52,6 +56,13 @@ runs:
vcs import --input https://raw.githubusercontent.com/ros2/ros2/${{ inputs.ros_distro }}/ros2.repos ros-workspace/src
vcs import --input ${{ github.action_path }}/repos.yaml ros-workspace/src

- name: Checkout rmw_wasm middleware
if: ${{ inputs.rmw_wasm }}
uses: actions/checkout@v4
with:
repository: ihuicatl/rmw_wasm
path: ros-workspace/src/rmw_wasm

- name: Remove unsupported packages
shell: bash -eux {0}
run: |
Expand Down Expand Up @@ -89,7 +100,7 @@ runs:
cd ros-workspace
if [${{ inputs.debug }}]; then ${{ github.action_path }}/blasm.sh -d -v -u ${{ inputs.package }}; else ${{ github.action_path }}/blasm.sh -u ${{ inputs.package }}; fi

- name: Upload artifacts
- name: Upload artifacts for package
uses: actions/upload-artifact@v3
with:
name: ${{ inputs.package }}-artifacts
Expand Down
4 changes: 0 additions & 4 deletions repos.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
repositories:
rmw_wasm:
type: git
url: https://github.com/ihuicatl/rmw_wasm.git
version: main
dynmsg:
type: git
url: https://github.com/osrf/dynamic_message_introspection.git
Expand Down