From 17e686f1a800ae2a1a45f00e40d596df19b5108c Mon Sep 17 00:00:00 2001 From: Remisa Yousefvand Date: Mon, 25 Nov 2024 22:29:27 +0330 Subject: [PATCH] github action #110 --- .github/workflows/cmake-multi-platform.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index ec20a15..baadfa4 100755 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -65,7 +65,7 @@ jobs: uses: actions/cache@v3 with: path: D:\qt-source - key: qt-source-6.5.3-windows + key: qt-source-6.5.3 restore-keys: | qt-source- @@ -98,6 +98,17 @@ jobs: SET "VS_VARS_CMD=%VS_PATH%\VC\Auxiliary\Build\vcvars64.bat" CALL "%VS_VARS_CMD%" || exit /b 1 + REM Validate required tools + IF NOT EXIST "C:\Program Files\LLVM\bin\clang.exe" ( + echo "LLVM tools not found! Check LLVM installation." && exit /b 1 + ) + IF NOT EXIST "C:\Program Files\gperf\gperf.exe" ( + echo "gperf not found! Check gperf installation." && exit /b 1 + ) + IF NOT EXIST "C:\Program Files\bison\bison.exe" ( + echo "bison not found! Check bison installation." && exit /b 1 + ) + REM Build Qt from source SET QT_SOURCE=D:\qt-source\qt-everywhere-src-6.5.3 IF NOT EXIST "%QT_SOURCE%\qtbase\configure.bat" (