mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 23:27:04 +02:00
CI: travis-ci: switch arm64 builds to use openssl from distro
there are ongoing arm64 failures in travis-ci. we suspect that build stucks on scripts/build-ssl.sh which is called during build. let us try to use openssl from ubuntu distro and not build it ourselves. to achive that we add "install" section without build-ssl.sh
This commit is contained in:
parent
2f14aeb0cc
commit
5eb5e253e6
13
.travis.yml
13
.travis.yml
@ -44,14 +44,15 @@ matrix:
|
|||||||
compiler: clang
|
compiler: clang
|
||||||
env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1f CC=clang-9
|
env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1f CC=clang-9
|
||||||
- os: linux
|
- os: linux
|
||||||
|
# The ARM64 build uses openssl and libssl-dev from Ubuntu repository. They come preinstalled by TravisCI!
|
||||||
arch: arm64
|
arch: arm64
|
||||||
if: type == push
|
if: type == push
|
||||||
compiler: clang
|
compiler: clang
|
||||||
env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1f CC=clang-9
|
env: TARGET=linux-glibc OPENSSL_VERSION=1.1.1f CC=clang-9 SSL_LIB=/usr/lib SSL_INC=/usr/include
|
||||||
addons:
|
install:
|
||||||
apt:
|
- git clone https://github.com/VTest/VTest.git ../vtest
|
||||||
update: true
|
# Special flags due to: https://github.com/vtest/VTest/issues/12
|
||||||
packages: [ liblua5.3-dev, libsystemd-dev, clang-9, socat ]
|
- make -C ../vtest FLAGS="-O2 -s -Wall"
|
||||||
- os: linux
|
- os: linux
|
||||||
arch: s390x
|
arch: s390x
|
||||||
if: type == push
|
if: type == push
|
||||||
@ -113,7 +114,7 @@ install:
|
|||||||
- git clone https://github.com/VTest/VTest.git ../vtest
|
- git clone https://github.com/VTest/VTest.git ../vtest
|
||||||
# Special flags due to: https://github.com/vtest/VTest/issues/12
|
# Special flags due to: https://github.com/vtest/VTest/issues/12
|
||||||
- make -C ../vtest FLAGS="-O2 -s -Wall"
|
- make -C ../vtest FLAGS="-O2 -s -Wall"
|
||||||
- travis_wait 60 bash -c 'scripts/build-ssl.sh >build-ssl.log 2>&1' || (cat build-ssl.log && exit 1)
|
- travis_wait bash -c 'scripts/build-ssl.sh >build-ssl.log 2>&1' || (cat build-ssl.log && exit 1)
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [ "${CC%-*}" = "clang" ]; then export FLAGS="$FLAGS USE_OBSOLETE_LINKER=1" DEBUG_CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address"; fi
|
- if [ "${CC%-*}" = "clang" ]; then export FLAGS="$FLAGS USE_OBSOLETE_LINKER=1" DEBUG_CFLAGS="-g -fsanitize=address" LDFLAGS="-fsanitize=address"; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user