@@ -14,28 +14,48 @@ jobs:
1414 runs-on : ${{ matrix.os }}
1515 strategy :
1616 matrix :
17- os : [ubuntu-20.04, macos-10.15 , macos-11]
18- compiler : [gfortran-8 , gfortran-9 , gfortran-10 ]
17+ os : [ubuntu-20.04, ubuntu-22.04 , macos-11, macos-12 ]
18+ compiler : [gfortran-9 , gfortran-10 , gfortran-11, gfortran-12 ]
1919 exclude :
20- - os : macos-10.15
21- compiler : gfortran-8
20+ - os : ubuntu-20.04
21+ compiler : gfortran-11
22+ - os : ubuntu-20.04
23+ compiler : gfortran-12
24+ - os : ubuntu-22.04
25+ compiler : gfortran-9
2226 - os : macos-11
23- compiler : gfortran-8
27+ compiler : gfortran-12
28+ - os : macos-12
29+ compiler : gfortran-9
30+ - os : macos-12
31+ compiler : gfortran-10
32+ - os : macos-12
33+ compiler : gfortran-12
34+
35+ # fail-fast if set to 'true' here is good for production, but when
36+ # debugging, set to 'false'. fail-fast means if *any* ci test in the matrix fails
37+ # GitHub Actions will stop any other test immediately. So good for production, bad
38+ # when trying to figure something out. For more info see:
39+ # https://www.edwardthomson.com/blog/github_actions_6_fail_fast_matrix_workflows.html
40+
2441 fail-fast : false
2542 env :
2643 FC : ${{ matrix.compiler }}
44+ LANGUAGE : en_US.UTF-8
45+ LC_ALL : en_US.UTF-8
46+ LANG : en_US.UTF-8
47+ LC_TYPE : en_US.UTF-8
48+ OMPI_ALLOW_RUN_AS_ROOT : 1
49+ OMPI_ALLOW_RUN_AS_ROOT_CONFIRM : 1
50+ OMPI_MCA_btl_vader_single_copy_mechanism : none
2751
2852 name : ${{ matrix.os }} / ${{ matrix.compiler }}
2953 steps :
30- - name : Install GCC 8 on Ubuntu 20
31- if : matrix.os == 'ubuntu-20.04' && matrix.compiler == 'gfortran-8'
32- run : |
33- sudo apt-get install gfortran-8 -y
34- - name : Install GCC 11 on Ubuntu 20
35- if : matrix.os == 'ubuntu-20.04' && matrix.compiler == 'gfortran-11'
54+ - name : Install GCC 12 on Ubuntu 22.04
55+ if : matrix.os == 'ubuntu-22.04' && matrix.compiler == 'gfortran-12'
3656 run : |
37- sudo apt-get install gfortran-11 -y
38- - name : Versions
57+ sudo apt-get install gfortran-12 -y
58+ - name : Compiler Versions
3959 run : |
4060 ${FC} --version
4161 cmake --version
4969 cd build
5070 cmake .. -DCMAKE_Fortran_COMPILER=${FC}
5171 make -j$(nproc)
72+ - name : Archive log files on failure
73+ uses : actions/upload-artifact@v2
74+ if : failure()
75+ with :
76+ name : logfiles
77+ path : |
78+ build/**/*.log
79+
5280
5381 Nvidia :
5482 runs-on : ubuntu-20.04
0 commit comments