From 2113853bafe637a55a531498f63158dacf11320a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 2 Jan 2021 07:55:53 +0300 Subject: set up cc/c++ executables --- .github/workflows/test.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.github/workflows/test.yml') diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ffffe70..2dcc535 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -85,3 +85,13 @@ jobs: Unexpected output: $actual "@) + + # Is this really the most stable piece of `gcc --version` output? + - name: Check cc/c++ + run: | + $cc = & cc --version + echo $cc + $($cc | Select-String -Pattern "This is free software; see the source for copying conditions." -SimpleMatch -Quiet) -or $(throw "Unexpected `cc --version` output") + $cxx = & c++ --version + echo $cxx + $($cxx | Select-String -Pattern "This is free software; see the source for copying conditions." -SimpleMatch -Quiet) -or $(throw "Unexpected `c++ --version` output") -- cgit v1.2.3