Windows cmake build fails with no log error

#1

I am trying a Windows build in Travis. The cmake configuration step works perfectly well (even building projects via ExternalProject_Add). However, it fails right after that when I call cmake --build . (or any variation of it like cmake --build path/to/source or cmake --build . --config Debug etc.) without leaving an error message. I tried to add intermediary steps such as ls and cmake --help to get more output, but I still cannot understand what’s happening.

In brief, cmake --build . stops the build, resulting in a Travis failure, without logging anything.

The build is here: https://travis-ci.org/Dronecode/DronecodeSDK/builds/528428407?utm_source=github_status&utm_medium=notification
This is the log (you won’t see an error message at the end, but the job failed): https://api.travis-ci.org/v3/job/528428416/log.txt

How can I get more insights of what’s happening?

#2

@JonasVautherin This is most probably caused by your encrypted environment variable i.e. GH_TOKEN. Indeed, encrypted environment variables aren’t supported right now. See Current known issues — Please read this before posting a new topic.

#3

Oh, somehow I had missed that. I was actually looking for an error related to CMake :sweat_smile:.

I can wait for the issue to get fixed, I was mainly testing out of curiosity.

Thanks for the quick help!

1 Like
closed #4