compatibility_macos_sonoma_14_gcc_gfortran #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run Continuous Integration on macOS 14 Sonoma with GCC | |
# This includes Fortran support | |
# This mainly checks for issues/regressions in the native build | |
name: compatibility_macos_sonoma_14_gcc_gfortran | |
on: | |
schedule: | |
- cron: '00 8 * * 6' | |
push: | |
branches: | |
- 'release-*' | |
- fix_native_compatibility_ci | |
jobs: | |
build: | |
runs-on: macos-14 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: 15.3 | |
- name: Install dependencies | |
run: | | |
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install gcc@14 | |
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install openmpi | |
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install pkg-config | |
python3 -m venv ~/tox_venv | |
. ~/tox_venv/bin/activate && python3 -m pip install --upgrade pip | |
. ~/tox_venv/bin/activate && pip3 install tox tox-gh-actions | |
- name: Run all tests | |
run: cd ${GITHUB_WORKSPACE} && PATH=$PATH:~/tox_venv/bin CXX=g++-14 OMPI_CXX=g++-14 FC=gfortran-14 OMPI_FC=gfortran-14 make test test_examples | |