Cygwin: proper executables instead of symlinks
This commit is contained in:
parent
685da103bf
commit
60dbd57c3a
2 changed files with 31 additions and 30 deletions
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue