traversaro / drake-lite-cmake

Reduced (lite) unofficial version of drake (https://drake.mit.edu/) that can be built with CMake.
11 stars 0 forks source link

CI started failing on Windows #17

Closed traversaro closed 4 years ago

traversaro commented 4 years ago

Error:

 CMake Error at CMakeLists.txt:153 (file):
  file COPY cannot read symlink
  "D:/a/drake-lite-cmake/drake-lite-cmake/build/_deps/drake-src/tools/ubuntu-focal.bazelrc"
  to duplicate at
  "D:/a/drake-lite-cmake/drake-lite-cmake/build/drake-src/tools/ubuntu-focal.bazelrc":
  No such file or directory.
traversaro commented 4 years ago

This is due to GitHub Actions changing the default setting of symlink disable in Git on Windows to enabled, see https://github.com/robotology/robotology-superbuild/issues/429 . The fastest fix is to restore the default setting of Git on Windows, but the most long term solution is to get rid of the copy step in the configuration, that is also slow in general.

traversaro commented 4 years ago

Fixed by https://github.com/traversaro/drake-lite-cmake/pull/18 .