Edit github action file

This commit is contained in:
Daniel Chappuis 2021-10-30 00:26:11 +02:00
parent db49e42da9
commit 7ae7dee046

View File

@ -250,14 +250,14 @@ jobs:
- name: Install Library on Windows
if: startsWith(matrix.config.os, 'windows')
shell: bash
run: cmake --install build/
run: cmake --install build/ --config ${{ matrix.config.build_type }}
- name: Unit Tests (Linux / MacOS / Windows MinGW)
- name: Run Unit Tests (Linux / MacOS / Windows MinGW)
if: ${{ !startsWith(matrix.config.os, 'windows') }}
shell: bash
run: ./build/test/tests
- name: Unit Tests (Wndows MSVC)
- name: Run Unit Tests (Windows MSVC)
if: ${{ startsWith(matrix.config.name, 'Windows / MSVC') }}
shell: bash
run: "./build/test/${{ matrix.config.build_type }}/tests.exe"
@ -280,6 +280,16 @@ jobs:
cmake --build build_hello_world/ --config ${{ matrix.config.build_type }}
./build_hello_world/helloworld
- name: Run Hello World (Linux / MacOS / Windows MinGW)
if: ${{ !startsWith(matrix.config.name, 'Windows / MSVC') }}
shell: bash
run: "./build_hello_world/helloworld/helloworld"
- name: Run Hello World (Windows MSVC)
if: ${{ startsWith(matrix.config.name, 'Windows / MSVC') }}
shell: bash
run: "./build_hello_world/helloworld/${{ matrix.config.build_type }}/helloworld.exe"
- name: Memory Leaks Test
if: ${{ startsWith(matrix.config.name, 'Linux / GCC (Debug, Single Precision)') }}
shell: bash