setup cc/c++ executables

This commit is contained in:
Egor Tensin 2021-01-02 13:10:36 +03:00
parent c3be8ea01a
commit 8759996de4
2 changed files with 55 additions and 1 deletions

View file

@ -86,3 +86,12 @@ jobs:
Unexpected output:
$actual
"@)
- name: Check cc/c++
run: |
$cc = & cc --version
echo $cc
$($cc | Select-String -Pattern "clang version" -SimpleMatch -Quiet) -or $(throw "Unexpected `cc --version` output")
$cxx = & c++ --version
echo $cxx
$($cxx | Select-String -Pattern "clang version" -SimpleMatch -Quiet) -or $(throw "Unexpected `c++ --version` output")