From 7f250661c8e679e42754c7420897087d3dd9c8a2 Mon Sep 17 00:00:00 2001 From: Fabien Spindler Date: Mon, 10 Jun 2024 18:14:35 +0200 Subject: [PATCH] Workaround for github action issue when using std::mutex by removing the test See https://github.com/actions/runner-images/issues/10020 --- example/robot-simulator/afma6/CMakeLists.txt | 6 ++++-- example/robot-simulator/viper850/CMakeLists.txt | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/example/robot-simulator/afma6/CMakeLists.txt b/example/robot-simulator/afma6/CMakeLists.txt index b6c7c9ed11..a9394ecf8d 100644 --- a/example/robot-simulator/afma6/CMakeLists.txt +++ b/example/robot-simulator/afma6/CMakeLists.txt @@ -50,6 +50,8 @@ foreach(cpp ${example_cpp}) endif() # Add test - get_filename_component(target ${cpp} NAME_WE) - add_test(${target} ${target} -c ${OPTION_TO_DESACTIVE_DISPLAY}) + # Workaround for github action issue when using std::mutex by removing the test + # See https://github.com/actions/runner-images/issues/10020 + # get_filename_component(target ${cpp} NAME_WE) + # add_test(${target} ${target} -c ${OPTION_TO_DESACTIVE_DISPLAY}) endforeach() diff --git a/example/robot-simulator/viper850/CMakeLists.txt b/example/robot-simulator/viper850/CMakeLists.txt index cf47e1a539..12b88ad0ca 100644 --- a/example/robot-simulator/viper850/CMakeLists.txt +++ b/example/robot-simulator/viper850/CMakeLists.txt @@ -50,6 +50,8 @@ foreach(cpp ${example_cpp}) endif() # Add test - get_filename_component(target ${cpp} NAME_WE) - add_test(${target} ${target} -c ${OPTION_TO_DESACTIVE_DISPLAY}) + # Workaround for github action issue when using std::mutex by removing the test + # See https://github.com/actions/runner-images/issues/10020 + # get_filename_component(target ${cpp} NAME_WE) + # add_test(${target} ${target} -c ${OPTION_TO_DESACTIVE_DISPLAY}) endforeach()