Skip to content

Commit

Permalink
github action #111
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefvand committed Nov 26, 2024
1 parent 17e686f commit 70e84a4
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ jobs:
choco install llvm -y
pip install html5lib
- name: Validate gperf Installation
if: matrix.os == 'windows-latest'
shell: powershell
run: |
$gperfPath = (Get-Command gperf).Source
if (-not $gperfPath) {
Write-Host "gperf is not available in the PATH. Reinstalling..."
choco install gperf -y
} else {
Write-Host "gperf found at $gperfPath"
}
- name: Restore Qt Source Cache (Windows)
if: matrix.os == 'windows-latest'
uses: actions/cache@v3
Expand Down Expand Up @@ -98,17 +110,6 @@ 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" (
Expand Down

0 comments on commit 70e84a4

Please sign in to comment.