blob: d2058558483ea721fe8605ea1725a29bbe20b61c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
FreeBSD_task:
freebsd_instance:
image_family: freebsd-12-1
env:
PREFIX: ${HOME}/opt
PATH: ${PREFIX}/bin:${PATH}
OPENSSL_BRANCH: master
install_script:
- pkg install -y git cmake p5-App-cpanminus gdb pkgconf
- sudo cpanm --notest Test2::V0
update_git_script:
- git submodule update --recursive --init
script:
- git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git
- cd openssl
- ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} -Wl,-rpath=${PREFIX}/lib && make all install_sw > build.log 2>&1 || (cat build.log && exit 1)
- cd ..
- mkdir build
- cd build
- cmake -DOPENSSL_ROOT_DIR=${PREFIX} -DOPENSSL_ENGINES_DIR=${PREFIX}/engines ..
- make
- make test CTEST_OUTPUT_ON_FAILURE=1
|