Replies: 2 comments 4 replies
-
It seems like you're encountering an issue where CMake cannot find Ninja even though it's installed and added to the path. Try these steps: 1, Use a predefined action: Instead of manually setting up Ninja, use the action lukka/get-cmake to ensure CMake and Ninja are properly configured. 2, Set CMAKE_MAKE_PROGRAM: You can explicitly set it in your workflow: 3, Verify Path: Double-check $GITHUB_ENV is being sourced correctly and Ninja is truly available in your build environment's path. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
problem
No matter how I install
ninja
,cmake
fails theCMAKE_MAKE_PROGRAM
check.explination
No matter how I setup my github action, I cannot seem to get CMake and Ninja to connect. I've tried many configurations, from manually installing the programs through
apt
, to download binaries,echo "var" >> $GITHUB_ENV
,source
ing, etc.. What I've currently landed on is a workflow that looks like this:In which case I get the following output every time:
additional context
I understand that it's generally the case that the error
CMAKE_MAKE_PROGRAM is not set
is usually due to the make program not being on path, however, I've verified many times that it's on path. I understand that my build pipeline is a bit complex, using bothvcpkg
andemscripten
. However, I've check several times that my Toolchain pathing was correct.Beta Was this translation helpful? Give feedback.
All reactions