1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 08:38:49 -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,20 +119,22 @@ 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 [ ! -e $HOME/mesalink-1.0.0/Makefile ]; then if [ "$MESALINK" = "yes" ]; then
cd $HOME if [ ! -e $HOME/mesalink-1.0.0/Makefile ]; then
curl https://sh.rustup.rs -sSf | sh -s -- -y cd $HOME
source $HOME/.cargo/env curl https://sh.rustup.rs -sSf | sh -s -- -y
curl -LO https://github.com/mesalock-linux/mesalink/archive/v1.0.0.tar.gz source $HOME/.cargo/env
tar -xzf v1.0.0.tar.gz curl -LO https://github.com/mesalock-linux/mesalink/archive/v1.0.0.tar.gz
cd mesalink-1.0.0 tar -xzf v1.0.0.tar.gz
./autogen.sh cd mesalink-1.0.0
./configure --enable-tls13 ./autogen.sh
make ./configure --enable-tls13
fi make
fi
cd $HOME/mesalink-1.0.0
sudo make install
cd $HOME/mesalink-1.0.0 fi
sudo make install
if [ ! -e $HOME/nghttp2-1.39.2/Makefile ]; then if [ ! -e $HOME/nghttp2-1.39.2/Makefile ]; then
cd $HOME cd $HOME