10
10
fail-fast : false
11
11
matrix :
12
12
os : [ubuntu-20.04]
13
- gcc_v : [7,8,9,10] # Version of GFortran we want to use.
14
- python-version : [3.9 ]
13
+ gcc_v : [7,8,9,10,11 ] # Version of GFortran we want to use.
14
+ python-version : [3.10 ]
15
15
env :
16
16
FC : gfortran-${{matrix.gcc_v}}
17
17
GCC_V : ${{matrix.gcc_v}}
46
46
if : contains( matrix.os, 'ubuntu')
47
47
run : |
48
48
python -m pip install --upgrade pip
49
- pip install ford FoBiS.py pygooglechart
49
+ pip install ford FoBiS.py pygooglechart fpm
50
50
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
51
51
52
52
- name : Install GFortran Linux
@@ -60,14 +60,23 @@ jobs:
60
60
--slave /usr/bin/gcov gcov /usr/bin/gcov-${GCC_V}
61
61
62
62
- name : Compile_with_build
63
- if : matrix.gcc_v != 7
63
+ if : matrix.gcc_v != 7 && matrix.gcc_v != 11
64
64
run : |
65
65
GFORTRAN=gfortran-${{matrix.gcc_v}}
66
66
GCOV=gcov-${{matrix.gcc_v}}
67
67
# build with build.sh, run unit tests
68
68
./build.sh --skip-documentation
69
69
./build.sh --skip-documentation --enable-unicode
70
70
71
+ - name : Compile_with_FPM
72
+ if : matrix.gcc_v == 11
73
+ run : |
74
+ GFORTRAN=gfortran-${{matrix.gcc_v}}
75
+ GCOV=gcov-${{matrix.gcc_v}}
76
+ apt-get update
77
+ sudo apt update && sudo apt install -y valgrind
78
+ fpm test --runner "valgrind --leak-check=full --show-leak-kinds=all"
79
+
71
80
- name : Compile_with_cmake
72
81
# CMake build with unit tests, no documentation, with coverage analysis
73
82
# No unicode so that coverage combined with the build script will cover unicode
0 commit comments