From 23e7ef1acbd85a73a6c0fc312acbe5b1930066d6 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Tue, 30 Apr 2019 03:06:42 +0500 Subject: [PATCH] initial cirrus-ci support --- .cirrus.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 0000000..d4bb0b8 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,21 @@ +FreeBSD_task: + freebsd_instance: + image: freebsd-12-0-release-amd64 + env: + ASSUME_ALWAYS_YES: TRUE # required for unattended "pkg" invocation + PREFIX: ${HOME}/opt + LD_LIBRARY_PATH: ${PREFIX}/lib + PATH: ${PREFIX}/bin:${PATH} + OPENSSL_BRANCH: master + script: + - pkg install git cmake p5-App-cpanminus gdb + - sudo cpanm --notest Test2::V0 + - git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git + - cd openssl + - ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} && make all install_sw > build.log 2>&1 || (cat build.log && exit 1) + - cd .. + - mkdir build + - cd build + - cmake -DOPENSSL_ROOT_DIR=${PREFIX} -DOPENSSL_LIBRARIES=${PREFIX}/lib -DOPENSSL_ENGINES_DIR=${PREFIX}/engines .. + - make + - make test CTEST_OUTPUT_ON_FAILURE=1 -- 2.39.5