]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change one GitHub Workflow CI check to use C++20
authorDaniel Arndt <arndtd@ornl.gov>
Sat, 12 Mar 2022 17:26:32 +0000 (12:26 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Sat, 12 Mar 2022 17:26:32 +0000 (12:26 -0500)
.github/workflows/linux.yml

index b65ad7fa0e7d3fb23665740f76a7bc2287098b14..e0fa074b8c1c814084c34be58250520bdcaf4ef0 100644 (file)
@@ -11,7 +11,7 @@ jobs:
     # simple serial release build using g++
 
     name: linux release serial
-    runs-on: [ubuntu-18.04]
+    runs-on: [ubuntu-20.04]
 
     steps:
     - uses: actions/checkout@v2
@@ -24,10 +24,18 @@ jobs:
         cmake --version
     - name: modules
       run: |
-        sudo apt-get install libboost-all-dev
+        sudo apt-get install g++-10
+    - name: Build Boost
+      id: boost
+      uses: egor-tensin/build-boost@v1
+      with:
+        version: 1.74.0
+        libraries: container iostreams python serialization system thread
+        platform: x64
+        configuration: Release
     - name: configure
       run: |
-        cmake -D CMAKE_BUILD_TYPE=Release -D DEAL_II_CXX_FLAGS='-Werror' -D DEAL_II_EARLY_DEPRECATIONS=ON -DDEAL_II_COMPONENT_PYTHON_BINDINGS=ON .
+        cmake -D BOOST_DIR=/home/runner/work/dealii/boost -D BOOST_INCLUDEDIR=/home/runner/work/dealii/boost -D BOOST_LIBRARYDIR=/home/runner/work/dealii/boost/stage/x64/Release/lib -D CMAKE_BUILD_TYPE=Release -D CMAKE_CXX_COMPILER=g++-10 -D DEAL_II_CXX_FLAGS='-Werror -std=c++2a' -D DEAL_II_EARLY_DEPRECATIONS=ON -DDEAL_II_COMPONENT_PYTHON_BINDINGS=ON .
     - name: archive
       uses: actions/upload-artifact@v1
       with:

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.