From 067c204a25cec4ee5ba8de6ce101bcc259a7e704 Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Mon, 9 Aug 2021 21:22:39 +0200 Subject: [PATCH] Working on Github Actions --- .github/workflows/build-and-test.yml | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 193744e7..ea0e2748 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -158,26 +158,6 @@ jobs: double_precision: false, coverage: false } - - { - name: "MacOS / GCC (Debug, Single Precision)", - os: macos-latest, - build_type: "Debug", - cc: "gcc", - cxx: "g++", - generators: "Ninja", - double_precision: false, - coverage: false - } - - { - name: "MacOS / GCC (Release, Single Precision)", - os: macos-latest, - build_type: "Release", - cc: "gcc", - cxx: "g++", - generators: "Ninja", - double_precision: false, - coverage: false - } - { name: "Code Coverage", os: ubuntu-latest, @@ -253,10 +233,16 @@ jobs: shell: bash run: cmake --install build/ - - name: Unit Tests + - name: Unit Tests (Linux / MacOS) + if: ${{ !startsWith(matrix.config.os, 'windows') }} shell: bash run: ./build/test/tests + - name: Unit Tests (Wndows) + if: ${{ startsWith(matrix.config.os, 'windows') }} + shell: bash + run: "./build/test/${{ matrix.config.build_type }}/tests.exe" + - name: Build and Run Hello World if: ${{ !matrix.config.coverage }} shell: bash