setting up cc/converting symlinks is optional now

This commit is contained in:
Egor Tensin 2021-01-06 04:56:17 +03:00
parent 63c28353f5
commit a404df762f
2 changed files with 63 additions and 48 deletions

View file

@ -56,6 +56,8 @@ jobs:
with:
platform: '${{ matrix.platform }}'
cygwin: '${{ matrix.cygwin }}'
cc: 1
hardlinks: 1
- name: Build foo.exe
run: |
@ -87,9 +89,11 @@ jobs:
- name: Check cc/c++
run: |
echo (Get-Command cc).Path
$cc = & cc --version
echo $cc
$($cc | Select-String -Pattern "clang version" -SimpleMatch -Quiet) -or $(throw "Unexpected `cc --version` output")
echo (Get-Command c++).Path
$cxx = & c++ --version
echo $cxx
$($cxx | Select-String -Pattern "clang version" -SimpleMatch -Quiet) -or $(throw "Unexpected `c++ --version` output")