Skip to content

Commit

Permalink
Install gcc and gfortran using brew
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-el committed May 21, 2024
1 parent de4b066 commit 04726ca
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/bundle_with_dakota_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ jobs:
key: ${{ matrix.os }}_python-${{ matrix.python-version }}_boost-${{ inputs.BOOST_VERSION }}_dakota-${{ inputs.DAKOTA_VERSION }}
path: ${{ github.workspace }}/python-${{ matrix.python-version}}_boost-${{ inputs.BOOST_VERSION }}_dakota-${{ inputs.DAKOTA_VERSION }}.tar.gz

- name: Install brew gcc
if: steps.cache-package.outputs.cache-hit != 'true'
run: brew install gcc

- name: Install dependencies
if: steps.cache-package.outputs.cache-hit != 'true'
run: |
Expand Down Expand Up @@ -133,6 +137,9 @@ jobs:
FORTRAN_PATH=$(dirname "$FORTRAN_FULLPATH")
export PATH=$FORTRAN_PATH:$PATH
gcc --version
gfortran --version
tar xf dakota-${{ inputs.DAKOTA_VERSION }}-public-src-cli.tar.gz
EIGEN_CMAKE_PATH=dakota-${{ inputs.DAKOTA_VERSION }}-public-src-cli/packages/external/eigen3/share/eigen3/cmake
Expand Down

0 comments on commit 04726ca

Please sign in to comment.