From: Daniel Arndt Date: Wed, 6 Jan 2021 15:11:17 +0000 (-0500) Subject: Enable DEAL_II_EARLY_DEPRECATIONS in CI X-Git-Tag: v9.3.0-rc1~638^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35e9a5e19e106c3e740453e9dae519c1f694cc2a;p=dealii.git Enable DEAL_II_EARLY_DEPRECATIONS in CI --- diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 37f4a1ab44..6202a6f431 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -20,7 +20,7 @@ jobs: cmake --version - name: configure run: | - cmake -D CMAKE_BUILD_TYPE=Release -D DEAL_II_CXX_FLAGS='-Werror' . + cmake -D CMAKE_BUILD_TYPE=Release -D DEAL_II_CXX_FLAGS='-Werror' -D DEAL_II_EARLY_DEPRECATIONS=ON . - name: archive uses: actions/upload-artifact@v1 with: @@ -58,6 +58,7 @@ jobs: run: | cmake -D CMAKE_BUILD_TYPE=Debug \ -D DEAL_II_CXX_FLAGS='-Werror' \ + -D DEAL_II_EARLY_DEPRECATIONS=ON \ -D DEAL_II_WITH_MPI="ON" \ -D DEAL_II_WITH_SIMPLEX_SUPPORT="ON" \ -D DEAL_II_WITH_TRILINOS="ON" \ @@ -115,6 +116,7 @@ jobs: cmake -D CMAKE_BUILD_TYPE=Debug \ -D DEAL_II_CUDA_FLAGS='-arch=sm_70' \ -D DEAL_II_CXX_FLAGS='-Werror -Wno-non-template-friend' \ + -D DEAL_II_EARLY_DEPRECATIONS=ON \ -D DEAL_II_WITH_CUDA="ON" \ -D DEAL_II_WITH_MPI="ON" \ -D DEAL_II_WITH_P4EST="ON" \ diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index e05882fd49..9201b02928 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -17,7 +17,7 @@ jobs: cmake --version - name: configure run: | - cmake -D CMAKE_BUILD_TYPE=Debug -D DEAL_II_CXX_FLAGS='-Werror' . + cmake -D CMAKE_BUILD_TYPE=Debug -D DEAL_II_CXX_FLAGS='-Werror' -D DEAL_II_EARLY_DEPRECATIONS=ON . - name: archive uses: actions/upload-artifact@v1 with: @@ -63,7 +63,7 @@ jobs: cmake --version - name: configure run: | - CC=mpicc CXX=mpic++ cmake -D CMAKE_BUILD_TYPE=Debug -D DEAL_II_WITH_64BIT_INDICES=ON -D DEAL_II_CXX_FLAGS='-Werror' -D DEAL_II_WITH_MPI=on . + CC=mpicc CXX=mpic++ cmake -D CMAKE_BUILD_TYPE=Debug -D DEAL_II_WITH_64BIT_INDICES=ON -D DEAL_II_CXX_FLAGS='-Werror' -D DEAL_II_EARLY_DEPRECATIONS=ON -D DEAL_II_WITH_MPI=on . - name: archive uses: actions/upload-artifact@v1 with: diff --git a/Jenkinsfile b/Jenkinsfile index ed9f60c85e..232bad2dda 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -138,6 +138,7 @@ pipeline cmake -G "Ninja" \ -D DEAL_II_CXX_FLAGS='-Werror' \ -D DEAL_II_CXX_FLAGS_DEBUG='-Og' \ + -D DEAL_II_EARLY_DEPRECATIONS=ON \ -D CMAKE_BUILD_TYPE=Debug \ -D DEAL_II_WITH_MPI=OFF \ -D DEAL_II_UNITY_BUILD=ON \ @@ -193,6 +194,7 @@ pipeline cmake -G "Ninja" \ -D DEAL_II_CXX_FLAGS='-Werror' \ -D DEAL_II_CXX_FLAGS_DEBUG='-Og' \ + -D DEAL_II_EARLY_DEPRECATIONS=ON \ -D CMAKE_BUILD_TYPE=Debug \ -D DEAL_II_WITH_MPI=ON \ -D DEAL_II_UNITY_BUILD=OFF \ diff --git a/contrib/ci/Jenkinsfile.osx b/contrib/ci/Jenkinsfile.osx index f38b0b6b1b..b2de162d89 100644 --- a/contrib/ci/Jenkinsfile.osx +++ b/contrib/ci/Jenkinsfile.osx @@ -97,6 +97,7 @@ pipeline cmake \ -D DEAL_II_WITH_MPI=OFF \ -D DEAL_II_CXX_FLAGS='-Werror' \ + -D DEAL_II_EARLY_DEPRECATIONS=ON \ -D CMAKE_BUILD_TYPE=Debug \ $WORKSPACE/ && make -j 4 make test # quicktests