@@ -23,44 +23,52 @@ jobs:
23
23
matrix :
24
24
node-version : [22.X]
25
25
ros_distribution :
26
- - humble
27
- - jazzy
28
26
- kilted
29
- - rolling
30
27
steps :
31
28
- name : Setup Node.js ${{ matrix.node-version }}
32
29
uses : actions/setup-node@v4
33
30
with :
34
31
node-version : ${{ matrix.node-version }}
35
32
36
- - name : Setup ROS2
37
- uses : ros-tooling/setup-ros@v0.7
38
- with :
39
- required-ros-distributions : ${{ matrix.ros_distribution }}
33
+ - name : Install pixi
34
+ shell : powershell
35
+ run : |
36
+ irm -useb https://pixi.sh/install.ps1 | iex
37
+
38
+ - name : Install dependencies
39
+ shell : powershell
40
+ run : |
41
+ irm https://raw.githubusercontent.com/ros2/ros2/refs/heads/kilted/pixi.toml -OutFile pixi.toml
42
+ pixi install
43
+
44
+ - name : Install 7-Zip
45
+ shell : powershell
46
+ run : |
47
+ choco install 7zip wget -y
40
48
41
49
- name : Install ROS2 Rolling (Conditional)
42
- if : ${{ matrix.ros_distribution == 'rolling' }}
43
50
shell : bash
44
51
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
- - name : Prebuild - Setup VS Dev Environment
49
- uses : seanmiddleditch/gha-setup-vsdevenv@v4
52
+ wget --quiet https://github.com/ros2/ros2/releases/download/release-kilted-20250523/ros2-kilted-20250523-windows-release-amd64.zip -O rolling.zip
53
+ 7z x rolling.zip -y -o/c/dev/kilted
50
54
51
55
- uses : actions/checkout@v4
52
56
53
57
- name : Build rclnodejs
54
58
shell : cmd
55
59
run : |
56
- set RMW_IMPLEMENTATION=rmw_fastrtps_cpp
57
- call "c:\dev\${{ matrix.ros_distribution }}\ros2-windows\setup.bat"
60
+ call "c:\dev\kilted\ros2-windows\setup.bat"
58
61
npm i
59
62
60
- # On the windows/foxy combination the Eclipse CycloneDDS RMW implementation is used to workaround
61
- # an error when loading the default fastrtps ddl
63
+ - name : Test rclnodejs
64
+ shell : powershell
65
+ run : |
66
+ pixi shell
67
+ call "c:\dev\kilted\ros2-windows\setup.bat"
68
+ npm test
69
+
62
70
- name : Test rclnodejs
63
71
shell : cmd
64
72
run : |
65
- set RMW_IMPLEMENTATION=rmw_fastrtps_cpp
66
- call "c:\dev\${{ matrix.ros_distribution }}\ros2-windows\setup.bat"
73
+ call "c:\dev\kilted\ros2-windows\local_setup.bat"
74
+ npm test
0 commit comments