diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 10 |
1 files changed, 10 insertions, 0 deletions
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") |