Skip to content

Commit

Permalink
test.yml: check that required version is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
nurmukhametov committed Jul 15, 2024
1 parent e5d33ef commit 848047b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,18 @@ jobs:
with:
version: 1.23.0

- name: Check ISPC version
shell: pwsh
run: |
$output = & ispc --version | Out-String
if ($output -match "1.23.0") {
Write-Output "Expected version 1.23.0 found"
exit 0
} else {
Write-Output "Expected version 1.23.0, got $output"
exit 1
}
- name: ISPC version
run: |
ispc --version
Expand Down

0 comments on commit 848047b

Please sign in to comment.