From 728a46beb63c6db5b72f82db57244fa270e705f5 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 23 Feb 2023 13:36:02 -0800 Subject: [PATCH] github CI: remove no warning options The deprecated gtest stuff was fixed. Signed-off-by: Rosen Penev --- .github/workflows/on_PR_mac_matrix.yml | 4 ++-- .github/workflows/on_PR_windows_matrix.yml | 2 -- .github/workflows/on_push_BasicWinLinMac.yml | 2 +- .github/workflows/release.yml | 3 +-- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/on_PR_mac_matrix.yml b/.github/workflows/on_PR_mac_matrix.yml index 27ff30b9b9..4dbdc123d2 100644 --- a/.github/workflows/on_PR_mac_matrix.yml +++ b/.github/workflows/on_PR_mac_matrix.yml @@ -19,7 +19,7 @@ jobs: matrix: build_type: [Release, Debug] shared_libraries: [ON, OFF] - + steps: - uses: actions/checkout@v3 @@ -31,7 +31,7 @@ jobs: - name: Build run: | - cmake --preset base_mac -S . -B build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DBUILD_SHARED_LIBS=${{matrix.shared_libraries}} -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" -DEXIV2_ENABLE_VIDEO=ON + cmake --preset base_mac -S . -B build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DBUILD_SHARED_LIBS=${{matrix.shared_libraries}} -DEXIV2_ENABLE_VIDEO=ON cmake --build build --parallel - name: Install diff --git a/.github/workflows/on_PR_windows_matrix.yml b/.github/workflows/on_PR_windows_matrix.yml index 2de7e61523..54b5ea9654 100644 --- a/.github/workflows/on_PR_windows_matrix.yml +++ b/.github/workflows/on_PR_windows_matrix.yml @@ -120,7 +120,6 @@ jobs: - name: Build run: | cmake --preset base_windows \ - -DCMAKE_CXX_FLAGS=-Wno-deprecated \ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DBUILD_SHARED_LIBS=${{matrix.shared_libraries}} \ -DCONAN_AUTO_INSTALL=OFF \ @@ -174,7 +173,6 @@ jobs: - name: Build run: | cmake --preset base_windows \ - -DCMAKE_CXX_FLAGS=-Wno-deprecated \ -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ -DBUILD_SHARED_LIBS=${{matrix.shared_libraries}} \ -DCONAN_AUTO_INSTALL=OFF \ diff --git a/.github/workflows/on_push_BasicWinLinMac.yml b/.github/workflows/on_push_BasicWinLinMac.yml index 49b6a782c8..5c1122c014 100644 --- a/.github/workflows/on_push_BasicWinLinMac.yml +++ b/.github/workflows/on_push_BasicWinLinMac.yml @@ -97,7 +97,7 @@ jobs: - name: build and compile run: | - cmake --preset base_mac -S . -B build -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" -DEXIV2_ENABLE_VIDEO=ON + cmake --preset base_mac -S . -B build -DEXIV2_ENABLE_VIDEO=ON cmake --build build --parallel - name: Test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5dea8700fa..9c595050fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,8 +80,7 @@ jobs: -DEXIV2_ENABLE_BMFF=ON \ -DEXIV2_TEAM_WARNINGS_AS_ERRORS=ON \ -DEXIV2_BUILD_DOC=ON \ - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \ - -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" + -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON cmake --build build -t doc cmake --build build -t package