]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Added matrix strategies for linux workflows.
authorMarc Fehling <mafehling.git@gmail.com>
Wed, 26 Feb 2025 10:12:02 +0000 (11:12 +0100)
committerMarc Fehling <mafehling.git@gmail.com>
Wed, 26 Feb 2025 10:12:02 +0000 (11:12 +0100)
.github/workflows/linux.yml

index 063f8407b386ab1aeec752f6a281dfc118e25945..29f6a79cadba4a02bf40adbdfd6ef2c693aeb52f 100644 (file)
@@ -31,8 +31,8 @@ jobs:
   linux-release-serial:
     # simple serial release build using g++
 
-    name: linux release serial
-    runs-on: [ubuntu-22.04]
+    name: ${{ matrix.os }} release serial
+    runs-on: ${{ matrix.os }}
 
     #
     # The following condition only runs the workflow on 'push' or if the
@@ -42,8 +42,17 @@ jobs:
     #
     # if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
 
+    strategy:
+      fail-fast: false
+      matrix:
+        include:
+        - os: ubuntu-22.04
+          image: dealii/dependencies:jammy
+        - os: ubuntu-24.04
+          image: dealii/dependencies:jammy
+
     container:
-      image: dealii/dependencies:jammy
+      image: ${{ matrix.image }}
       options: --user root
 
     steps:
@@ -86,8 +95,8 @@ jobs:
   linux-debug-parallel:
     # simple parallel debug build using g++
 
-    name: linux debug parallel
-    runs-on: [ubuntu-22.04]
+    name: ${{ matrix.os }} debug parallel
+    runs-on: ${{ matrix.os }}
 
     #
     # The following condition only runs the workflow on 'push' or if the
@@ -97,8 +106,17 @@ jobs:
     #
     # if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
 
+    strategy:
+      fail-fast: false
+      matrix:
+        include:
+        - os: ubuntu-22.04
+          image: dealii/dependencies:jammy
+        - os: ubuntu-24.04
+          image: dealii/dependencies:jammy
+
     container:
-      image: dealii/dependencies:jammy
+      image: ${{ matrix.image }}
       options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
 
     steps:
@@ -149,8 +167,8 @@ jobs:
   linux-debug-parallel-tpetra:
     # simple parallel debug build using g++ and trilinos+tpetra
 
-    name: linux debug parallel tpetra
-    runs-on: [ubuntu-22.04]
+    name: ${{ matrix.os }} debug parallel tpetra
+    runs-on: ${{ matrix.os }}
 
     #
     # The following condition only runs the workflow on 'push' or if the
@@ -160,8 +178,17 @@ jobs:
     #
     # if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
 
+    strategy:
+      fail-fast: false
+      matrix:
+        include:
+        - os: ubuntu-22.04
+          image: dealii/dependencies:jammy
+        - os: ubuntu-24.04
+          image: dealii/dependencies:jammy
+
     container:
-      image: dealii/dependencies:jammy
+      image: ${{ matrix.image }}
       options: --user root --env OMPI_ALLOW_RUN_AS_ROOT=1 --env OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
 
     steps:

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.