From 2bf76fb0d6cb6dc23f211fe2650c0964a57b6168 Mon Sep 17 00:00:00 2001 From: Demetrius flavious Date: Sun, 20 Aug 2023 23:38:21 +0300 Subject: [PATCH] Update cmake-multi-platform.yml --- .github/workflows/cmake-multi-platform.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 3d2745b..2a33275 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -72,9 +72,17 @@ jobs: # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} - - name: Test + - name: Test windows working-directory: ${{ steps.strings.outputs.build-output-dir }} # Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail #run: ctest --build-config ${{ matrix.build_type }} - run: ./Test/FreeTypeTest.exe + if: matrix.os == 'windows-latest' + run: | + ./Test/Release/FreeTypeTest + + - name: Test Ubuntu + working-directory: ${{ steps.strings.outputs.build-output-dir }} + if: matrix.os == 'ubuntu-latest' + run: | + ./Test/FreeTypeTest.exe