From: Daniel Arndt Date: Sat, 12 Mar 2022 17:26:32 +0000 (-0500) Subject: Change one GitHub Workflow CI check to use C++20 X-Git-Tag: v9.4.0-rc1~362^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4dc5225cfbb51dd5ab6eacfc8e60c992c2b1395;p=dealii.git Change one GitHub Workflow CI check to use C++20 --- diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index b65ad7fa0e..e0fa074b8c 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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: