Skip to content

Commit 984d2f6

Browse files
committed
Build files for humble win-64 2026-10-09-0545
1 parent e06a1b0 commit 984d2f6

53 files changed

Lines changed: 4692 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: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
jobs:
2+
stage_0_job_0:
3+
name: ros2-rclpy-message-converter-msgs ros2-grid-map-cmake-helpers ros2-autoware-internal-localization-msgs
4+
ros2-toppra ros2-ntrip-client ros2-nonpersistent-voxel-layer ros2-rclpy-message-converter
5+
ros2-grid-map-core ros2-grid-map-msgs toppra rclpy-message-converter-msgs ntrip-client
6+
nonpersistent-voxel-layer grid-map-cmake-helpers autoware-internal-localization-msgs
7+
ros2-grid-map-cv rclpy-message-converter grid-map-msgs grid-map-core ros2-grid-map-ros
8+
grid-map-cv grid-map-ros
9+
runs-on: windows-2022
10+
strategy:
11+
fail-fast: false
12+
needs: []
13+
env:
14+
CONDA_BLD_PATH: C:\\bld\\
15+
VINCA_CUSTOM_CMAKE_BUILD_DIR: C:\\x\\
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v7
19+
- name: Disable git auto-maintenance
20+
run: git config --global maintenance.auto false && git config --global gc.auto
21+
0
22+
- name: Setup pixi
23+
uses: prefix-dev/setup-pixi@v0.11.0
24+
with:
25+
pixi-version: v0.81.0
26+
cache: 'true'
27+
log-level: v
28+
frozen: 'true'
29+
- uses: egor-tensin/cleanup-path@v5
30+
with:
31+
dirs: C:\Program Files\Git\usr\bin;C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Program
32+
Files\Git\mingw64\bin
33+
- shell: cmd
34+
run: |
35+
set "CI=true"
36+
37+
:: 4 cores available on GHA: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners
38+
:: CPU_COUNT is passed through conda build: https://github.com/conda/conda-build/pull/1149
39+
set CPU_COUNT=4
40+
41+
set PYTHONUNBUFFERED=1
42+
43+
call setup_x64
44+
45+
:: Set the conda-build working directory to a smaller path
46+
if "%CONDA_BLD_PATH%" == "" (
47+
set "CONDA_BLD_PATH=C:\\bld\\"
48+
)
49+
50+
:: Hosted runners may have libcrypto*.dll & libssl*.dll under
51+
:: C:\\Windows\\System32, which should not be there (no vendor dlls in windows folder).
52+
:: They would be found before the openssl libs of the conda environment, so we delete them.
53+
if defined CI (
54+
DEL C:\\Windows\\System32\\libcrypto-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libcrypto-1_1-x64.dll)
55+
DEL C:\\Windows\\System32\\libssl-1_1-x64.dll || (Echo Ignoring failure to delete C:\\Windows\\System32\\libssl-1_1-x64.dll)
56+
)
57+
58+
:: Make paths like C:\\hostedtoolcache\\windows\\Ruby\\2.5.7\\x64\\bin garbage
59+
set "PATH=%PATH:ostedtoolcache=%"
60+
name: conda-forge build setup
61+
- shell: cmd
62+
run: |2
63+
64+
setlocal EnableExtensions EnableDelayedExpansion
65+
66+
set CONDA_BLD_PATH=C:\bld
67+
echo "PATH is %PATH%"
68+
69+
rmdir /Q/S C:\Strawberry\
70+
rmdir /Q/S "C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\"
71+
72+
:: ROBOSTACK_DISTRO is set by the generated build workflow (tools/robostack.py gha).
73+
cd distros\%ROBOSTACK_DISTRO%\work
74+
set "FEEDSTOCK_ROOT=%cd%"
75+
76+
mkdir %CONDA_BLD_PATH%
77+
78+
:: Enable long path names on Windows
79+
reg add HKLM\SYSTEM\CurrentControlSet\Control\FileSystem /v LongPathsEnabled /t REG_DWORD /d 1 /f
80+
:: ... and in git, for sources that vendor packages clone during the build
81+
git config --global core.longpaths true
82+
83+
for %%X in (%CURRENT_RECIPES%) do (
84+
echo "BUILDING RECIPE %%X"
85+
cd %FEEDSTOCK_ROOT%\recipes\%%X\
86+
rem build-ci (tools/robostack.py) adds the variant config and the distro's channels.
87+
pixi run -v rs %ROBOSTACK_DISTRO% build-ci --recipe %FEEDSTOCK_ROOT%\recipes\%%X\ ^
88+
--output-dir %CONDA_BLD_PATH%
89+
90+
if errorlevel 1 exit 1
91+
rem -m %FEEDSTOCK_ROOT%\.ci_support\conda_forge_pinnings.yaml
92+
)
93+
94+
:: Check if .conda files exist in the win-64 directory
95+
if exist "%CONDA_BLD_PATH%\win-64\*.conda" (
96+
echo Found .conda files, starting upload...
97+
rem Upload packages one-by-one; the upload task (tools/robostack.py) skips or overwrites
98+
rem packages that already exist, depending on the upload target.
99+
for %%F in ("%CONDA_BLD_PATH%\win-64\*.conda") do (
100+
echo Uploading %%~fF
101+
pixi run rs %ROBOSTACK_DISTRO% upload "%%~fF"
102+
if errorlevel 1 exit 1
103+
)
104+
) else (
105+
echo Warning: No .conda files found in %CONDA_BLD_PATH%\win-64
106+
echo This might be due to all the packages being skipped
107+
)
108+
env:
109+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
110+
CURRENT_RECIPES: ros2-rclpy-message-converter-msgs ros2-grid-map-cmake-helpers
111+
ros2-autoware-internal-localization-msgs ros2-toppra ros2-ntrip-client ros2-nonpersistent-voxel-layer
112+
ros2-rclpy-message-converter ros2-grid-map-core ros2-grid-map-msgs ros-humble-toppra
113+
ros-humble-rclpy-message-converter-msgs ros-humble-ntrip-client ros-humble-nonpersistent-voxel-layer
114+
ros-humble-grid-map-cmake-helpers ros-humble-autoware-internal-localization-msgs
115+
ros2-grid-map-cv ros-humble-rclpy-message-converter ros-humble-grid-map-msgs
116+
ros-humble-grid-map-core ros2-grid-map-ros ros-humble-grid-map-cv ros-humble-grid-map-ros
117+
PYTHONUNBUFFERED: 1
118+
name: Build ros2-rclpy-message-converter-msgs ros2-grid-map-cmake-helpers ros2-autoware-internal-localization-msgs
119+
ros2-toppra ros2-ntrip-client ros2-nonpersistent-voxel-layer ros2-rclpy-message-converter
120+
ros2-grid-map-core ros2-grid-map-msgs ros-humble-toppra ros-humble-rclpy-message-converter-msgs
121+
ros-humble-ntrip-client ros-humble-nonpersistent-voxel-layer ros-humble-grid-map-cmake-helpers
122+
ros-humble-autoware-internal-localization-msgs ros2-grid-map-cv ros-humble-rclpy-message-converter
123+
ros-humble-grid-map-msgs ros-humble-grid-map-core ros2-grid-map-ros ros-humble-grid-map-cv
124+
ros-humble-grid-map-ros
125+
permissions:
126+
id-token: write
127+
attestations: write
128+
name: build
129+
run-name: humble win-64
130+
on:
131+
push:
132+
branches:
133+
- buildbranch_humble_win_64
134+
env:
135+
ROBOSTACK_DISTRO: humble
136+
# optional repository variable: upload to this prefix.dev channel instead
137+
# (e.g. a test channel), or 'none' to only build
138+
ROBOSTACK_UPLOAD_CHANNEL: ${{ vars.ROBOSTACK_UPLOAD_CHANNEL }}
139+
# optional secret: prefix.dev API key, for channels without Repository Access (OIDC)
140+
PREFIX_API_KEY: ${{ secrets.PREFIX_API_KEY }}
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+
)

‎distros/humble/work/buildorder.txt‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
ros2-rclpy-message-converter-msgs
2+
ros2-grid-map-cmake-helpers
3+
ros2-autoware-internal-localization-msgs
4+
ros2-toppra
5+
ros2-ntrip-client
6+
ros2-nonpersistent-voxel-layer
7+
ros2-rclpy-message-converter
8+
ros2-grid-map-core
9+
ros2-grid-map-msgs
10+
ros-humble-toppra
11+
ros-humble-rclpy-message-converter-msgs
12+
ros-humble-ntrip-client
13+
ros-humble-nonpersistent-voxel-layer
14+
ros-humble-grid-map-cmake-helpers
15+
ros-humble-autoware-internal-localization-msgs
16+
ros2-grid-map-cv
17+
ros-humble-rclpy-message-converter
18+
ros-humble-grid-map-msgs
19+
ros-humble-grid-map-core
20+
ros2-grid-map-ros
21+
ros-humble-grid-map-cv
22+
ros-humble-grid-map-ros

0 commit comments

Comments
 (0)