Merge pull request #1733 from nasa/Fix-MacOS-CI-dependencies-install

Updated the MacOS CI workflow so that bash won't exit with brew upgrade exits with non-zero exit code.
This commit is contained in:
Hong Chen 2024-06-20 13:36:28 -05:00 committed by GitHub
commit aab65cf803
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,6 +23,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
# sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.15.pkg -target / # sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.15.pkg -target /
brew update
brew upgrade || true
brew install --cask xquartz brew install --cask xquartz
brew install udunits openmotif maven brew install udunits openmotif maven
brew install swig brew install swig