From c51d734eb9b1f820ee89c94ab6bef0254b085c99 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Tue, 17 Jan 2023 13:07:40 +0700 Subject: [PATCH] fix build results location on MSVC test --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 664d181..442a728 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,7 +58,9 @@ jobs: args: -D CHECK_SURPASS_WARNING=ON - name: Run the build results - run: build/test_c && build/test_cpp + run: | + ${{ matrix.compiler == 'msvc' && 'build\Debug\test_c.exe' || 'build/test_c' }} + ${{ matrix.compiler == 'msvc' && 'build\Debug\test_cpp.exe' || 'build/test_cpp' }} specified-compiler-usage: runs-on: ${{ matrix.os }}-latest