From ab58a29cab531b62fc157a0bf7ed66332cfc314b Mon Sep 17 00:00:00 2001 From: Shatur95 Date: Sat, 24 Oct 2020 14:25:40 +0300 Subject: [PATCH] Enable checks for warnings --- .github/workflows/build-cmake.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-cmake.yml b/.github/workflows/build-cmake.yml index f550758..0fd3f51 100644 --- a/.github/workflows/build-cmake.yml +++ b/.github/workflows/build-cmake.yml @@ -12,8 +12,16 @@ jobs: include: - qt_version: 6.0.0 additional_arguments: -D QT_DEFAULT_MAJOR_VERSION=6 + - platform: ubuntu-latest + CXXFLAGS: -Wall -Wextra -pedantic -Werror + - platform: macos-latest + CXXFLAGS: -Wall -Wextra -pedantic -Werror + - platform: windows-latest + CXXFLAGS: /W4 /WX runs-on: ${{ matrix.platform }} + env: + CXXFLAGS: ${{ matrix.CXXFLAGS }} steps: - uses: actions/checkout@v2