# 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
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: