@@ -18,13 +18,20 @@ jobs:
1818 runs-on : ${{ matrix.os }}
1919 strategy :
2020 matrix :
21- os : [ubuntu-22.04, macos-11, macos-12]
22- compiler : [gfortran-10, gfortran-11, gfortran-12, gfortran-13]
21+ os : [ubuntu-22.04, ubuntu-24.04, macos-13, macos-14]
22+ compiler : [gfortran-11, gfortran-12, gfortran-13]
23+ # gfortran-10 is only on ubuntu-22.04
24+ # gfortran-14 is available on ubuntu-24.04
25+ include :
26+ - os : ubuntu-22.04
27+ compiler : gfortran-10
28+ - os : ubuntu-24.04
29+ compiler : gfortran-14
2330 exclude :
24- - os : macos-11
31+ - os : ubuntu-24.04
32+ compiler : gfortran-11
33+ - os : ubuntu-22.04
2534 compiler : gfortran-13
26- - os : macos-12
27- compiler : gfortran-10
2835
2936 # fail-fast if set to 'true' here is good for production, but when
3037 # debugging, set to 'false'. fail-fast means if *any* ci test in the matrix fails
6976 - name : Build MPI
7077 if : steps.cache-mpi.outputs.cache-hit != 'true'
7178 run : |
72- sh ${GITHUB_WORKSPACE}/tools/ci-install-mpi.sh openmpi 4.1.4
79+ sh ${GITHUB_WORKSPACE}/tools/ci-install-mpi.sh openmpi 5.0.2
7380
7481 - name : Set MPI Environment
7582 run : |
@@ -87,13 +94,15 @@ jobs:
8794 run : cmake -B build
8895
8996 - name : Build pfUnit
90- run : cmake --build build --parallel
97+ run : cmake --build build --parallel 4
9198
9299 - name : Build Tests
93- run : cmake --build build --parallel -t build-tests
100+ run : |
101+ cmake --build build --parallel 4 --target build-tests
102+ cmake --build build --parallel 4 --target tests
94103
95- - name : Run Tests
96- run : ctest --test-dir build --parallel 1 --output-on-failure --repeat until-pass:4 --schedule-random
104+ - name : Run Ctest
105+ run : ctest --test-dir build --parallel 1 --output-on-failure --repeat until-pass:4
97106
98107 - name : Archive log files on failure
99108 uses : actions/upload-artifact@v4
@@ -104,7 +113,7 @@ jobs:
104113 build/**/*.log
105114
106115 Intel :
107- runs-on : ubuntu-20.04
116+ runs-on : ubuntu-latest
108117
109118 env :
110119 FC : ifx
@@ -157,10 +166,12 @@ jobs:
157166 run : cmake --build build --parallel
158167
159168 - name : Build Tests
160- run : cmake --build build --parallel -t build-tests
169+ run : |
170+ cmake --build build --parallel 4 --target build-tests
171+ cmake --build build --parallel 4 --target tests
161172
162- - name : Run Tests
163- run : ctest --test-dir build --parallel 1 --output-on-failure --repeat until-pass:4 --schedule-random
173+ - name : Run Ctest
174+ run : ctest --test-dir build --parallel 1 --output-on-failure --repeat until-pass:4
164175
165176 - name : Archive log files on failure
166177 uses : actions/upload-artifact@v4
@@ -204,10 +215,12 @@ jobs:
204215 run : cmake --build build --parallel
205216
206217 - name : Build Tests
207- run : cmake --build build --parallel -t build-tests
218+ run : |
219+ cmake --build build --parallel 4 --target build-tests
220+ cmake --build build --parallel 4 --target tests
208221
209- - name : Run Tests
210- run : ctest --test-dir build --parallel 1 --output-on-failure --repeat until-pass:4 --schedule-random
222+ - name : Run Ctest
223+ run : ctest --test-dir build --parallel 1 --output-on-failure --repeat until-pass:4
211224
212225 - name : Archive log files on failure
213226 uses : actions/upload-artifact@v4
0 commit comments