Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! fixup! Fix CliMT build on MacOS
Browse files Browse the repository at this point in the history
lkluft committed Jul 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 481b391 commit d68a6d1
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -28,20 +28,25 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install GCC (MacOS)
- name: Install CliMT (MacOS)
if: matrix.name == 'macos'
env:
CC: gcc-12
FC: gfortran-12
TARGET: HASWELL
run: |
brew install gcc@12
python -m pip install --upgrade pip wheel
# Pre-install rrtmg-only CliMT on MacOS
TARGET=HASWELL python -m pip install git+https://github.com/atmtools/climt@rrtmg-only
python -m pip install --no-binary git+https://github.com/atmtools/climt@rrtmg-only
- name: Install
- name: Install CliMT (Linux)
if: matrix.name == 'ubuntu'
run: |
python -m pip install --upgrade pip wheel
python -m pip install --no-binary git+https://github.com/atmtools/climt@rrtmg-only
- name: Install
run: |
python -m pip install -v .[docs,tests]
python -m pip list

0 comments on commit d68a6d1

Please sign in to comment.