From d68a6d1a48aa789f3247782ff677d7c8d77eb73a Mon Sep 17 00:00:00 2001 From: Lukas Kluft Date: Thu, 4 Jul 2024 11:21:04 +0200 Subject: [PATCH] fixup! fixup! Fix CliMT build on MacOS --- .github/workflows/build-test.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 13e5fd3..2ff523a 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -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