@@ -2,49 +2,40 @@ name: build example
22description : Build and test MUMPS example workflow
33
44runs :
5- using : " composite"
5+ using : composite
66
77 steps :
88
99 - name : configure example
1010 shell : bash
11- run : cmake -S example -B example/build
12-
13- - name : build example
14- shell : bash
15- run : cmake --build example/build
16-
17- - name : test example
18- shell : bash
19- run : ctest --test-dir example/build -V
11+ working-directory : example
12+ run : cmake --workflow default
2013
2114 - name : Scotch example
2215 shell : bash
2316 if : ${{ matrix.scotch }}
24- run : |
25- cmake -S example/scotch -Bexample/scotch/build
26- cmake --build example/scotch/build
27- ctest --test-dir example/scotch/build -V
17+ working-directory : example/scotch
18+ run : cmake --workflow default
2819
2920 - name : Upload log failure
3021 if : ${{ failure() && matrix.scotch }}
31- uses : actions/upload-artifact@v6
22+ uses : actions/upload-artifact@v7
3223 with :
24+ archive : false
3325 name : Scotch-example-${{ runner.os }}-CMakeConfigureLog.yaml
3426 path : example/scotch/build/CMakeFiles/CMakeConfigureLog.yaml
3527
3628 - name : METIS example
3729 shell : bash
3830 if : ${{ matrix.metis }}
39- run : |
40- cmake -S example/metis -Bexample/metis/build
41- cmake --build example/metis/build
42- ctest --test-dir example/metis/build -V
31+ working-directory : example/metis
32+ run : cmake --workflow default
4333
4434 - name : Upload log failure
4535 if : ${{ failure() && matrix.metis }}
46- uses : actions/upload-artifact@v6
36+ uses : actions/upload-artifact@v7
4737 with :
38+ archive : false
4839 name : METIS-example-${{ runner.os }}-CMakeConfigureLog.yaml
4940 path : example/metis/build/CMakeFiles/CMakeConfigureLog.yaml
5041
5950
6051 - name : Upload log failure
6152 if : ${{ failure() && matrix.openmp }}
62- uses : actions/upload-artifact@v6
53+ uses : actions/upload-artifact@v7
6354 with :
55+ archive : false
6456 name : OpenMP-example-${{ runner.os }}-CMakeConfigureLog.yaml
6557 path : example/openmp/build/CMakeFiles/CMakeConfigureLog.yaml
0 commit comments