]> https://gitweb.dealii.org/ - dealii.git/commitdiff
github: update serial linux runner
authorMatthias Maier <tamiko@43-1.org>
Tue, 4 Jul 2023 21:05:01 +0000 (16:05 -0500)
committerMatthias Maier <tamiko@43-1.org>
Sat, 8 Jul 2023 04:43:44 +0000 (23:43 -0500)
 - bump to Ubuntu 22.04
 - enable examples and quick tests

.github/workflows/linux.yml

index 2f7f78e0f0fdf8264fce65616b94127d9cbf368c..5ad5241a5eccf7c50309ffd78c5254ddcceea128 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.