opensim-org / opensim-core

SimTK OpenSim C++ libraries and command-line applications, and Java/Python wrapping.
https://opensim.stanford.edu
Apache License 2.0
758 stars 307 forks source link

Update continuous_integration.yml #3800

Open aymanhab opened 3 weeks ago

aymanhab commented 3 weeks ago

try build without cache on windows2022

Fixes issue #

Brief summary of changes

Testing I've completed

Looking for feedback on...

CHANGELOG.md (choose one)


This change is Reviewable

nickbianco commented 2 weeks ago

This change makes me realize we never re-enabled building Tropter in the CI. We should do that before releasing 4.5.1.

nickbianco commented 2 weeks ago

I spent a few minutes combing through the Windows2022 CI build to see why the Java tests are failing. I found a handful of warnings like this:

C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): warning MSB8064: Custom build for item "D:\a\opensim-core\opensim-core\build\CMakeFiles\135376c083fa22587c7525f5ca96e9f6\java_moco.cxx.rule" succeeded, but specified dependency "d:\a\opensim-core\opensim-core\build\bindings\java\opensimjni\" does not exist. This may cause incremental build to work incorrectly. [D:\a\opensim-core\opensim-core\build\Bindings\Java\OpenSimJNI\osimJavaJNI.vcxproj]

Not sure what to make of it yet though.

aymanhab commented 2 weeks ago

Some more investigation:

  1. Same warnings appear in windows2019 build that succeeds
  2. Last successful 2022 build was using the old runner image before migration to 202406XX versions.
  3. I suspect this has to do with the runtime conflict that was introduced, trying some workarounds