From 3136ace4ee8dccf33adf78dce31ec335c1ae64ea Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 4 Jul 2023 16:05:01 -0500 Subject: [PATCH] github: update serial linux runner - bump to Ubuntu 22.04 - enable examples and quick tests --- .github/workflows/linux.yml | 38 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 22 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 2f7f78e0f0..5ad5241a5e 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -16,44 +16,35 @@ permissions: 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 \ @@ -64,10 +55,13 @@ jobs: 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 -- 2.39.5