Skip to content
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
21 changes: 7 additions & 14 deletions .github/workflows/linux-arm64-build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
name: Linux arm64
name: Linux ARM64 Build and Test (Reusable)

on:
push:
branches:
- develop
- kilted
- jazzy
- humble-hawksbill
pull_request:
branches:
- develop
- kilted
- jazzy
- humble-hawksbill
workflow_dispatch:
workflow_call:
inputs:
trigger_type:
description: 'Type of trigger (pr or push)'
required: true
type: string

defaults:
run:
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/linux-arm64-pr-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Linux ARM64 - Pull Request

on:
pull_request:
branches:
- develop
- kilted
- jazzy
- humble-hawksbill
workflow_dispatch:

jobs:
build-and-test:
uses: ./.github/workflows/linux-arm64-build-and-test.yml
with:
trigger_type: "pr"
secrets: inherit
17 changes: 17 additions & 0 deletions .github/workflows/linux-arm64-push-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Linux ARM64 - Push to Branches

on:
push:
branches:
- develop
- kilted
- jazzy
- humble-hawksbill
workflow_dispatch:

jobs:
build-and-test:
uses: ./.github/workflows/linux-arm64-build-and-test.yml
with:
trigger_type: "push"
secrets: inherit
40 changes: 0 additions & 40 deletions .github/workflows/linux-build-and-test-compatibility.yml

This file was deleted.

25 changes: 10 additions & 15 deletions .github/workflows/linux-x64-build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
name: Linux x64
name: Build and Test (Reusable)

on:
push:
branches:
- develop
- kilted
- jazzy
- humble-hawksbill
pull_request:
branches:
- develop
- kilted
- jazzy
- humble-hawksbill
workflow_dispatch:
workflow_call:
inputs:
trigger_type:
description: 'Type of trigger (pr or push)'
required: true
type: string

defaults:
run:
Expand Down Expand Up @@ -83,14 +76,16 @@ jobs:
npm run clean

- name: Coveralls Parallel
if: ${{ matrix.ros_distribution == 'rolling' && matrix['node-version'] == '24.X' }}
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run-${{ matrix.node-version }}-${{ matrix.architecture }}
flag-name: run-${{ inputs.trigger_type }}-${{ matrix.node-version }}-${{ matrix.architecture }}
parallel: true

finish:
needs: build
if: always()
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/linux-x64-pr-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Linux x64 - Pull Request

on:
pull_request:
branches:
- develop
- kilted
- jazzy
- humble-hawksbill
workflow_dispatch:

jobs:
build-and-test:
uses: ./.github/workflows/linux-x64-build-and-test.yml
with:
trigger_type: "pr"
secrets: inherit
17 changes: 17 additions & 0 deletions .github/workflows/linux-x64-push-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Linux x64 - Push to Branches

on:
push:
branches:
- develop
- kilted
- jazzy
- humble-hawksbill
workflow_dispatch:

jobs:
build-and-test:
uses: ./.github/workflows/linux-x64-build-and-test.yml
with:
trigger_type: "push"
secrets: inherit
55 changes: 0 additions & 55 deletions .github/workflows/windows-build-and-test-compatibility.yml

This file was deleted.

23 changes: 8 additions & 15 deletions .github/workflows/windows-build-and-test.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
name: Windows
name: Windows Build and Test (Reusable)

on:
push:
branches:
- develop
- kilted
- jazzy
- humble-hawksbill
pull_request:
branches:
- develop
- kilted
- jazzy
- humble-hawksbill
workflow_dispatch:
workflow_call:
inputs:
trigger_type:
description: 'Type of trigger (pr or push)'
required: true
type: string

jobs:
build:
Expand Down Expand Up @@ -57,7 +50,7 @@ jobs:
call "c:\dev\${{ matrix.ros_distribution }}\ros2-windows\setup.bat"
npm i

# On the windows/foxy combination the Eclipse CycloneDDS RMW implementation is used to workaround
# On the windows/foxy combination the Eclipse CycloneDDS RMW implementation is used to workaround
# an error when loading the default fastrtps ddl
- name: Test rclnodejs
shell: cmd
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/windows-pr-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Windows - Pull Request

on:
pull_request:
branches:
- develop
- kilted
- jazzy
- humble-hawksbill
workflow_dispatch:

jobs:
build-and-test:
uses: ./.github/workflows/windows-build-and-test.yml
with:
trigger_type: "pr"
secrets: inherit
17 changes: 17 additions & 0 deletions .github/workflows/windows-push-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Windows - Push to Branches

on:
push:
branches:
- develop
- kilted
- jazzy
- humble-hawksbill
workflow_dispatch:

jobs:
build-and-test:
uses: ./.github/workflows/windows-build-and-test.yml
with:
trigger_type: "push"
secrets: inherit
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

[![npm](https://img.shields.io/npm/v/rclnodejs.svg)](https://www.npmjs.com/package/rclnodejs)[![Coverage Status](https://coveralls.io/repos/github/RobotWebTools/rclnodejs/badge.svg?branch=develop)](https://coveralls.io/github/RobotWebTools/rclnodejs?branch=develop)[![npm](https://img.shields.io/npm/dm/rclnodejs)](https://www.npmjs.com/package/rclnodejs)[![GitHub license](https://img.shields.io/github/license/RobotWebTools/rclnodejs.svg)](https://github.com/RobotWebTools/rclnodejs/blob/develop/LICENSE)[![node](https://img.shields.io/node/v/rclnodejs.svg)](https://nodejs.org/en/download/releases/)[![npm type definitions](https://img.shields.io/npm/types/rclnodejs)](https://www.npmjs.com/package/rclnodejs)[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)

| **ROS Distro\*** | **Status** |
| :----------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| Rolling<br>Kilted<br>Jazzy<br>Humble | [![Linux](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-x64-build-and-test.yml/badge.svg?branch=develop)](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-x64-build-and-test.yml?query=branch%3Adevelop)<br> [![Linux](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-arm64-build-and-test.yml/badge.svg?branch=develop)](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-arm64-build-and-test.yml?query=branch%3Adevelop)<br> [![Windows](https://github.com/RobotWebTools/rclnodejs/actions/workflows/windows-build-and-test.yml/badge.svg?branch=develop)](https://github.com/RobotWebTools/rclnodejs/actions/workflows/windows-build-and-test.yml?query=branch%3Adevelop) |
| **ROS Distro\*** | **Status** |
| :----------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| Rolling<br>Kilted<br>Jazzy<br>Humble | [![Linux](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-x64-push-test.yml/badge.svg?branch=develop)](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-x64-push-test.yml?query=branch%3Adevelop)<br> [![Linux](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-arm64-push-test.yml/badge.svg?branch=develop)](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-arm64-push-test.yml?query=branch%3Adevelop)<br> [![Windows](https://github.com/RobotWebTools/rclnodejs/actions/workflows/windows-push-test.yml/badge.svg?branch=develop)](https://github.com/RobotWebTools/rclnodejs/actions/workflows/windows-push-test.yml?query=branch%3Adevelop) |

\* rclnodejs development and maintenance is limited to the ROS 2 LTS releases and the Rolling development branch

Expand Down
2 changes: 1 addition & 1 deletion scripts/npmjs-readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# rclnodejs [![Linux](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-x64-build-and-test.yml/badge.svg?branch=develop)](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-x64-build-and-test.yml?query=branch%3Adevelop)[![Linux](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-arm64-build-and-test.yml/badge.svg?branch=develop)](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-arm64-build-and-test.yml?query=branch%3Adevelop)
# rclnodejs [![Linux](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-x64-push-test.yml/badge.svg?branch=develop)](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-x64-push-test.yml?query=branch%3Adevelop)[![Linux](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-arm64-push-test.yml/badge.svg?branch=develop)](https://github.com/RobotWebTools/rclnodejs/actions/workflows/linux-arm64-push-test.yml?query=branch%3Adevelop)

`rclnodejs` is a Node.js client for the Robot Operating System (ROS 2). It provides a simple and easy JavaScript API for ROS 2 programming. TypeScript declarations are included to support use of rclnodejs in TypeScript projects.

Expand Down
Loading