Skip to content

Commit

Permalink
Remove macOS 12 and add macOS 15 to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
LourensVeen committed Jan 6, 2025
1 parent 7d6d122 commit b7f7304
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Run Continuous Integration on macOS 12 Monterey, with native Clang and
# Run Continuous Integration on macOS 15 Sequoia, with native Clang and
# without Fortran.

# This mainly checks for issues/regressions in the native build
name: compatibility_macos_monterey_12_clang
name: compatibility_macos_sequoia_15_clang
on:
schedule:
- cron: '30 1 * * 6'
Expand All @@ -12,7 +12,7 @@ on:
- fix_native_compatibility_ci
jobs:
build:
runs-on: macos-12
runs-on: macos-15
timeout-minutes: 30

steps:
Expand All @@ -24,9 +24,9 @@ jobs:

- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install tox tox-gh-actions
python3 -m venv ${GITHUB_WORKSPACE}/test_venv
. ${GITHUB_WORKSPACE}/test_venv/bin/activate && pip install tox tox-gh-actions
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install openmpi
- name: Run all tests on macOS Monterey 12 with Clang
run: cd ${GITHUB_WORKSPACE} && make test test_examples
- name: Run all tests on macOS Sequoia 15 with Clang
run: cd ${GITHUB_WORKSPACE} && PATH=$PATH:${GITHUB_WORKSPACE}/test_venv/bin make test test_examples
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Run Continuous Integration on macOS 12 Monterey with GCC
# Run Continuous Integration on macOS 15 Sequoia with GCC
# This includes Fortran support
# This mainly checks for issues/regressions in the native build
name: compatibility_macos_monterey_12_gcc_gfortran
name: compatibility_macos_sequoia_15_gcc_gfortran
on:
schedule:
- cron: '00 2 * * 6'
Expand All @@ -11,7 +11,7 @@ on:
- fix_native_compatibility_ci
jobs:
build:
runs-on: macos-12
runs-on: macos-15
timeout-minutes: 30

steps:
Expand All @@ -23,11 +23,9 @@ jobs:

- name: Install dependencies
run: |
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install gcc
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install openmpi
python3 -m pip install --upgrade pip
pip3 install tox tox-gh-actions
python3 -m venv ${GITHUB_WORKSPACE}/test_venv
. ${GITHUB_WORKSPACE}/test_venv/bin/activate && pip install tox tox-gh-actions
- name: Run all tests
run: cd ${GITHUB_WORKSPACE} && CXX=g++-12 OMPI_CXX=g++-12 FC=gfortran-12 OMPI_FC=gfortran-12 make test test_examples

run: cd ${GITHUB_WORKSPACE} && PATH=$PATH:${GITHUB_WORKSPACE}/test_venv/bin CXX=g++-14 OMPI_CXX=g++-14 FC=gfortran-14 OMPI_FC=gfortran-14 make test test_examples

0 comments on commit b7f7304

Please sign in to comment.