|
15 | 15 | os: [ubuntu-latest]
|
16 | 16 | gcc_v: [7,8,9,10] # Version of GFortran we want to use.
|
17 | 17 | python-version: [3.7]
|
18 |
| - use-cmake: [0,1] |
19 | 18 | env:
|
20 | 19 | FC: gfortran-${{matrix.gcc_v}}
|
21 | 20 | GCC_V: ${{matrix.gcc_v}}
|
@@ -57,23 +56,20 @@ jobs:
|
57 | 56 | --slave /usr/bin/gfortran gfortran /usr/bin/gfortran-${GCC_V} \
|
58 | 57 | --slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
|
59 | 58 |
|
60 |
| - # - name: Compile_with_build_mkdocs |
61 |
| - # if: matrix.gcc_v == 7 |
62 |
| - # run: | |
63 |
| - # # GFORTRAN=gfortran-${{matrix.gcc_v}} |
64 |
| - # # GCOV=gcov-${{matrix.gcc_v}} |
65 |
| - # # alias gcov=$GCOV |
66 |
| - # gfortran --version |
67 |
| - # gcov --version |
68 |
| - # # build with build.sh, make documentation, run unit tests |
69 |
| - # # and perform coverage analysis |
70 |
| - # ./build.sh --coverage --skip-documentation |
71 |
| - # ./build.sh --coverage --enable-unicode" |
72 |
| - # CODE_COVERAGE="yes" |
73 |
| - # DEPLOY_DOCUMENTATION="yes" |
| 59 | + - name: Compile_with_build_mkdocs |
| 60 | + if: matrix.gcc_v == 7 |
| 61 | + run: | |
| 62 | + GFORTRAN=gfortran-${{matrix.gcc_v}} |
| 63 | + GCOV=gcov-${{matrix.gcc_v}} |
| 64 | + # build with build.sh, make documentation, run unit tests |
| 65 | + # and perform coverage analysis |
| 66 | + ./build.sh --coverage --skip-documentation |
| 67 | + ./build.sh --coverage --enable-unicode" |
| 68 | + CODE_COVERAGE="yes" |
| 69 | + DEPLOY_DOCUMENTATION="yes" |
74 | 70 |
|
75 | 71 | - name: Compile_with_build
|
76 |
| - if: matrix.use-cmake == 0 |
| 72 | + if: matrix.gcc_v != 7 |
77 | 73 | run: |
|
78 | 74 | GFORTRAN=gfortran-${{matrix.gcc_v}}
|
79 | 75 | GCOV=gcov-${{matrix.gcc_v}}
|
|
84 | 80 | DEPLOY_DOCUMENTATION="no"
|
85 | 81 |
|
86 | 82 | - name: Compile_with_cmake
|
87 |
| - if: matrix.gcc_v == 9 && matrix.use-cmake == 1 |
| 83 | + if: matrix.gcc_v == 9 |
88 | 84 | run: |
|
89 | 85 | GFORTRAN=gfortran-${{matrix.gcc_v}}
|
90 | 86 | GCOV=gcov-${{matrix.gcc_v}}
|
|
0 commit comments