Using the following AppVeyor script, attempting to run cmake returns “command not found”. If I run “which cmake”, I get “/usr/bin/cmake”, so it’s there. If I compile cmake manually it works fine (using the same 3.6.2). As a not, CMake seems to work fine on Windows 10.
Here is the script so that others can repro the issue: ------------------------------------------ environment: global: CYG_ROOT: C:\cygwin64 CYG_MIRROR: http://cygwin.mirror.constant.com CYG_CACHE: C:\cygwin64\var\cache\setup CYG_BASH: C:\cygwin64\bin\bash cache: - '%CYG_CACHE%' install: - ps: 'Start-FileDownload "https://cygwin.com/setup-x86_64.exe" -FileName "setup-x86_64.exe"' - 'setup-x86_64.exe --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages cmake' - '%CYG_BASH% -lc "cygcheck -dc cygwin"' build_script: - 'echo Building...' - '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; which cmake"' - '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; cmake"’ branches: only: - master test: off -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple