You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run: pixi run --manifest-path C:\pixi_ws\pixi.toml vcs import C:/workspace/src --input C:/workspace/src/ros2_rust/ros2_rust_rolling.repos
56
-
- name: update rust version
57
-
run: pixi add --manifest-path C:\pixi_ws\pixi.toml rust # necessary for examples_rclrs_message_demo error and incompatibility with backtrace v0.3.75 with rustc 1.75. (TODO update in ROS2 pixi.toml)
51
+
58
52
- name: Build the rust package
59
-
#env:
60
-
# BINDGEN_EXTRA_CLANG_ARGS: -D_Check_return_= # to handle the clang error with the windows specific bindgen error
53
+
env:
54
+
LIBCLANG_PATH: C:\pixi_ws\.pixi\envs\default\Library\bin # See https://github.com/ros2-rust/ros2_rust?tab=readme-ov-file#sounds-great-how-can-i-try-this-out
55
+
BINDGEN_EXTRA_CLANG_ARGS: -D_Check_return_= # to handle the clang error with the windows specific bindgen error
61
56
run: |
62
57
call C:\pixi_ws\ros2-windows\setup.bat
58
+
pixi run --manifest-path C:\pixi_ws\pixi.toml vcs import C:/workspace/src --input C:/workspace/src/ros2_rust/ros2_rust_rolling.repos
63
59
pixi run --manifest-path C:\pixi_ws\pixi.toml colcon build
64
60
working-directory: C:/workspace
65
61
shell: cmd
62
+
63
+
- name: Run cargo test on Rust packages
64
+
run: |
65
+
call C:\pixi_ws\ros2-windows\setup.bat
66
+
cd C:\workspace
67
+
for /f "tokens=1,2,3" %%A in ('pixi run --manifest-path C:\pixi_ws\pixi.toml colcon list') do (
68
+
if "%%C"=="(ament_cargo)" (
69
+
if /I not "%%A"=="examples_rclrs_minimal_pub_sub" if /I not "%%A"=="examples_rclrs_minimal_client_service" if /I not "%%A"=="rust_pubsub" (
0 commit comments