Skip to content

Commit 4234b96

Browse files
committed
Add build files 2026-07-07-2044
1 parent 8e80ad8 commit 4234b96

6 files changed

Lines changed: 66483 additions & 0 deletions

File tree

.github/workflows/osx_arm64.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
jobs:
2+
stage_0_job_0:
3+
name: twist-stamper
4+
runs-on: macos-15
5+
strategy:
6+
fail-fast: false
7+
needs: []
8+
steps:
9+
- name: Checkout code
10+
uses: actions/checkout@v6
11+
- name: Build ros-lyrical-twist-stamper
12+
env:
13+
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
14+
CURRENT_RECIPES: ros-lyrical-twist-stamper
15+
BUILD_TARGET: osx-arm64
16+
run: |
17+
export CI=azure
18+
export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
19+
export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
20+
.scripts/build_unix.sh --target $BUILD_TARGET
21+
permissions:
22+
id-token: write
23+
attestations: write
24+
name: build_osx_arm64
25+
on:
26+
push:
27+
branches:
28+
- buildbranch_osx_arm64

buildorder.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ros-lyrical-twist-stamper
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
:: Generated by vinca http://github.com/RoboStack/vinca.
2+
:: DO NOT EDIT!
3+
setlocal
4+
5+
set "PYTHONPATH=%LIBRARY_PREFIX%\lib\site-packages;%SP_DIR%"
6+
7+
pushd %SRC_DIR%\%PKG_NAME%\src\work\
8+
set "PKG_NAME_SHORT=%PKG_NAME:*ros-lyrical-=%"
9+
set "PKG_NAME_SHORT=%PKG_NAME_SHORT:-=_%"
10+
11+
:: If there is a setup.cfg that contains install-scripts then use pip to install
12+
findstr install[-_]scripts setup.cfg
13+
if "%errorlevel%" == "0" (
14+
%PYTHON% setup.py install --single-version-externally-managed --record=files.txt ^
15+
--prefix=%LIBRARY_PREFIX% ^
16+
--install-lib=%SP_DIR% ^
17+
--install-scripts=%LIBRARY_PREFIX%\lib\%PKG_NAME_SHORT%
18+
) else (
19+
%PYTHON% setup.py install --single-version-externally-managed --record=files.txt ^
20+
--prefix=%LIBRARY_PREFIX% ^
21+
--install-lib=%SP_DIR% ^
22+
--install-scripts=%LIBRARY_PREFIX%\bin
23+
)
24+
25+
if errorlevel 1 exit 1
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Generated by vinca http://github.com/RoboStack/vinca.
2+
# DO NOT EDIT!
3+
4+
set -eo pipefail
5+
6+
pushd $SRC_DIR/$PKG_NAME/src/work/
7+
8+
# If there is a setup.cfg that contains install-scripts then we should not set it here
9+
if [ -f setup.cfg ] && grep -q "install[-_]scripts" setup.cfg; then
10+
# Remove e.g. ros-humble- from PKG_NAME
11+
PKG_NAME_SHORT=${PKG_NAME#*ros-lyrical-}
12+
# Substitute "-" with "_"
13+
PKG_NAME_SHORT=${PKG_NAME_SHORT//-/_}
14+
INSTALL_SCRIPTS_ARG="--install-scripts=$PREFIX/lib/$PKG_NAME_SHORT"
15+
echo "WARNING: setup.cfg not set, will set INSTALL_SCRIPTS_ARG to: $INSTALL_SCRIPTS_ARG"
16+
$PYTHON setup.py install --prefix="$PREFIX" --install-lib="$SP_DIR" $INSTALL_SCRIPTS_ARG --single-version-externally-managed --record=files.txt
17+
else
18+
$PYTHON -m pip install . --no-deps -vvv
19+
fi
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
2+
3+
package:
4+
name: ros-lyrical-twist-stamper
5+
version: 0.0.5
6+
source:
7+
git: https://github.com/ros2-gbp/twist_stamper-release.git
8+
tag: release/lyrical/twist_stamper/0.0.5-3
9+
target_directory: ros-lyrical-twist-stamper/src/work
10+
11+
build:
12+
script: ${{ '$RECIPE_DIR/build_ament_python.sh' if unix or wasm32 else '%RECIPE_DIR%\\bld_ament_python.bat' }}
13+
number: 22
14+
post_process:
15+
- files:
16+
- '*.pc'
17+
regex: (?:-L|-I)?"?([^;\s]+/sysroot/)
18+
replacement: $$(CONDA_BUILD_SYSROOT_S)
19+
- files:
20+
- '*.cmake'
21+
regex: ([^;\s"]+/sysroot)
22+
replacement: $$ENV{CONDA_BUILD_SYSROOT}
23+
- files:
24+
- '*.cmake'
25+
regex: ([^;\s"]+/MacOSX\d*\.?\d*\.sdk)
26+
replacement: $$ENV{CONDA_BUILD_SYSROOT}
27+
about:
28+
repository: https://github.com/joshnewans/twist_stamper
29+
license: Apache-2.0
30+
summary: ROS2 package for converting between Twist and TwistStamped messages
31+
extra:
32+
recipe-maintainers:
33+
- ros-forge
34+
35+
requirements:
36+
build:
37+
- ${{ compiler('cxx') }}
38+
- ${{ compiler('c') }}
39+
- if: target_platform!='emscripten-wasm32'
40+
then:
41+
- ${{ stdlib('c') }}
42+
- ninja
43+
- python
44+
- setuptools
45+
- git
46+
- git-lfs
47+
- if: unix
48+
then:
49+
- patch
50+
- make
51+
- coreutils
52+
- if: win
53+
then:
54+
- m2-patch
55+
- if: osx
56+
then:
57+
- tapi
58+
- if: build_platform != target_platform
59+
then:
60+
- pkg-config
61+
- cmake
62+
- cython
63+
- if: build_platform != target_platform
64+
then:
65+
- python
66+
- cross-python_${{ target_platform }}
67+
- numpy
68+
host:
69+
- if: build_platform == target_platform
70+
then:
71+
- pkg-config
72+
- numpy
73+
- pip
74+
- pytest
75+
- python
76+
- ros-lyrical-ament-copyright
77+
- ros-lyrical-ament-flake8
78+
- ros-lyrical-ament-pep257
79+
- ros-lyrical-ros-environment
80+
- ros-lyrical-ros-workspace
81+
- ros2-distro-mutex 0.18.* lyrical_*
82+
- setuptools
83+
run:
84+
- python
85+
- ros-lyrical-geometry-msgs
86+
- ros-lyrical-rclpy
87+
- ros-lyrical-ros-workspace
88+
- ros-lyrical-std-msgs
89+
- ros2-distro-mutex 0.18.* lyrical_*

0 commit comments

Comments
 (0)