I had to fall back to using micromamba (only for macos-13 and macos-14) to ensure that the correct python version is used for the build. There is a problem with actions/setup-python with MacOS runners where it does not correctly override the sys-bundled python.
Getting MSVC working properly was also a bit of a chore and necessitated switching off of bash for Windows. I am using cmd.exe but it may also be possible to switch to powershell.
As usual, I found that having separate sections for each OS was needed.
I had to fall back to using micromamba (only for macos-13 and macos-14) to ensure that the correct python version is used for the build. There is a problem with actions/setup-python with MacOS runners where it does not correctly override the sys-bundled python.
Getting MSVC working properly was also a bit of a chore and necessitated switching off of bash for Windows. I am using cmd.exe but it may also be possible to switch to powershell.
As usual, I found that having separate sections for each OS was needed.