Skip to content

Commit

Permalink
xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
swryan committed Jul 29, 2024
1 parent 70aba71 commit babd419
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ jobs:
PYOPTSPARSE: 'default'
SNOPT: 7.7
FORCE_BUILD: true
XCODE: 'Xcode_14.2'

# test latest versions without MPI with forced build
- NAME: Ubuntu Latest, no MPI, forced build
Expand Down Expand Up @@ -198,8 +199,6 @@ jobs:
conda install numpy=${{ matrix.NUMPY }} scipy=${{ matrix.SCIPY }} -q -y
if [[ "${{ matrix.BREW }}" ]]; then
export PATH="/opt/homebrew/bin:$PATH"
echo "PATH="/opt/homebrew/bin:$PATH"" >> $GITHUB_ENV
brew install swig meson
if [[ "${{ matrix.OS }}" == "macos-latest" ]]; then
ln -s /opt/homebrew/bin/gfortran-13 /opt/homebrew/bin/gfortran
Expand All @@ -208,6 +207,10 @@ jobs:
conda install compilers cython swig -q -y
fi
if [[ "{{ matrix.XCODE }}" ]]; then
sudo xcode-select -s "/Applications/{{ matrix.XCODE }}.app"
fi
echo "============================================================="
echo "Install build_pyoptsparse"
echo "============================================================="
Expand Down

0 comments on commit babd419

Please sign in to comment.