@@ -3,10 +3,7 @@ name: Build and Test (macOS)
3
3
on :
4
4
push :
5
5
branches :
6
- - main
7
- pull_request :
8
- paths-ignore :
9
- - ' **.md'
6
+ - gbozzola/mac_ci
10
7
11
8
concurrency :
12
9
group : ${{ github.workflow }}-${{ github.ref }}
18
15
fail-fast : false
19
16
matrix :
20
17
include : # Pairwise testing (from allpairspy)
21
- # Failing configurations currently disabled pending investigation
22
- # - compiler: gcc
23
- # mpi: mpich
24
- # math-libs: openblas
25
- # build-shared: shared
26
- # with-64bit-int: int64
27
- # with-openmp: openmp
28
- # with-eigensolver: slepc
29
- # with-solver: superlu
30
- - compiler : clang
31
- mpi : openmpi
32
- math-libs : armpl
33
- build-shared : static
34
- with-64bit-int : int32
35
- with-openmp : serial
36
- with-eigensolver : arpack
37
- with-solver : strumpack
38
- # - compiler: clang
39
- # mpi: mpich
40
- # math-libs: armpl
41
- # build-shared: shared
42
- # with-64bit-int: int32
43
- # with-openmp: openmp
44
- # with-eigensolver: arpack
45
- # with-solver: mumps
46
18
- compiler : gcc
47
19
mpi : openmpi
48
20
math-libs : openblas
59
31
with-openmp : serial
60
32
with-eigensolver : arpack
61
33
with-solver : superlu
62
- - compiler : clang
63
- mpi : mpich
64
- math-libs : openblas
65
- build-shared : static
66
- with-64bit-int : int32
67
- with-openmp : openmp
68
- with-eigensolver : slepc
69
- with-solver : strumpack
70
- - compiler : clang
71
- mpi : mpich
72
- math-libs : openblas
73
- build-shared : static
74
- with-64bit-int : int64
75
- with-openmp : serial
76
- with-eigensolver : arpack
77
- with-solver : superlu
78
- # - compiler: gcc
79
- # mpi: openmpi
80
- # math-libs: armpl
81
- # build-shared: shared
82
- # with-64bit-int: int32
83
- # with-openmp: openmp
84
- # with-eigensolver: slepc
85
- # with-solver: strumpack
86
- # - compiler: gcc
87
- # mpi: openmpi
88
- # math-libs: armpl
89
- # build-shared: shared
90
- # with-64bit-int: int32
91
- # with-openmp: openmp
92
- # with-eigensolver: slepc
93
- # with-solver: superlu
94
- # - compiler: gcc
95
- # mpi: openmpi
96
- # math-libs: armpl
97
- # build-shared: shared
98
- # with-64bit-int: int64
99
- # with-openmp: openmp
100
- # with-eigensolver: slepc
101
- # with-solver: strumpack
102
34
103
35
runs-on : macos-latest-xlarge
104
36
steps :
@@ -151,13 +83,16 @@ jobs:
151
83
run : |
152
84
# Configure environment
153
85
if [[ "${{ matrix.compiler }}" == 'clang' ]]; then
154
- export CC=$(brew --prefix llvm@15 )/bin/clang
155
- export CXX=$(brew --prefix llvm@15 )/bin/clang++
86
+ export CC=$(brew --prefix llvm@18 )/bin/clang
87
+ export CXX=$(brew --prefix llvm@18 )/bin/clang++
156
88
export FC=gfortran-12
157
89
elif [[ "${{ matrix.compiler }}" == 'gcc' ]]; then
158
- export CC=gcc-12
159
- export CXX=g++-12
160
- export FC=gfortran-12
90
+ export OMPI_CC=gcc-12
91
+ export OMPI_CXX=g++-12
92
+ export OMPI_FC=gfortran-12
93
+ export CC=mpicc
94
+ export CXX=mpicxx
95
+ export FC=mpifort
161
96
fi
162
97
if [[ "${{ matrix.math-libs }}" == 'openblas' ]]; then
163
98
export OPENBLAS_DIR=$(brew --prefix openblas)
0 commit comments