CI: Fix Noble builds
Some checks failed
CI / ${{ matrix.env.IMAGE }}${{ matrix.env.NAME && ' • ' || ''}}${{ matrix.env.NAME }}${{ matrix.env.CATKIN_LINT && ' • catkin_lint' || ''}}${{ matrix.env.CLANG_TIDY && ' • clang-tidy' || '' }} (map[CLANG_TIDY:true IMAGE:noble-ci-testing TARGET_CMAKE_… (push) Has been cancelled
CI / ${{ matrix.env.IMAGE }}${{ matrix.env.NAME && ' • ' || ''}}${{ matrix.env.NAME }}${{ matrix.env.CATKIN_LINT && ' • catkin_lint' || ''}}${{ matrix.env.CLANG_TIDY && ' • clang-tidy' || '' }} (map[DOCKER_RUN_OPTS:-e PRELOAD=libasan.so.8 -e LSAN_OPTI… (push) Has been cancelled
CI / ${{ matrix.env.IMAGE }}${{ matrix.env.NAME && ' • ' || ''}}${{ matrix.env.NAME }}${{ matrix.env.CATKIN_LINT && ' • catkin_lint' || ''}}${{ matrix.env.CLANG_TIDY && ' • clang-tidy' || '' }} (map[IMAGE:jammy-ci]) (push) Has been cancelled
CI / ${{ matrix.env.IMAGE }}${{ matrix.env.NAME && ' • ' || ''}}${{ matrix.env.NAME }}${{ matrix.env.CATKIN_LINT && ' • catkin_lint' || ''}}${{ matrix.env.CLANG_TIDY && ' • clang-tidy' || '' }} (map[IMAGE:noble-ci NAME:ccov TARGET_CMAKE_ARGS:-DCMAKE_B… (push) Has been cancelled
Format / pre-commit (push) Has been cancelled
CI / doc (push) Has been cancelled
CI / deploy (push) Has been cancelled

- Fix clang error
  https://stackoverflow.com/questions/27954940/a-using-statement-compiles-with-g-fails-compilation-with-clang
- Don't run pick-place test with asan: it doesn't finish.
- Add PIP_BREAK_SYSTEM_PACKAGES
- Fix coverage creation + upload
This commit is contained in:
Robert Haschke 2025-08-11 09:57:54 +02:00
parent 86f0083566
commit 87b3701223
3 changed files with 7 additions and 4 deletions

View File

@ -31,11 +31,12 @@ jobs:
- IMAGE: noble-ci-testing - IMAGE: noble-ci-testing
NAME: asan NAME: asan
DOCKER_RUN_OPTS: >- DOCKER_RUN_OPTS: >-
-e PRELOAD=libasan.so.6 -e PRELOAD=libasan.so.8
-e LSAN_OPTIONS="suppressions=$PWD/.github/workflows/lsan.suppressions" -e LSAN_OPTIONS="suppressions=$PWD/.github/workflows/lsan.suppressions"
TARGET_CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fsanitize=address -fno-omit-frame-pointer -O1 -g" TARGET_CMAKE_ARGS: -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fsanitize=address -fno-omit-frame-pointer -O1 -g"
env: env:
PIP_BREAK_SYSTEM_PACKAGES: 1
CATKIN_LINT: true CATKIN_LINT: true
CLANG_TIDY_ARGS: -quiet -export-fixes ${{ github.workspace }}/.work/clang-tidy-fixes.yaml CLANG_TIDY_ARGS: -quiet -export-fixes ${{ github.workspace }}/.work/clang-tidy-fixes.yaml
DOCKER_IMAGE: moveit/moveit:${{ matrix.env.IMAGE }} DOCKER_IMAGE: moveit/moveit:${{ matrix.env.IMAGE }}
@ -104,9 +105,10 @@ jobs:
with: with:
docker: $DOCKER_IMAGE docker: $DOCKER_IMAGE
workdir: ${{ env.BASEDIR }}/target_ws workdir: ${{ env.BASEDIR }}/target_ws
lcov_capture_args: --ignore-errors=gcov,gcov,mismatch,mismatch,negative,negative,source
ignore: '"*/target_ws/build/*" "*/target_ws/install/*" "*/test/*"' ignore: '"*/target_ws/build/*" "*/target_ws/install/*" "*/test/*"'
- name: Upload codecov report - name: Upload codecov report
uses: codecov/codecov-action@v4 uses: codecov/codecov-action@v5
if: contains(matrix.env.TARGET_CMAKE_ARGS, '--coverage') && steps.ici.outputs.target_test_results == '0' if: contains(matrix.env.TARGET_CMAKE_ARGS, '--coverage') && steps.ici.outputs.target_test_results == '0'
with: with:
files: ${{ env.BASEDIR }}/target_ws/coverage.info files: ${{ env.BASEDIR }}/target_ws/coverage.info

View File

@ -55,7 +55,7 @@ class class_ : public pybind11::classh<type_, options...> // NOLINT(readability
public: public:
// forward all constructors // forward all constructors
using base_class_::class_; using base_class_::base_class_;
template <typename PropertyType, typename... Extra> template <typename PropertyType, typename... Extra>
class_& property(const char* name, const Extra&... extra) { class_& property(const char* name, const Extra&... extra) {

View File

@ -10,7 +10,8 @@
<!-- use MTC execution capability --> <!-- use MTC execution capability -->
<param name="move_group/capabilities" value="move_group/ExecuteTaskSolutionCapability" /> <param name="move_group/capabilities" value="move_group/ExecuteTaskSolutionCapability" />
<test pkg="moveit_task_constructor_demo" type="pick_place_test" test-name="pick_place_test"> <test pkg="moveit_task_constructor_demo" type="pick_place_test" test-name="pick_place_test"
if="$(eval bool(optenv('PRELOAD')))">
<rosparam command="load" file="$(find moveit_task_constructor_demo)/config/panda_config.yaml" /> <rosparam command="load" file="$(find moveit_task_constructor_demo)/config/panda_config.yaml" />
</test> </test>
</launch> </launch>