You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
im building qwindowkit in github actions on ubuntu-latest with gcc and ninja (cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++)
CMake Error at DummyProject/ThirdParty/qwindowkit/qmsetup/cmake/modules/InstallPackage.cmake:108 (message):
Configure failed, check
"/home/runner/work/DummyProject/DummyProject/build/_build/qmsetup_configure.log"
qmsetup_configure.log:
Run cat /home/runner/work/DummyProject/DummyProject/build/_build/qmsetup_configure.log
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Update:
It seems that switching from https://github.com/ashutoshvarma/setup-ninja to just installing ninja with apt fixes it. I have no idea how that is possible since both put ninja is path but whatever
im building qwindowkit in github actions on ubuntu-latest with gcc and ninja (
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++
)however this part keeps erroring
qmsetup/cmake/modules/InstallPackage.cmake
Lines 92 to 100 in 1c82f2e
qmsetup_configure.log:
so i went back and added some logging just before
which yields
the full command cmake runs is:
so both ninja is found in PATH, and the command run is perfectly fine. how is this possible?
like i said, this happens only in CI, not locally
The text was updated successfully, but these errors were encountered: