diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-02 07:55:53 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-02 11:02:21 +0300 |
commit | 2113853bafe637a55a531498f63158dacf11320a (patch) | |
tree | 3dd209101cf8916097e57f58299668c9c81b5c5f /.github/workflows | |
parent | workflows/test.yml: remove redundant flags (diff) | |
download | setup-gcc-2113853bafe637a55a531498f63158dacf11320a.tar.gz setup-gcc-2113853bafe637a55a531498f63158dacf11320a.zip |
set up cc/c++ executables
Diffstat (limited to '')
-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") |