From db49e42da9561ffae76c9c7c0f194a0780497173 Mon Sep 17 00:00:00 2001 From: Daniel Chappuis Date: Sat, 30 Oct 2021 00:07:05 +0200 Subject: [PATCH] Edit github action file --- .github/workflows/build-and-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 4a9b3d72..7963d9db 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -245,7 +245,7 @@ jobs: - name: Install Library on Linux/MacOS if: ${{ !startsWith(matrix.config.os, 'windows') }} shell: bash - run: sudo cmake --install build/ + run: sudo cmake --install build/ --config ${{ matrix.config.build_type }} - name: Install Library on Windows if: startsWith(matrix.config.os, 'windows') @@ -275,7 +275,7 @@ jobs: -B build_hello_world \ -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \ -DCMAKE_EXE_LINKER_FLAGS=-no-pie \ - -DCMAKE_CXX_FLAGS="-Wall -Wextra -pedantic" \ + -DCMAKE_CXX_FLAGS="${{ matrix.config.cxx_flags }}" \ -G "${{ matrix.config.generators }}" cmake --build build_hello_world/ --config ${{ matrix.config.build_type }} ./build_hello_world/helloworld