earth-system-radiation / pyRTE-RRTMGP

pyRTE-RRTMGP provides a Python interface to the RTE+RRTMGP Fortran software package
https://pyrte-rrtmgp.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

Run GH Action on macOS14 #10

Closed tcmetzger closed 5 months ago

tcmetzger commented 5 months ago

Test PR with a GH action using the macos14 (M1) runner as described in:

tcmetzger commented 5 months ago

Interestingly, this is supposed to run on a M1 runner (according to the docs linked above), but miniconda seems to automatically go for the osx-64 platform (not osx-arm64)...

tcmetzger commented 5 months ago

I updated the GH action to force miniconda to use arm64 - this reproduces the error:

WARNING: failed to get install actions, retrying.  exception was: Unsatisfiable dependencies for platform osx-arm64: {MatchSpec("binutils")}
Encountered problems while solving:
  - nothing provides requested binutils

-> Looks like building the package won't work out of the box with arm64 on conda. However, the build seems to work with osx-64. This might work with rosetta / x86 emulation on a M1 mac...

tcmetzger commented 5 months ago

Closing this since it was only an experiment