Skip to content

Commit dfb3b24

Browse files
committed
Run demo only
1 parent 9293a4e commit dfb3b24

File tree

1 file changed

+2
-25
lines changed

1 file changed

+2
-25
lines changed

.github/workflows/windows-build-and-test.yml

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,42 +21,19 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
node-version: [22.X]
2524
ros_distribution:
2625
- humble
2726
- jazzy
2827
- kilted
2928
- rolling
3029
steps:
31-
- name: Setup Node.js ${{ matrix.node-version }}
32-
uses: actions/setup-node@v4
33-
with:
34-
node-version: ${{ matrix.node-version }}
35-
3630
- name: Setup ROS2
3731
uses: ros-tooling/[email protected]
3832
with:
3933
required-ros-distributions: ${{ matrix.ros_distribution }}
4034

41-
- name: Install ROS2 Rolling (Conditional)
42-
if: ${{ matrix.ros_distribution == 'rolling' }}
43-
shell: bash
44-
run: |
45-
wget --quiet https://ci.ros2.org/view/packaging/job/packaging_windows/lastSuccessfulBuild/artifact/ws/ros2-package-windows-AMD64.zip -O rolling.zip
46-
7z x rolling.zip -y -o/c/dev/rolling
47-
48-
- uses: actions/checkout@v4
49-
50-
- name: Build rclnodejs
51-
shell: cmd
52-
run: |
53-
call "c:\dev\${{ matrix.ros_distribution }}\ros2-windows\setup.bat"
54-
npm i
55-
56-
# On the windows/foxy combination the Eclipse CycloneDDS RMW implementation is used to workaround
57-
# an error when loading the default fastrtps ddl
58-
- name: Test rclnodejs
35+
- name: Run demo
5936
shell: cmd
6037
run: |
6138
call "c:\dev\${{ matrix.ros_distribution }}\ros2-windows\setup.bat"
62-
cmd /c "set RMW_IMPLEMENTATION=rmw_fastrtps_cpp && ros2 run demo_nodes_cpp talker"
39+
cmd /c "ros2 run demo_nodes_cpp talker"

0 commit comments

Comments
 (0)