aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-01-01 11:21:32 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-01-01 11:28:14 +0300
commit685da103bfe91eea573c9ec6582a26a4d8f14d19 (patch)
tree2e71223b976dd8a61752552d83e8ae95ffa7a3d2
parentworkflows/test.yml: split building and running foo.exe (diff)
downloadsetup-clang-685da103bfe91eea573c9ec6582a26a4d8f14d19.tar.gz
setup-clang-685da103bfe91eea573c9ec6582a26a4d8f14d19.zip
Clang doesn't append .exe automatically
-rw-r--r--.github/workflows/test.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 6aa8c50..cb82575 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -67,7 +67,7 @@ jobs:
$flags += @(
'-x', 'c++',
'-std=c++14',
- '-o', 'foo',
+ '-o', 'foo.exe',
'foo.cpp',
'-lstdc++'
)
@@ -83,7 +83,7 @@ jobs:
Doing something #2
Doing something #3
"@
- $actual = & (Join-Path . foo)
+ $actual = & (Join-Path . foo.exe)
$actual = $actual -join [Environment]::NewLine
$($actual -eq $expected) -or $(throw @"
Unexpected output: