aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-01 12:14:10 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-02 06:52:11 +0300
commit60dbd57c3aff6b5c19ace5f88d9430f414394579 (patch)
tree52f76279b9603eb64895db724d7632e550654ef3 /.github/workflows
parentClang doesn't append .exe automatically (diff)
downloadsetup-clang-60dbd57c3aff6b5c19ace5f88d9430f414394579.tar.gz
setup-clang-60dbd57c3aff6b5c19ace5f88d9430f414394579.zip
Cygwin: proper executables instead of symlinks
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index cb82575..3373d8d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -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: |