Skip to content

Commit

Permalink
github action #113
Browse files Browse the repository at this point in the history
  • Loading branch information
yousefvand committed Nov 26, 2024
1 parent 537f471 commit 9110e44
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,31 @@ jobs:
choco install llvm -y
pip install html5lib
- name: Validate gperf Installation
- name: Validate Required Tools
if: matrix.os == 'windows-latest'
shell: powershell
run: |
$bisonPath = (Get-Command bison).Source
$gperfPath = (Get-Command gperf).Source
$clangPath = (Get-Command clang).Source
if (-not $bisonPath) {
Write-Host "bison is not available in the PATH. Reinstalling..."
choco install bison -y
} else {
Write-Host "bison found at $bisonPath"
}
if (-not $gperfPath) {
Write-Host "gperf is not available in the PATH. Reinstalling..."
choco install gperf -y
} else {
Write-Host "gperf found at $gperfPath"
}
if (-not $clangPath) {
Write-Host "clang is not available in the PATH. Check LLVM installation."
exit 1
} else {
Write-Host "clang found at $clangPath"
}
- name: Restore Qt Source Cache (Windows)
if: matrix.os == 'windows-latest'
Expand Down

0 comments on commit 9110e44

Please sign in to comment.