contents: read
jobs:
+
+ ########################
+ # linux-release-serial #
+ ########################
+
linux-release-serial:
# simple serial release build using g++
name: linux release serial
- runs-on: [ubuntu-20.04]
+ runs-on: [ubuntu-22.04]
# only run on 'push' or if the 'pull_request' is not a draft:
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
+ container:
+ image: dealii/dependencies:jammy
+ options: --user root
+
steps:
- uses: actions/checkout@v3
- - name: setup
- run: |
- ./contrib/utilities/download_clang_format
- name: info
run: |
g++ -v
cmake --version
- - name: modules
- run: |
- 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 deal.II
run: |
mkdir build
cd build
- 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 \
+ cmake -D CMAKE_BUILD_TYPE=Release \
-D DEAL_II_CXX_FLAGS='-Werror -std=c++20' \
-D DEAL_II_EARLY_DEPRECATIONS=ON \
-DDEAL_II_COMPONENT_PYTHON_BINDINGS=ON \
run: |
cd build
make VERBOSE=1 -j2
- - name: quicktest
+ - name: test
run: |
cd build
- make test
+ make -j2 \
+ setup_tests_examples \
+ setup_tests_quick_tests
+ ctest --output-on-failure -j2
linux-debug-parallel-simplex:
# simple parallel debug build using g++ with simplex configuration enabled