Skip to content

Commit

Permalink
Updated: git workflow script
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNicker committed Aug 20, 2023
1 parent 344ea51 commit 1c15931
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.exe
- name: Test Ubuntu
working-directory: ${{ steps.strings.outputs.build-output-dir }}
if: matrix.os == 'ubuntu-latest'
run: |
./Test/FreeTypeTest

0 comments on commit 1c15931

Please sign in to comment.