Skip to content

Commit fcc77a1

Browse files
committed
Build files for humble linux-aarch64 2026-10-09-0537
1 parent ca0a456 commit fcc77a1

64 files changed

Lines changed: 5515 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: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
jobs:
2+
stage_0_job_0:
3+
name: ros2-yasmin ros2-yasmin-msgs ros2-toppra ros2-ntrip-client ros2-nonpersistent-voxel-layer
4+
ros2-coal ros2-autoware-testing ros2-yasmin-ros ros2-yasmin-pcl yasmin-msgs
5+
yasmin toppra ntrip-client nonpersistent-voxel-layer coal autoware-testing ros2-yasmin-viewer
6+
yasmin-ros yasmin-pcl ros2-yasmin-factory yasmin-viewer ros2-yasmin-plugins-manager
7+
ros2-yasmin-demos yasmin-factory
8+
runs-on: ubuntu-24.04-arm
9+
strategy:
10+
fail-fast: false
11+
needs: []
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v7
15+
- name: Disable git auto-maintenance
16+
run: git config --global maintenance.auto false && git config --global gc.auto
17+
0
18+
- name: Setup pixi
19+
uses: prefix-dev/setup-pixi@v0.11.0
20+
with:
21+
pixi-version: v0.81.0
22+
cache: 'true'
23+
log-level: v
24+
frozen: 'true'
25+
- name: Build ros2-yasmin ros2-yasmin-msgs ros2-toppra ros2-ntrip-client ros2-nonpersistent-voxel-layer
26+
ros2-coal ros2-autoware-testing ros2-yasmin-ros ros2-yasmin-pcl ros-humble-yasmin-msgs
27+
ros-humble-yasmin ros-humble-toppra ros-humble-ntrip-client ros-humble-nonpersistent-voxel-layer
28+
ros-humble-coal ros-humble-autoware-testing ros2-yasmin-viewer ros-humble-yasmin-ros
29+
ros-humble-yasmin-pcl ros2-yasmin-factory ros-humble-yasmin-viewer ros2-yasmin-plugins-manager
30+
ros2-yasmin-demos ros-humble-yasmin-factory
31+
env:
32+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
33+
CURRENT_RECIPES: ros2-yasmin ros2-yasmin-msgs ros2-toppra ros2-ntrip-client
34+
ros2-nonpersistent-voxel-layer ros2-coal ros2-autoware-testing ros2-yasmin-ros
35+
ros2-yasmin-pcl ros-humble-yasmin-msgs ros-humble-yasmin ros-humble-toppra
36+
ros-humble-ntrip-client ros-humble-nonpersistent-voxel-layer ros-humble-coal
37+
ros-humble-autoware-testing ros2-yasmin-viewer ros-humble-yasmin-ros ros-humble-yasmin-pcl
38+
ros2-yasmin-factory ros-humble-yasmin-viewer ros2-yasmin-plugins-manager
39+
ros2-yasmin-demos ros-humble-yasmin-factory
40+
BUILD_TARGET: linux-aarch64
41+
run: |
42+
export CI=github
43+
export GIT_BRANCH=${GITHUB_REF_NAME}
44+
export FEEDSTOCK_NAME=${GITHUB_REPOSITORY##*/}
45+
.scripts/build_unix.sh --target $BUILD_TARGET
46+
permissions:
47+
id-token: write
48+
attestations: write
49+
stage_1_job_1:
50+
name: ros2-yasmin-editor ros2-yasmin-cli yasmin-plugins-manager yasmin-demos yasmin-editor
51+
yasmin-cli
52+
runs-on: ubuntu-24.04-arm
53+
strategy:
54+
fail-fast: false
55+
needs:
56+
- stage_0_job_0
57+
steps:
58+
- name: Checkout code
59+
uses: actions/checkout@v7
60+
- name: Disable git auto-maintenance
61+
run: git config --global maintenance.auto false && git config --global gc.auto
62+
0
63+
- name: Setup pixi
64+
uses: prefix-dev/setup-pixi@v0.11.0
65+
with:
66+
pixi-version: v0.81.0
67+
cache: 'true'
68+
log-level: v
69+
frozen: 'true'
70+
- name: Build ros2-yasmin-editor ros2-yasmin-cli ros-humble-yasmin-plugins-manager
71+
ros-humble-yasmin-demos ros-humble-yasmin-editor ros-humble-yasmin-cli
72+
env:
73+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
74+
CURRENT_RECIPES: ros2-yasmin-editor ros2-yasmin-cli ros-humble-yasmin-plugins-manager
75+
ros-humble-yasmin-demos ros-humble-yasmin-editor ros-humble-yasmin-cli
76+
BUILD_TARGET: linux-aarch64
77+
run: |
78+
export CI=github
79+
export GIT_BRANCH=${GITHUB_REF_NAME}
80+
export FEEDSTOCK_NAME=${GITHUB_REPOSITORY##*/}
81+
.scripts/build_unix.sh --target $BUILD_TARGET
82+
permissions:
83+
id-token: write
84+
attestations: write
85+
name: humble build_linux_aarch64
86+
on:
87+
push:
88+
branches:
89+
- buildbranch_humble_linux_aarch64
90+
env:
91+
ROBOSTACK_DISTRO: humble
92+
# optional repository variable: upload to this prefix.dev channel instead
93+
# (e.g. a test channel), or 'none' to only build
94+
ROBOSTACK_UPLOAD_CHANNEL: ${{ vars.ROBOSTACK_UPLOAD_CHANNEL }}
95+
# optional secret: prefix.dev API key, for channels without Repository Access (OIDC)
96+
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: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
ros2-yasmin
2+
ros2-yasmin-msgs
3+
ros2-toppra
4+
ros2-ntrip-client
5+
ros2-nonpersistent-voxel-layer
6+
ros2-coal
7+
ros2-autoware-testing
8+
ros2-yasmin-ros
9+
ros2-yasmin-pcl
10+
ros-humble-yasmin-msgs
11+
ros-humble-yasmin
12+
ros-humble-toppra
13+
ros-humble-ntrip-client
14+
ros-humble-nonpersistent-voxel-layer
15+
ros-humble-coal
16+
ros-humble-autoware-testing
17+
ros2-yasmin-viewer
18+
ros-humble-yasmin-ros
19+
ros-humble-yasmin-pcl
20+
ros2-yasmin-factory
21+
ros-humble-yasmin-viewer
22+
ros2-yasmin-plugins-manager
23+
ros2-yasmin-demos
24+
ros-humble-yasmin-factory
25+
ros2-yasmin-editor
26+
ros2-yasmin-cli
27+
ros-humble-yasmin-plugins-manager
28+
ros-humble-yasmin-demos
29+
ros-humble-yasmin-editor
30+
ros-humble-yasmin-cli

0 commit comments

Comments
 (0)