From 3f7f3be3edaf3ee39a9b959fd420c21746f03cf1 Mon Sep 17 00:00:00 2001 From: Shengting Cui Date: Mon, 18 Dec 2023 19:23:54 +0000 Subject: [PATCH] Try brew install gcc --- .github/workflows/Build_and_Run_Standalone_Test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Build_and_Run_Standalone_Test.yml b/.github/workflows/Build_and_Run_Standalone_Test.yml index ee404de..eaedda0 100644 --- a/.github/workflows/Build_and_Run_Standalone_Test.yml +++ b/.github/workflows/Build_and_Run_Standalone_Test.yml @@ -58,8 +58,10 @@ jobs: ./configure 5 elif [ ${{ runner.os }} == 'macOS' ] then - sudo ln -s $(which gfortran-13) /usr/local/bin/gfortran - ./configure 5 + brew install gcc@11 + echo 'gfortran = $(which gfortran-11)' + sudo ln -s $(which gfortran-11) /usr/local/bin/gfortran + ./configure 4 fi - name: Build and Run Standalone