From 6d3a93bbeab55831b8b505afa7016cb1468a9f78 Mon Sep 17 00:00:00 2001 From: Chris Hold Date: Tue, 6 Feb 2024 20:56:22 +0200 Subject: [PATCH] CI: Test in BUILD_TYPE directory for win --- .github/workflows/cmake.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index bd10bab58..a8bacd94f 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -69,15 +69,16 @@ jobs: # Execute the build. You can specify a specific target with "--target " run: cmake --build . --config $BUILD_TYPE - - name: Copy binaries (Windows) - working-directory: ${{runner.workspace}}/build - shell: bash - if: ${{ contains( runner.os, 'Windows' ) }} - run: | - cp ./test/$BUILD_TYPE/saf_test.exe ./test/saf_test - - - name: Test + - name: Test (Unix) working-directory: ${{runner.workspace}}/build shell: bash # Execute tests run: ./test/saf_test + + - name: Test (Windows) + working-directory: ${{runner.workspace}}/build + shell: bash + if: ${{ contains( runner.os, 'Windows' ) }} + run: | + ls -lh ./test/$BUILD_TYPE/ + ./test/$BUILD_TYPE/saf_test.exe