From d616dffe48fe0353407af128b12af4b987f621b1 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 27ff30b9..4dbdc123 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 4a905a0f..cb7aa0f2 100644 --- a/.github/workflows/on_PR_windows_matrix.yml +++ b/.github/workflows/on_PR_windows_matrix.yml @@ -131,7 +131,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 \ @@ -185,7 +184,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 a6b5c920..dce20273 100644 --- a/.github/workflows/on_push_BasicWinLinMac.yml +++ b/.github/workflows/on_push_BasicWinLinMac.yml @@ -107,7 +107,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 aa3eda57..e120f44d 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