From d4dc5225cfbb51dd5ab6eacfc8e60c992c2b1395 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 12 Mar 2022 12:26:32 -0500 Subject: [PATCH] Change one GitHub Workflow CI check to use C++20 --- .github/workflows/linux.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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: -- 2.39.5