From 685da103bfe91eea573c9ec6582a26a4d8f14d19 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 1 Jan 2021 11:21:32 +0300 Subject: Clang doesn't append .exe automatically --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') 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: -- cgit v1.2.3