]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Enable DEAL_II_EARLY_DEPRECATIONS in CI
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 6 Jan 2021 15:11:17 +0000 (10:11 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 6 Jan 2021 16:21:51 +0000 (11:21 -0500)
.github/workflows/linux.yml
.github/workflows/osx.yml
Jenkinsfile
contrib/ci/Jenkinsfile.osx

index 37f4a1ab44c2adae0def0e7ebb49d6593aebd877..6202a6f43120f366747a5fa2aee6e550eba579cc 100644 (file)
@@ -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" \
index e05882fd49b2dc1a2d0235c2af268c4dee0c8877..9201b02928e2b85c3f6c6f1740d3a0e4900478df 100644 (file)
@@ -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:
index ed9f60c85e1a89de89ffb4ea4db48040237fa257..232bad2dda70e4c29fa173618db587fdadf19451 100644 (file)
@@ -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 \
index f38b0b6b1b2bc9d2848341686e5b5639a6c0677e..b2de162d89191133b1212e1012feeb514598d524 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.