]> wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - .travis.yml
test/run_tests: extend support for more operating systems
[openssl-gost/engine.git] / .travis.yml
index 47f49b825e0f8c4123a521cf025e7fbab49e98b5..d76951099aae3da302b10c438ed21ffa2ae55138 100644 (file)
@@ -21,6 +21,12 @@ matrix:
   include:
     - os: linux
       compiler: gcc
+    - env: LABEL="linux-ppc64le" CMAKE_VERSION=3.15.1
+      os: linux-ppc64le
+      compiler: gcc
+      install:
+        - wget https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSION}.tar.gz && tar -xzf cmake-${CMAKE_VERSION}.tar.gz
+        - cd cmake-${CMAKE_VERSION} && ./bootstrap && sudo make install && cd ..
     - env: ASAN=-DASAN=1
       os: linux
       compiler: gcc
@@ -29,6 +35,7 @@ matrix:
 
 
 before_script:
+  - curl -L https://cpanmin.us | sudo perl - --sudo App::cpanminus
   - sudo cpanm --notest Test2::V0 > build.log 2>&1 || (cat build.log && exit 1)
   - git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git
   - cd openssl
@@ -42,5 +49,4 @@ script:
   - cd build
   - cmake -DOPENSSL_ROOT_DIR=${PREFIX} -DOPENSSL_LIBRARIES=${PREFIX}/lib -DOPENSSL_ENGINES_DIR=${PREFIX}/engines ${ASAN} ..
   - make
-  - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then cp bin/gost.{dylib,so}; fi # this hack is most probably related to https://github.com/openssl/openssl/issues/727
   - make test CTEST_OUTPUT_ON_FAILURE=1