Edit github action file

This commit is contained in:
Daniel Chappuis 2021-10-30 00:07:05 +02:00
parent 21fce743c7
commit db49e42da9

View File

@ -245,7 +245,7 @@ jobs:
- name: Install Library on Linux/MacOS - name: Install Library on Linux/MacOS
if: ${{ !startsWith(matrix.config.os, 'windows') }} if: ${{ !startsWith(matrix.config.os, 'windows') }}
shell: bash shell: bash
run: sudo cmake --install build/ run: sudo cmake --install build/ --config ${{ matrix.config.build_type }}
- name: Install Library on Windows - name: Install Library on Windows
if: startsWith(matrix.config.os, 'windows') if: startsWith(matrix.config.os, 'windows')
@ -275,7 +275,7 @@ jobs:
-B build_hello_world \ -B build_hello_world \
-DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \ -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
-DCMAKE_EXE_LINKER_FLAGS=-no-pie \ -DCMAKE_EXE_LINKER_FLAGS=-no-pie \
-DCMAKE_CXX_FLAGS="-Wall -Wextra -pedantic" \ -DCMAKE_CXX_FLAGS="${{ matrix.config.cxx_flags }}" \
-G "${{ matrix.config.generators }}" -G "${{ matrix.config.generators }}"
cmake --build build_hello_world/ --config ${{ matrix.config.build_type }} cmake --build build_hello_world/ --config ${{ matrix.config.build_type }}
./build_hello_world/helloworld ./build_hello_world/helloworld