1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-10 21:48:10 -05:00

travis: add ppc64le and s390x builds

Closes #5752
This commit is contained in:
Daniel Stenberg 2020-07-31 19:50:23 +02:00
parent 633c9478c9
commit daab7b2be7
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 52 additions and 14 deletions

View File

@ -155,7 +155,7 @@ jobs:
- libbrotli-dev - libbrotli-dev
- libzstd-dev - libzstd-dev
- env: - env:
- T=debug-mesalink C="--with-mesalink --without-ssl" - T=debug-mesalink C="--with-mesalink --without-ssl" MESALINK=yes
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8" - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
addons: addons:
apt: apt:
@ -349,6 +349,42 @@ jobs:
- pkg-config - pkg-config
- zlib1g-dev - zlib1g-dev
- env:
- T=debug C="--enable-alt-svc"
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
arch: ppc64le
addons:
apt:
<<: *common_apt
packages:
- *common_packages
- libpsl-dev
- libbrotli-dev
- libzstd-dev
- libev-dev
- libssl-dev
- libtool
- pkg-config
- zlib1g-dev
- env:
- T=debug C="--enable-alt-svc"
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
arch: s390x
addons:
apt:
<<: *common_apt
packages:
- *common_packages
- libpsl-dev
- libbrotli-dev
- libzstd-dev
- libev-dev
- libssl-dev
- libtool
- pkg-config
- zlib1g-dev
before_install: before_install:
- export "${OVERRIDE_CC-blank=}" - export "${OVERRIDE_CC-blank=}"
- export "${OVERRIDE_CXX-blank=}" - export "${OVERRIDE_CXX-blank=}"

View File

@ -119,6 +119,7 @@ if [ $TRAVIS_OS_NAME = linux ]; then
cd $HOME/wolfssl-4.4.0-stable cd $HOME/wolfssl-4.4.0-stable
sudo make install sudo make install
if [ "$MESALINK" = "yes" ]; then
if [ ! -e $HOME/mesalink-1.0.0/Makefile ]; then if [ ! -e $HOME/mesalink-1.0.0/Makefile ]; then
cd $HOME cd $HOME
curl https://sh.rustup.rs -sSf | sh -s -- -y curl https://sh.rustup.rs -sSf | sh -s -- -y
@ -130,10 +131,11 @@ if [ $TRAVIS_OS_NAME = linux ]; then
./configure --enable-tls13 ./configure --enable-tls13
make make
fi fi
cd $HOME/mesalink-1.0.0 cd $HOME/mesalink-1.0.0
sudo make install sudo make install
fi
if [ ! -e $HOME/nghttp2-1.39.2/Makefile ]; then if [ ! -e $HOME/nghttp2-1.39.2/Makefile ]; then
cd $HOME cd $HOME
curl -LO https://github.com/nghttp2/nghttp2/releases/download/v1.39.2/nghttp2-1.39.2.tar.gz curl -LO https://github.com/nghttp2/nghttp2/releases/download/v1.39.2/nghttp2-1.39.2.tar.gz