Skip to content

Commit a99e97d

Browse files
committed
Build files for rolling win-64 2026-10-09-0541
1 parent e06a1b0 commit a99e97d

152 files changed

Lines changed: 211244 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/build.yaml‎

Lines changed: 503 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#!/usr/bin/env bash
2+
3+
4+
# Default values
5+
target=""
6+
7+
# Parse arguments
8+
while [[ "$#" -gt 0 ]]; do
9+
case $1 in
10+
--target) target="$2"; shift ;; # Capture value for --target
11+
*) echo "Unknown parameter passed: $1"; exit 1 ;; # Handle invalid options
12+
esac
13+
shift
14+
done
15+
16+
set -xeuo pipefail
17+
export PYTHONUNBUFFERED=1
18+
19+
# ROBOSTACK_DISTRO is set by the generated build workflow (tools/robostack.py gha).
20+
: "${ROBOSTACK_DISTRO:?ROBOSTACK_DISTRO is not set}"
21+
cd "distros/${ROBOSTACK_DISTRO}/work"
22+
export FEEDSTOCK_ROOT=`pwd`
23+
export "CONDA_BLD_PATH=$HOME/conda-bld/"
24+
25+
if [[ "$target" == *"osx"* ]]; then
26+
echo "osx"
27+
export PATH=$(echo $PATH | tr ":" "\n" | grep -v 'homebrew' | xargs | tr ' ' ':')
28+
fi
29+
30+
for recipe in ${CURRENT_RECIPES[@]}; do
31+
# build-ci (tools/robostack.py) adds the variant config and the distro's channels.
32+
pixi run -v rs "${ROBOSTACK_DISTRO}" build-ci \
33+
--recipe ${FEEDSTOCK_ROOT}/recipes/${recipe} \
34+
--output-dir $CONDA_BLD_PATH
35+
36+
done
37+
38+
# Check if it build something, this is a hotfix for the skips inside additional_recipes
39+
shopt -s nullglob
40+
conda_packages=( "${CONDA_BLD_PATH}/${target}"*/*.conda )
41+
if (( ${#conda_packages[@]} > 0 )); then
42+
# Upload packages one-by-one; the upload task (tools/robostack.py) skips or overwrites
43+
# packages that already exist, depending on the upload target.
44+
for conda_package in "${conda_packages[@]}"; do
45+
pixi run rs "${ROBOSTACK_DISTRO}" upload "${conda_package}"
46+
done
47+
else
48+
echo "Warning: No .conda files found in ${CONDA_BLD_PATH}/${target}"
49+
echo "This might be due to all the packages being skipped"
50+
fi
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
2+
setlocal EnableExtensions EnableDelayedExpansion
3+
4+
set CONDA_BLD_PATH=C:\bld
5+
echo "PATH is %PATH%"
6+
7+
rmdir /Q/S C:\Strawberry\
8+
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\"
9+
10+
:: ROBOSTACK_DISTRO is set by the generated build workflow (tools/robostack.py gha).
11+
cd distros\%ROBOSTACK_DISTRO%\work
12+
set "FEEDSTOCK_ROOT=%cd%"
13+
14+
mkdir %CONDA_BLD_PATH%
15+
16+
:: Enable long path names on Windows
17+
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f
18+
:: ... and in git, for sources that vendor packages clone during the build
19+
git config --global core.longpaths true
20+
21+
for %%X in (%CURRENT_RECIPES%) do (
22+
echo "BUILDING RECIPE %%X"
23+
cd %FEEDSTOCK_ROOT%\recipes\%%X\
24+
rem build-ci (tools/robostack.py) adds the variant config and the distro's channels.
25+
pixi run -v rs %ROBOSTACK_DISTRO% build-ci --recipe %FEEDSTOCK_ROOT%\recipes\%%X\ ^
26+
--output-dir %CONDA_BLD_PATH%
27+
28+
if errorlevel 1 exit 1
29+
rem -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml
30+
)
31+
32+
:: Check if .conda files exist in the win-64 directory
33+
if exist "%CONDA_BLD_PATH%\win-64\*.conda" (
34+
echo Found .conda files, starting upload...
35+
rem Upload packages one-by-one; the upload task (tools/robostack.py) skips or overwrites
36+
rem packages that already exist, depending on the upload target.
37+
for %%F in ("%CONDA_BLD_PATH%\win-64\*.conda") do (
38+
echo Uploading %%~fF
39+
pixi run rs %ROBOSTACK_DISTRO% upload "%%~fF"
40+
if errorlevel 1 exit 1
41+
)
42+
) else (
43+
echo Warning: No .conda files found in %CONDA_BLD_PATH%\win-64
44+
echo This might be due to all the packages being skipped
45+
)
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
ros2-rclpy-message-converter-msgs
2+
ros2-ament-pclint
3+
ros2-udp-msgs
4+
ros2-turtlebot3-msgs
5+
ros2-color-util
6+
ros2-urg-node-msgs
7+
ros2-urg-c
8+
ros2-laser-proc
9+
ros2-automatika-ros-sugar
10+
ros2-imu-filter-madgwick
11+
ros2-imu-complementary-filter
12+
ros2-imu-transformer
13+
ros2-geodesy
14+
ros2-apriltag-draw
15+
ros2-apriltag
16+
ros2-apriltag-mit
17+
ros2-zed-description
18+
ros2-turtle-tf2-py
19+
ros2-turtle-tf2-cpp
20+
ros2-rqt-joint-trajectory-controller
21+
ros2-geometry-tutorials
22+
ros2-bno055
23+
ros2-rclpy-message-converter
24+
ros2-ament-cmake-pclint
25+
ros2-io-context
26+
ros2-turtlebot3-fake-node
27+
ros2-urg-node
28+
ros2-imu-tools
29+
ros2-geographic-info
30+
ros2-apriltag-tools
31+
ros2-apriltag-detector-umich
32+
ros2-apriltag-detector-mit
33+
ros-rolling-zed-description
34+
ros-rolling-urg-node-msgs
35+
ros-rolling-urg-c
36+
ros-rolling-udp-msgs
37+
ros-rolling-turtlebot3-msgs
38+
ros-rolling-turtle-tf2-py
39+
ros-rolling-turtle-tf2-cpp
40+
ros-rolling-rqt-joint-trajectory-controller
41+
ros-rolling-rclpy-message-converter-msgs
42+
ros-rolling-laser-proc
43+
ros-rolling-imu-transformer
44+
ros-rolling-imu-filter-madgwick
45+
ros-rolling-imu-complementary-filter
46+
ros-rolling-geometry-tutorials
47+
ros-rolling-geodesy
48+
ros-rolling-color-util
49+
ros-rolling-bno055
50+
ros-rolling-automatika-ros-sugar
51+
ros-rolling-apriltag-mit
52+
ros-rolling-apriltag-draw
53+
ros-rolling-apriltag
54+
ros-rolling-ament-pclint
55+
ros2-apex-test-tools
56+
ros2-turtlebot3-simulations
57+
ros-rolling-urg-node
58+
ros-rolling-turtlebot3-fake-node
59+
ros-rolling-rclpy-message-converter
60+
ros-rolling-io-context
61+
ros-rolling-imu-tools
62+
ros-rolling-geographic-info
63+
ros-rolling-apriltag-tools
64+
ros-rolling-apriltag-detector-umich
65+
ros-rolling-apriltag-detector-mit
66+
ros-rolling-ament-cmake-pclint
67+
ros-rolling-turtlebot3-simulations
68+
ros-rolling-apex-test-tools

0 commit comments

Comments
 (0)