From 18e8be66768e8e30005d056c6cd461336815a9af Mon Sep 17 00:00:00 2001 From: Lindon Roberts Date: Thu, 30 May 2024 16:14:27 +1000 Subject: [PATCH] Fix MacOS Fortran compiler info --- .github/workflows/upload_pypi.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/upload_pypi.yml b/.github/workflows/upload_pypi.yml index 61530f2..533c91a 100644 --- a/.github/workflows/upload_pypi.yml +++ b/.github/workflows/upload_pypi.yml @@ -21,6 +21,12 @@ jobs: # Used to host cibuildwheel - uses: actions/setup-python@v3 + + - name: Update Fortran compiler information (MacOS only) + if: runner.os == 'macOS' + run: | + sudo ln -s /opt/homebrew/bin/gfortran-12 /opt/homebrew/bin/gfortran + export FC="/opt/homebrew/bin/gfortran" - name: Install cibuildwheel run: python -m pip install cibuildwheel==2.17.0