Cygwin: proper executables instead of symlinks

This commit is contained in:
Egor Tensin 2021-01-01 12:14:10 +03:00
parent 685da103bf
commit 60dbd57c3a
2 changed files with 31 additions and 30 deletions

View file

@ -52,7 +52,6 @@ jobs:
if: matrix.cygwin
- name: Set up Clang
id: setup
uses: ./
with:
platform: '${{ matrix.platform }}'
@ -65,16 +64,14 @@ jobs:
$flags += '-m32'
}
$flags += @(
'-x', 'c++',
'-std=c++14',
'-o', 'foo.exe',
'foo.cpp',
'-lstdc++'
'foo.cpp'
)
if ('${{ runner.os }}' -eq 'Linux') {
$flags += '-lpthread'
}
& '${{ steps.setup.outputs.clangxx }}' $flags
clang++ $flags
- name: Run foo.exe
run: |