diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-01 11:21:32 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-01 11:28:14 +0300 |
commit | 685da103bfe91eea573c9ec6582a26a4d8f14d19 (patch) | |
tree | 2e71223b976dd8a61752552d83e8ae95ffa7a3d2 | |
parent | workflows/test.yml: split building and running foo.exe (diff) | |
download | setup-clang-685da103bfe91eea573c9ec6582a26a4d8f14d19.tar.gz setup-clang-685da103bfe91eea573c9ec6582a26a4d8f14d19.zip |
Clang doesn't append .exe automatically
-rw-r--r-- | .github/workflows/test.yml | 4 |
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: |