]> wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - .travis.yml
travis-ci: Fix build on 'OpenSSL_1_1_1-stable'
[openssl-gost/engine.git] / .travis.yml
index 09de8d978b48020e6c2ddfe408b993b647be2bf7..e3eb43caa77de8a3c3550f89e60d6f5fe277cf7e 100644 (file)
@@ -18,6 +18,10 @@ matrix:
     - name: linux/clang/x86_64/openssl-master
       os: linux
       compiler: clang
+    - name: linux/gcc/i386/openssl-master
+      os: linux
+      compiler: gcc
+      env: CFLAGS=-m32 LDFLAGS=-m32 SETARCH="setarch i386" APT_INSTALL=gcc-multilib
     - name: linux/gcc/x86_64/openssl-1.1.1
       os: linux
       compiler: gcc
@@ -45,6 +49,10 @@ matrix:
       os: linux
       arch: arm64
       compiler: gcc
+    - name: linux/gcc/s390x/openssl-master
+      os: linux
+      arch: s390x
+      compiler: gcc
     - name: osx/clang/x86_64/openssl-master
       os: osx
       compiler: clang
@@ -52,10 +60,14 @@ 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)
+  - if [ "$APT_INSTALL" ]; then sudo apt-get install -y $APT_INSTALL; fi
   - git clone --depth 1 -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git
   - cd openssl
   - git describe --always --long
-  - ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} -Wl,-rpath=${PREFIX}/lib && travis_wait make -s -j$(nproc) all && make -s install_sw
+  - $SETARCH ./config shared -d --prefix=${PREFIX} --openssldir=${PREFIX} -Wl,-rpath=${PREFIX}/lib
+  - travis_wait $SETARCH make -s -j$(nproc) build_libs
+  - travis_wait $SETARCH make -s -j$(nproc) build_programs
+  - make -s install_sw
   - cd ..
 
 script: