Unverified Commit 77a8a0ff authored by ValentinaTibs's avatar ValentinaTibs Committed by GitHub
Browse files

fixing compilation bug due to boost (#772)



* fixing compilation bug due to boost
* downgrading openssl to vs 1.0.0
Co-authored-by: default avatarValentina <tibaldo@di.uniroma1.it>
parent 72978cc4
......@@ -44,6 +44,7 @@ jobs:
artifactName: 'thymio-suite.flatpak'
- job: 'MSVC'
timeoutInMinutes: 90
pool:
vmImage: windows-2019
strategy:
......@@ -201,7 +202,17 @@ jobs:
- script: |
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/224d82c09d0bbeda99b4ee9b5ccdf56773e5d513/Formula/qt.rb
brew switch qt 5.13.2
displayName: 'Forcing Qt version to 5.13.2'
displayName: 'Setting Qt version to 5.13.2'
- script: |
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/ae73ba09216a7f8b2c0503e57221db020bcd3471/Formula/boost.rb
brew switch boost 1.72.0
displayName: 'Setting Boost version to 1.72.0'
- script: |
brew uninstall openssl; brew uninstall openssl; brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
brew info openssl
displayName: 'Setting openssl version to 1.0.0'
- script: |
brew update
......@@ -215,7 +226,7 @@ jobs:
- script: |
sudo xcode-select -s /Applications/Xcode_10.1.app/Contents/Developer
export CMAKE_PREFIX_PATH="${CMAKE_PREFIX_PATH}:$(brew --prefix qt)"
(mkdir build && cd build && cmake .. -GNinja -DBoost_DEBUG=ON -DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include -DCMAKE_BUILD_TYPE=Debug -DBUILD_SHARED_LIBS=OFF && ninja)
(mkdir build && cd build && cmake .. -GNinja -DBoost_DEBUG=OFF -DOPENSSL_LIBRARIES=/usr/local/Cellar/openssl/1.0.2t/lib -DOPENSSL_INCLUDE_DIR=/usr/local/Cellar/openssl/1.0.2t/include -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF && ninja)
displayName: 'Build with cmake'
- script: |
......@@ -302,4 +313,4 @@ jobs:
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: '$(Build.ArtifactStagingDirectory)'
artifactName: 'ThymioSuite.app'
artifactName: 'ThymioSuite.app'
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment