Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/3.1] Add macOS brew image/env workaround #1818

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .vsts.pipelines/steps/setup-macos-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ steps:
)
}
set -ex
# Work around image/environment bug: https://github.com/actions/virtual-environments/issues/1811
brew uninstall openssl@1.0.2t
brew uninstall python@2.7.17
brew untap local/openssl
Comment on lines +12 to +14
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR) 
    CMake Error at System.Security.Cryptography.Native/CMakeLists.txt:19 (message):
      !!! Cannot find libssl and System.Security.Cryptography.Native cannot build
      without it.  Try installing libssl-dev (or the appropriate package for your
      platform) !!!

brew untap local/python2
# Work around brew bug: https://github.com/dotnet/coreclr/pull/21913
brew update
# Install macOS native dependencies not present in hosted pool.
Expand Down