Skip to content

Commit 72948cf

Browse files
committed
Try
1 parent de59a0f commit 72948cf

File tree

1 file changed

+9
-74
lines changed

1 file changed

+9
-74
lines changed

.github/workflows/build-and-test-macos.yml

Lines changed: 9 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ name: Build and Test (macOS)
33
on:
44
push:
55
branches:
6-
- main
7-
pull_request:
8-
paths-ignore:
9-
- '**.md'
6+
- gbozzola/mac_ci
107

118
concurrency:
129
group: ${{ github.workflow }}-${{ github.ref }}
@@ -18,31 +15,6 @@ jobs:
1815
fail-fast: false
1916
matrix:
2017
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
4618
- compiler: gcc
4719
mpi: openmpi
4820
math-libs: openblas
@@ -59,46 +31,6 @@ jobs:
5931
with-openmp: serial
6032
with-eigensolver: arpack
6133
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
10234

10335
runs-on: macos-latest-xlarge
10436
steps:
@@ -151,13 +83,16 @@ jobs:
15183
run: |
15284
# Configure environment
15385
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++
15688
export FC=gfortran-12
15789
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
16196
fi
16297
if [[ "${{ matrix.math-libs }}" == 'openblas' ]]; then
16398
export OPENBLAS_DIR=$(brew --prefix openblas)

0 commit comments

Comments
 (0)