From 8759996de452bd3710d1e4f56994bea471bab536 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 2 Jan 2021 13:10:36 +0300 Subject: setup cc/c++ executables --- .github/workflows/test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.github') 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") -- cgit v1.2.3