File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,18 @@ defaults:
3333jobs :
3434
3535 build-all :
36+ name : >
37+ CMake ${{ matrix.cmake }}
3638 runs-on : ubuntu-latest
37-
39+ strategy :
40+ matrix :
41+ # CMake versions to test:
42+ # - minimum and maximum in the `cmake_minimum_required`
43+ # (if needed expand this to add all intermediate values
44+ # for *temporary* CI testing)
45+ # - latest version
46+ cmake : ["3.9", "4.0", latest]
47+ fail-fast : false
3848 steps :
3949
4050 - name : Checkout ScaLAPACK
5161
5262 - name : Install BLAS and LAPACK
5363 run : sudo apt -y install libblas-dev liblapack-dev
54-
64+
65+ - name : Setup CMake
66+ uses : jwlawson/actions-setup-cmake@v2
67+ with :
68+ cmake-version : ${{ matrix.cmake }}
69+
5570 - name : CMake configuration
5671 run : >
5772 cmake -B build
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 2.8)
1+ cmake_minimum_required (VERSION 2.8...4.0 )
22project (INSTALL C Fortran)
33
44add_executable (xintface Fintface.f Cintface.c)
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.9)
1+ cmake_minimum_required (VERSION 3.9...4.0 )
22
33project (SCALAPACK VERSION 2.2.2 LANGUAGES C Fortran)
44
You can’t perform that action at this time.
0 commit comments