Skip to content

Commit

Permalink
Fix macOS 14 CI
Browse files Browse the repository at this point in the history
  • Loading branch information
LourensVeen committed Aug 2, 2024
1 parent f6756e0 commit c4f4d5b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci_macos14_clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
run: |
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install openmpi
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install pkg-config
python3 -m pip install --upgrade pip
pip3 install tox tox-gh-actions
python3 -m venv ~/tox_venv
. ~/tox_venv/bin/activate && python3 -m pip install --upgrade pip
. ~/tox_venv/bin/activate && python3 -m pip install tox tox-gh-actions
- name: Run all tests on macOS Sonoma 14 with Clang
run: cd ${GITHUB_WORKSPACE} && make test test_examples
run: cd ${GITHUB_WORKSPACE} && PATH=$PATH:~/tox_venv/bin make test test_examples

11 changes: 6 additions & 5 deletions .github/workflows/ci_macos14_gcc_gfortran.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ jobs:

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest
xcode-version: 15.3

- name: Install dependencies
run: |
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install gcc
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 pip install --upgrade pip
pip3 install tox tox-gh-actions
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} && CXX=g++-12 OMPI_CXX=g++-12 FC=gfortran-12 OMPI_FC=gfortran-12 make test test_examples
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

0 comments on commit c4f4d5b

Please sign in to comment.