diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-02 13:10:36 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-02 13:10:36 +0300 |
commit | 8759996de452bd3710d1e4f56994bea471bab536 (patch) | |
tree | 7cd265db9f0e87fcccfeb9c515a7a413d8d0fa6c /.github/workflows | |
parent | refactoring (diff) | |
download | setup-clang-8759996de452bd3710d1e4f56994bea471bab536.tar.gz setup-clang-8759996de452bd3710d1e4f56994bea471bab536.zip |
setup cc/c++ executables
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/test.yml | 9 |
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") |