mirror of https://github.com/debauchee/barrier.git
Change MacOS Build Steps
The Azure Pipelines MacOS vmImage has an old version of OpenSSL (1.0.2t) installed at /usr/local/opt/openssl. Normally with Homebrew this directory would be linked to the currenly installed version of OpenSSL (1.1.x) in /usr/local/Cellar, but since it has been installed manually here it interferes with linking libssl.a and libcrypto.a static libraries which causes the build to fail.
This commit is contained in:
parent
0deaaad2c9
commit
b5c7eb45ef
|
@ -82,11 +82,16 @@ jobs:
|
||||||
Release:
|
Release:
|
||||||
B_BUILD_TYPE: Release
|
B_BUILD_TYPE: Release
|
||||||
BARRIER_VERSION_STAGE: Release
|
BARRIER_VERSION_STAGE: Release
|
||||||
|
variables:
|
||||||
|
VERBOSE: 1
|
||||||
|
TERM: xterm-256color
|
||||||
steps:
|
steps:
|
||||||
- script: brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/aac86fc018c48d7b6f23a2e7535276899774567a/Formula/qt.rb
|
- script: rm -rf /usr/local/opt/openssl
|
||||||
displayName: Installed Pinned Qt
|
displayName: Remove incompatible OpenSSL 1.0.2t from macOS-10.14 vmImage
|
||||||
- script: brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/aac86fc018c48d7b6f23a2e7535276899774567a/Formula/openssl.rb
|
- script: brew reinstall openssl
|
||||||
displayName: Installed Pinned OpenSSL
|
displayName: Installed newer OpenSSL 1.1.x
|
||||||
|
- script: brew install pkg-config qt5
|
||||||
|
displayName: Install Qt5 and pkg-config prereqs
|
||||||
- script: sh -x ./clean_build.sh
|
- script: sh -x ./clean_build.sh
|
||||||
displayName: Clean Build
|
displayName: Clean Build
|
||||||
- task: PublishBuildArtifacts@1
|
- task: PublishBuildArtifacts@1
|
||||||
|
|
Loading…
Reference in New Issue