aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 13:10:36 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 13:10:36 +0300
commit8759996de452bd3710d1e4f56994bea471bab536 (patch)
tree7cd265db9f0e87fcccfeb9c515a7a413d8d0fa6c /.github
parentrefactoring (diff)
downloadsetup-clang-8759996de452bd3710d1e4f56994bea471bab536.tar.gz
setup-clang-8759996de452bd3710d1e4f56994bea471bab536.zip
setup cc/c++ executables
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 3373d8d..b367d81 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -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")