msys2 / setup-msys2

GitHub Action to setup MSYS2
https://github.com/marketplace/actions/setup-msys2
MIT License
297 stars 40 forks source link

ctest fails as test-binaries are missing, even though cmake-build of those binaries shows no error #331

Closed panchaBhuta closed 2 months ago

panchaBhuta commented 1 year ago

For the workflow windows-gnu-2.yml, the test 'testBasicConversions' fails.

The cause of failure Could not find executable ... testBasicConversions Though the debug-build does not pop any error messages, but the expected binaries are not getting generated either.

Could anyone take a look if this is a bug, or I am missed some config-settings. Since I am new to workflows(as well as msys2), it likely to be latter.

Grepping the web didn't yield any helpful pointers.

Would appreciate if someone takes a look and if this is not a bug , point out what settings did I missed.

Thanks

lazka commented 1 year ago

No idea either, works fine locally.

Maybe pass the target name to add_test(), so cmake builds the path?