From: Ilya Shipitsin Date: Mon, 29 Apr 2019 22:06:42 +0000 (+0500) Subject: initial cirrus-ci support X-Git-Tag: v3.0.0~290^2 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F136%2Fhead;p=openssl-gost%2Fengine.git initial cirrus-ci support --- 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