File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -87,16 +87,27 @@ cache:
8787 - $HOME/folly
8888
8989before_script :
90+ - eval "$COMPILER_EVAL"
91+ - export DEP_INSTALL_DIR=$PWD/build/dep-install
92+ # Ubuntu trusty only comes with OpenSSL 1.0.1f, but we require
93+ # at least OpenSSL 1.0.2 for ALPN support.
94+ - curl -L https://github.com/openssl/openssl/archive/OpenSSL_1_1_1.tar.gz -o OpenSSL_1_1_1.tar.gz
95+ - tar -xzf OpenSSL_1_1_1.tar.gz
96+ - cd openssl-OpenSSL_1_1_1
97+ - ./config --prefix=$DEP_INSTALL_DIR no-shared
98+ - make -j4
99+ - make install_sw install_ssldirs
100+ - cd ..
90101 # Install lcov to coveralls conversion + upload tool.
91102 - gem install coveralls-lcov
92103 - lcov --version
93- - eval "$COMPILER_EVAL"
94104
95105script :
96106 - mkdir build
97107 - cd build
98108 - cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE
99109 -DRSOCKET_ASAN=$ASAN -DRSOCKET_INSTALL_DEPS=True
110+ -DCMAKE_PREFIX_PATH=$DEP_INSTALL_DIR
100111 -DRSOCKET_BUILD_WITH_COVERAGE=ON ..
101112 - make -j4
102113 - lcov --directory . --zerocounters
You can’t perform that action at this time.
0 commit comments