compatibility_macos_monterey_12_gcc_gfortran #201
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 12 Monterey with GCC | |
# This includes Fortran support | |
# This mainly checks for issues/regressions in the native build | |
name: compatibility_macos_monterey_12_gcc_gfortran | |
on: | |
schedule: | |
- cron: '00 2 * * 6' | |
push: | |
branches: | |
- 'release-*' | |
- fix_native_compatibility_ci | |
jobs: | |
build: | |
runs-on: macos-12 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest | |
- 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 | |
- 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 | |