Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CI test for macOS #434

Merged
merged 2 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest] # Testing with macos-latest currently not working
mpi: [true, false]
openmp: ['enabled', 'disabled']
ecosys: [false] # ecosys==true fails with gcc, disable for now but leave placeholder
exclude:
# Do not build on macOS with MPI as that is having some dependency issues
- os: macos-latest
mpi: true
# # Do not build on macOS with MPI as that is having some dependency issues
# - os: macos-latest
# mpi: true
# # Do not build on macOS with OpenMP. This cause an error as discussed in PR
# # https://github.com/NorESMhub/BLOM/pull/317#issuecomment-2191552330
# - os: macos-latest
# openmp: 'enabled'
# Run test (fuk95 executed with mpi=false) fails with ecosys
- ecosys: true
mpi: false
Expand All @@ -29,11 +33,11 @@ jobs:
sudo apt install -y libnetcdff-dev mpi-default-dev ninja-build
if: runner.os == 'Linux'

- name: Install dependencies - macOS
run: brew install netcdf-fortran open-mpi ninja
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
if: runner.os == 'macOS'
# - name: Install dependencies - macOS
# run: brew install netcdf-fortran open-mpi ninja
# env:
# HOMEBREW_NO_INSTALL_CLEANUP: 1
# if: runner.os == 'macOS'

- name: Setup Python for newer version of Meson
uses: actions/setup-python@v5
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Ignore build output directory created by Meson
builddir/

# Ignore byte-compiled files
__pycache__/