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