File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -31,21 +31,29 @@ jobs:
31
31
with :
32
32
node-version : ${{ matrix.node-version }}
33
33
34
+ - name : Install pixi
35
+ shell : cmd
36
+ run : |
37
+ irm -useb https://pixi.sh/install.ps1 | iex
38
+
34
39
- name : Setup ROS2
35
40
uses :
ros-tooling/[email protected]
36
41
with :
37
42
required-ros-distributions : ${{ needs.identify-ros-distro.outputs.distro }}
38
43
44
+ - name : Install dependencies
45
+ shell : cmd
46
+ run : |
47
+ irm https://raw.githubusercontent.com/ros2/ros2/refs/heads/rolling/pixi.toml -OutFile pixi.toml
48
+ pixi install
49
+
39
50
- name : Install ROS2 Rolling (Conditional)
40
51
if : ${{ needs.identify-ros-distro.outputs.distro == 'rolling' }}
41
52
shell : bash
42
53
run : |
43
54
wget --quiet https://ci.ros2.org/view/packaging/job/packaging_windows/lastSuccessfulBuild/artifact/ws/ros2-package-windows-AMD64.zip -O rolling.zip
44
55
7z x rolling.zip -y -o/c/dev/rolling
45
56
46
- - name : Prebuild - Setup VS Dev Environment
47
- uses : seanmiddleditch/gha-setup-vsdevenv@v4
48
-
49
57
- uses : actions/checkout@v4
50
58
51
59
- name : Build rclnodejs
59
67
- name : Test rclnodejs
60
68
shell : cmd
61
69
run : |
70
+ pixi shell
62
71
call "c:\dev\${{ needs.identify-ros-distro.outputs.distro }}\ros2-windows\setup.bat"
63
72
cmd /c "if ${{ needs.identify-ros-distro.outputs.distro }}==foxy (set RMW_IMPLEMENTATION=rmw_cyclonedds_cpp&&npm test)"
64
73
cmd /c "if NOT ${{ needs.identify-ros-distro.outputs.distro }}==foxy (npm test)"
You can’t perform that action at this time.
0 commit comments