Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
a0aecd7
cpp: remove unused macros in fwd.hpp
ahoarau Dec 11, 2025
7e10325
cpp: add dependency headers wrt a compile def
ahoarau Dec 11, 2025
d8f6c36
cpp: merge internal.h into module.cpp
ahoarau Dec 11, 2025
cc4683e
python: migrate tests to pytest
ahoarau Dec 11, 2025
f8b8eed
gersemi: update config
ahoarau Dec 11, 2025
c00d2f3
pixi.toml: we can use forward slash in windows
ahoarau Dec 11, 2025
fb66270
pixi.toml: add install and test commands
ahoarau Dec 11, 2025
781fbf0
pixi.toml: add explicit testing, and build type
ahoarau Dec 11, 2025
2bb3df5
git: remove submodules
ahoarau Dec 11, 2025
e5d89b6
gitignore: ignore more stuff
ahoarau Dec 11, 2025
ec33f4b
cmake: refactor CMake files with JRL CMake Modules v2
ahoarau Dec 11, 2025
16ac398
cmake: intregrate get-jrl-cmakemodules.cmake
ahoarau Dec 12, 2025
19258ea
cmake: format tests/CMakeLists.txt (remove gersemi off/on)
ahoarau Dec 16, 2025
594adb4
cmake: update jrl url to point to fork
ahoarau Dec 15, 2025
066d073
cmake: require jrl-cmakemodules version 2.0.0
ahoarau Dec 16, 2025
7ee2860
cmake: rename test dir
ahoarau Jan 5, 2026
c0592d0
cmake: require at least nanobind 2.5.0
ahoarau Dec 18, 2025
b4025b1
cmake: change message verbosity to STATUS and fix env case
ahoarau Dec 19, 2025
57b4f35
cmake: add debug messages to explain what we do with nanobind
ahoarau Dec 18, 2025
e979784
ci: add debug and verbose output to ros ci
ahoarau Dec 16, 2025
e230efd
ci: use the commands defined in pixi.toml
ahoarau Dec 18, 2025
75fa5ec
pixi.toml: add pytest
ahoarau Dec 13, 2025
811f180
pixi.toml: remove extra cmake lines in configure task
ahoarau Dec 16, 2025
21148ec
pixi.toml: add test packaging
ahoarau Jan 5, 2026
b0b7ffc
pixi.toml: override python install dir on windows
ahoarau Dec 19, 2025
5af248a
changelog: update with jrl v2
ahoarau Jan 5, 2026
94fbed1
pixi.lock: update pixi.lock
ahoarau Jan 5, 2026
6c6fcf4
ci: temporarly disable nix job
ahoarau Jan 5, 2026
3fbc551
gitignore: ignore ruff cache
ahoarau Jan 5, 2026
6a8e539
ci: disable nix job check
ahoarau Jan 5, 2026
4bc8d76
cmake: add check for the quaternion test module
ahoarau Jan 5, 2026
5f36255
cmake: add inria copyright
ahoarau Jan 5, 2026
7d3d795
cmake: remove cmake version range
ahoarau Jan 5, 2026
5f2d976
cmake: update nanobind GIT_TAG to v2.10.2
ahoarau Jan 6, 2026
8707ffb
ci: remove warning by passing the explicit arguments to env
ahoarau Jan 6, 2026
b87bb01
ci: remove explicit cache for pixi
ahoarau Jan 6, 2026
74ec6de
ci: disabling explicit cache to force using the latest fetchcontent s…
ahoarau Jan 6, 2026
e66bdc0
ci: cosmetics on pixi job
ahoarau Jan 6, 2026
a46d78d
ci: rosci enable cache and prerelease
ahoarau Jan 6, 2026
3b21da9
package.xml: nanobind-dev not yet available
ahoarau Jan 6, 2026
df570cb
ci: ros ci disable fail fast
ahoarau Jan 6, 2026
f49a300
package.xml: add pytest dep
ahoarau Jan 6, 2026
0f98189
ci: name the ros jobs
ahoarau Jan 6, 2026
1ba3288
rosci: configure cache
ahoarau Jan 8, 2026
4aa0c89
ci: relax cache availability
ahoarau Jan 8, 2026
453ce75
cmale: update cmake option docs
ahoarau Jan 10, 2026
f646a95
changelog: remove the c++17 required.
ahoarau Jan 10, 2026
7babdc5
cmake: move dependencies to headers instead of module
ahoarau Jan 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gersemirc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
definitions: [./CMakeLists.txt, ./cmake, ./tests]
line_length: 80
definitions: [./CMakeLists.txt, ./tests]
line_length: 100
indent: 2
warn_about_unknown_commands: false
39 changes: 19 additions & 20 deletions .github/workflows/macos-linux-windows-pixi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI - MacOS/Linux/Windows via Pixi
name: CI - Pixi (MacOS/Linux/Windows)

on:
push:
Expand Down Expand Up @@ -30,12 +30,12 @@ concurrency:
cancel-in-progress: true

jobs:
nanoeigenpy-pixi:
name: Standard - ${{ matrix.os }} - Env ${{ matrix.environment }} ${{ matrix.build_type }}
pixi:
name: Pixi - ${{ matrix.os }} - Env ${{ matrix.environment }} ${{ matrix.build_type }}
runs-on: ${{ matrix.os }}
env:
CCACHE_BASEDIR: "${GITHUB_WORKSPACE}"
CCACHE_DIR: "${GITHUB_WORKSPACE}/.ccache"
CCACHE_BASEDIR: "${{ github.workspace }}"
CCACHE_DIR: "${{ github.workspace }}/.ccache"
CCACHE_COMPRESS: true
CCACHE_COMPRESSLEVEL: 6
# Since pixi will install a compiler, the compiler mtime will be changed.
Expand All @@ -55,43 +55,44 @@ jobs:

steps:
- uses: actions/checkout@v6
with:
submodules: recursive

- uses: actions/cache@v5
with:
path: .ccache
key: ccache-macos-linux-windows-pixi-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.environment }}-${{ github.sha }}
restore-keys: ccache-macos-linux-windows-pixi-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.environment }}-
path: ${{ env.CCACHE_DIR }}
key: ccache-pixi-${{ matrix.os }}-${{ matrix.build_type }}-${{ github.sha }}
restore-keys: ccache-pixi-${{ matrix.os }}-${{ matrix.build_type }}-

- uses: prefix-dev/[email protected]
with:
cache: true
environments: ${{ matrix.environment }}

- name: Clear ccache statistics [MacOS/Linux/Windows]
run: |
pixi run -e ${{ matrix.environment }} ccache -z

- name: Build nanoeigenpy [MacOS/Linux/Windows]
- name: Configure nanoeigenpy [MacOS/Linux/Windows]
env:
NANOEIGENPY_BUILD_TYPE: ${{ matrix.build_type }}
run: |
pixi run -e ${{ matrix.environment }} configure

- name: Build nanoeigenpy [MacOS/Linux/Windows]
run: |
pixi run -e ${{ matrix.environment }} build

- name: Test nanoeigenpy [MacOS/Linux/Windows]
run: |
pixi run -e ${{ matrix.environment }} ctest --test-dir build --output-on-failure
pixi run -e ${{ matrix.environment }} test

- name: Install nanoeigenpy [MacOS/Linux/Windows]
run: |
pixi run -e ${{ matrix.environment }} cmake --build build --target install
pixi run -e ${{ matrix.environment }} install

- name: Show ccache statistics [MacOS/Linux/Windows]
run: |
pixi run -e ${{ matrix.environment }} ccache -sv

nanoeigenpy-pixi-build:
pixi-build:
name: Pixi build - ${{ matrix.os }}
runs-on: ${{ matrix.os }}

Expand All @@ -102,14 +103,11 @@ jobs:

steps:
- uses: actions/checkout@v6
with:
submodules: recursive

- uses: prefix-dev/[email protected]
env:
CMAKE_BUILD_PARALLEL_LEVEL: 2
with:
cache: true
environments: test-pixi-build

- name: Test package [MacOS/Linux/Windows]
Expand All @@ -121,9 +119,10 @@ jobs:
name: check-macos-linux-windows-pixi

needs:
- nanoeigenpy-pixi
- pixi
- pixi-build

runs-on: Ubuntu-latest
runs-on: ubuntu-latest

steps:
- name: Decide whether the needed jobs succeeded or failed
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:

jobs:
nix:
# ⚠️ temporarly disable the Nix job for https://github.com/Simple-Robotics/nanoeigenpy/pull/40 ⚠️
if: false

runs-on: "${{ matrix.os }}-latest"
strategy:
matrix:
Expand All @@ -25,7 +28,10 @@ jobs:
- run: nix build -L ".#nanoeigenpy${{ matrix.eigen }}"

check:
if: always()
# ⚠️ temporarly disable the Nix job for https://github.com/Simple-Robotics/nanoeigenpy/pull/40 ⚠️
if: false
# if: always()

name: check-macos-linux-nix

needs:
Expand Down
43 changes: 30 additions & 13 deletions .github/workflows/ros_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,51 @@ concurrency:
cancel-in-progress: true

jobs:
CI:
ros:
name: ROS ${{ matrix.ROS_DISTRO }} - ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
env:
- {ROS_DISTRO: humble}
- {ROS_DISTRO: jazzy}
- {ROS_DISTRO: kilted}
- {ROS_DISTRO: rolling}
include:
# ROS2 Humble Hawksbill (May 2022 - May 2027)
- ROS_DISTRO: humble
os: Ubuntu 22.04 (Jammy)

# ROS2 Jazzy Jalisco (May 2024 - May 2029)
- ROS_DISTRO: jazzy
os: Ubuntu 24.04 (Noble)

# ROS2 Kilted Kayu (May 2025 - December 2026)
- ROS_DISTRO: kilted
os: Ubuntu 24.04 (Noble)

# ROS2 Rolling Ridley
- ROS_DISTRO: rolling
os: Ubuntu 24.04 (Noble)
env:
# PRERELEASE: true # Fails due to issues in the underlying Docker image
BUILDER: colcon
PRERELEASE: true
VERBOSE_OUTPUT: true
VERBOSE_TESTS: true
ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
CCACHE_DIR: ${{ github.workspace }}/.ccache
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/cache@v4
with:
submodules: recursive
# Run industrial_ci
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ matrix.ROS_DISTRO }}-${{github.run_id}}
restore-keys: ccache-${{ matrix.ROS_DISTRO }}-
- uses: 'ros-industrial/industrial_ci@ba2a3d0f830f8051b356711a8df2fedfc5d256cf'
env: ${{ matrix.env }}

check:
if: always()
name: check-ros-ci

needs:
- CI
- ros

runs-on: Ubuntu-latest
runs-on: ubuntu-latest

steps:
- name: Decide whether the needed jobs succeeded or failed
Expand Down
18 changes: 13 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
build*/
install*/
.pytest_cache/
.cache/
__pycache__
.pytest_cache

# pixi environments
.pixi
.pixi/
__pycache__/
Xcode*
*.pyc
*~
*.egg-info
.ruff_cache/
.DS_Store
compile_commands.json
cmake-profiling.json
result
*.conda
6 changes: 0 additions & 6 deletions .gitmodules

This file was deleted.

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Python version update ([#25](https://github.com/Simple-Robotics/nanoeigenpy/pull/25)):
- Project is now tested with Python 3.10 and 3.14
- Python 3.10 is the minimal supported Python version
- Switch to [JRL CMake modules v2](https://github.com/jrl-umi3218/jrl-cmakemodules/pull/798) ([#28](https://github.com/Simple-Robotics/nanoeigenpy/pull/28))
- Remove submodules: archives can now be used
- Migrate python tests to pytest

### Added
- Add pixi-build support ([#25](https://github.com/Simple-Robotics/nanoeigenpy/pull/25))
Expand Down
Loading