Skip to content

Commit

Permalink
Fix macOS CI workflow (#715)
Browse files Browse the repository at this point in the history
Turn off "gcovr" and drop down to macOS-11 from macOS-latest.

Part of #712.
  • Loading branch information
GeorgeGayno-NOAA authored Nov 22, 2022
1 parent 711a4dc commit 0e510e7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/linux-mac-nceplibs-mpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
CXX: g++-9
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
os: [macos-11, ubuntu-latest]
compiler: [gcc-9]
nceplibs_version: [develop, 1.4.0]
mpi_type: [mpich, openmpi]
Expand All @@ -29,7 +29,7 @@ jobs:
sudo apt-get update
sudo apt-get install libpng-dev
sudo apt-get install libjpeg-dev
elif [[ ${{ matrix.os }} == "macos-latest" ]]; then
elif [[ ${{ matrix.os }} == "macos-11" ]]; then
brew update
brew install wget
brew install jpeg-turbo
Expand All @@ -39,7 +39,6 @@ jobs:
sudo ln -sf /usr/local/bin/gfortran-10 /usr/local/bin/gfortran
fi
fi
python3 -m pip install gcovr
- name: cache-mpi
id: cache-mpi
Expand All @@ -64,7 +63,7 @@ jobs:
cd openmpi-4.1.1
if [[ ${{ matrix.os }} == "ubuntu-latest" ]]; then
./configure --prefix=$HOME/mpi --enable-mpi-fortran --enable-mpi-cxx
elif [[ ${{ matrix.os }} == "macos-latest" ]]; then
elif [[ ${{ matrix.os }} == "macos-11" ]]; then
./configure --prefix=$HOME/mpi --enable-mpi-fortran --enable-mpi-cxx --enable-two-level-namespace
fi
make -j2
Expand Down

0 comments on commit 0e510e7

Please sign in to comment.