Closed traversaro closed 4 years ago
In https://github.com/robotology/funny-things/commit/6637f682c25e3d3656d49b5a954169601973f459 I've streamlined a little bit the cmake code but nothing really to address this failure.
Configuring+building+installing worked just fine on my Windows with VS 2019 and CMake 3.16.3. Required further inspection.
This is the piece of cmake code responsible for copying out scripts in Release/Debug: https://github.com/robotology/funny-things/blob/6637f682c25e3d3656d49b5a954169601973f459/app/CMakeLists.txt#L16-L21
This is a quite steady snippet, which is also used in other repos. Thus, isn't there any difference on the GH runner wrt a standard building environment that could explain this failure?
Did you try to compile/install the project in both Debug and Release mode? The GH failure is happening in Debug.
Yep, working both in Release and Debug.
@traversaro can we consider this solved?
Unfortunately not, I plan to work on this in the next few days.
I reproduced the problem locally. It does not appear if the target are executed each one manually as in cmake --build . --config Release --target copy_lua_in_build
, but it appears instead if you run
on a clean build cmake --build . --config Release
.
Error message:
Complete failure log: https://github.com/robotology/robotology-superbuild/pull/338/checks?check_run_id=420671419 .