From 677da310a298fb7d1faa91132e71d98ac965da63 Mon Sep 17 00:00:00 2001 From: Carlos Mastalli Date: Thu, 14 Mar 2024 10:01:04 +0000 Subject: [PATCH 1/3] [ci] Generated Python stubs in Conda CI --- .github/workflows/conda-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/conda-ci.yml b/.github/workflows/conda-ci.yml index b4b418eeab..c6a0abd9a8 100644 --- a/.github/workflows/conda-ci.yml +++ b/.github/workflows/conda-ci.yml @@ -119,7 +119,8 @@ jobs: -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \ -DBUILD_WITH_CODEGEN_SUPPORT=${{ env.codegen_support }} -DPYTHON_EXECUTABLE=$(which python3) \ - -DBUILD_WITH_MULTITHREADS=ON -DINSTALL_DOCUMENTATION=ON -DOpenMP_ROOT=$CONDA_PREFIX + -DBUILD_WITH_MULTITHREADS=ON -DINSTALL_DOCUMENTATION=ON -DGENERATE_PYTHON_STUBS=ON \ + -DOpenMP_ROOT=$CONDA_PREFIX make - name: Run unit tests From 35620fffa7447906226ba7101e39c77b083c3e13 Mon Sep 17 00:00:00 2001 From: Carlos Mastalli Date: Thu, 14 Mar 2024 10:02:57 +0000 Subject: [PATCH 2/3] [changelog] Updated --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 992d592b17..41842c3e52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +* Tested Python stubs in Conda CI in https://github.com/loco-3d/crocoddyl/pull/1228 * Improved CI, updated cmake and fixed launch file in https://github.com/loco-3d/crocoddyl/pull/1220 * Introduced a Rviz display in https://github.com/loco-3d/crocoddyl/pull/1216 * Enabled display of thrust and simplied displayers code in https://github.com/loco-3d/crocoddyl/pull/1215 From 0b442e54e763712a0fbec250c3b6f3e292c083ae Mon Sep 17 00:00:00 2001 From: Carlos Mastalli Date: Thu, 14 Mar 2024 16:08:19 +0000 Subject: [PATCH 3/3] [ci] Patched for ROS rolling CI --- .github/workflows/ros2-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ros2-ci.yaml b/.github/workflows/ros2-ci.yaml index 2f9cdd280b..9c67d80dcb 100644 --- a/.github/workflows/ros2-ci.yaml +++ b/.github/workflows/ros2-ci.yaml @@ -50,7 +50,7 @@ jobs: BUILDER: colcon # This by-passes issues on importing example_robot_data module when running examples and unit tests. # It seems target_ws is unable to properly overlay upstream_ws. - AFTER_SETUP_UPSTREAM_WORKSPACE: 'pip install example-robot-data' + AFTER_SETUP_UPSTREAM_WORKSPACE: 'pip install example-robot-data --break-system-packages' runs-on: ubuntu-latest continue-on-error: true steps: