@ -38,30 +38,30 @@ cache:
env :
env :
global :
global :
- JOBS = 3
- JOBS = 3
- PCRE_VER = 8.45
- PCRE_VER = 10.44
- PCRE_PREFIX = / opt / pcre
- PCRE_PREFIX = / opt / pcre 2
- PCRE_LIB = $ PCRE_PREFIX / lib
- PCRE_LIB = $ PCRE_PREFIX / lib
- PCRE_INC = $ PCRE_PREFIX / include
- PCRE_INC = $ PCRE_PREFIX / include
- OPENSSL_PREFIX = / opt / ssl
- OPENSSL_PREFIX = / opt / ssl 3
- OPENSSL_LIB = $ OPENSSL_PREFIX / lib
- OPENSSL_LIB = $ OPENSSL_PREFIX / lib
- OPENSSL_INC = $ OPENSSL_PREFIX / include
- OPENSSL_INC = $ OPENSSL_PREFIX / include
- OPENRESTY_PREFIX = / opt / openresty
- OPENRESTY_PREFIX = / opt / openresty
jobs :
jobs :
- OPENSSL_VER = 1.1.1 w OPENSSL_PATCH_VER = 1.1 .1f ENABLE_HTTP3_OPTION = - - with - http_v3_module
- OPENSSL_VER = 3.0.15 OPENSSL_PATCH_VER = 3.0 .15
install :
install :
- cpanm - - sudo - - notest Test : : Nginx IPC : : Run3 > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
- cpanm - - sudo - - notest Test : : Nginx IPC : : Run3 > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
- |
- |
if [ " $TRAVIS_CPU_ARCH " ! = " s390x " ] ; then
if [ " $TRAVIS_CPU_ARCH " ! = " s390x " ] ; then
if [ ! - f download - cache / pcre - $ PCRE_VER . tar . gz ] ; then wget - P download - cache https : // downloads.sourceforge.net/project/pcre/pcre/${PCRE_VER}/pcre -${PCRE_VER}.tar.gz; fi
if [ ! - f download - cache / pcre 2 - $ PCRE_VER . tar . gz ] ; then wget - P download - cache https : // github.com/PCRE2Project/pcre2/releases/download/pcre2-${PCRE_VER}/pcre2 -${PCRE_VER}.tar.gz; fi
tar zxf download - cache / pcre - $ PCRE_VER . tar . gz
tar zxf download - cache / pcre 2 - $ PCRE_VER . tar . gz
cd pcre - $ PCRE_VER /
cd pcre 2 - $ PCRE_VER /
. / configure - - prefix = $ PCRE_PREFIX - - enable - jit - - enable - utf - - enable - unicode - properties > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
. / configure - - prefix = $ PCRE_PREFIX - - enable - jit - - enable - utf - - enable - unicode - properties > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
make - j $ JOBS > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
make - j $ JOBS > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
sudo PATH = $ PATH make install > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
sudo PATH = $ PATH make install > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
cd . .
cd . .
fi
fi
- if [ ! - f download - cache / openssl - $ OPENSSL_VER . tar . gz ] ; then wget - P download - cache https : // www.openssl.org/source/openssl-$OPENSSL_VER.tar.gz || wget -P download-cache https://www.openssl.org/source/old/${OPENSSL_VER//[a-z]/}/openssl-$OPENSSL_VER .tar.gz; fi
- if [ ! - f download - cache / openssl - $ OPENSSL_VER . tar . gz ] ; then wget - P download - cache https : // github.com/openssl/openssl/releases/download/openssl-${OPENSSL_VER}/openssl-${OPENSSL_VER} .tar.gz; fi
- tar zxf download - cache / openssl - $ OPENSSL_VER . tar . gz
- tar zxf download - cache / openssl - $ OPENSSL_VER . tar . gz
- cd openssl - $ OPENSSL_VER /
- cd openssl - $ OPENSSL_VER /
- patch - p1 < . . / patches / openssl - $ OPENSSL_PATCH_VER - sess_set_get_cb_yield . patch
- patch - p1 < . . / patches / openssl - $ OPENSSL_PATCH_VER - sess_set_get_cb_yield . patch
@ -74,7 +74,7 @@ install:
script :
script :
- util / mirror - tarballs > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
- util / mirror - tarballs > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
- cd " openresty-$(./util/ver) "
- cd " openresty-$(./util/ver) "
- . / configure $ ENABLE_HTTP3_OPTION - - prefix = $ OPENRESTY_PREFIX - - with - cc - opt = " -I$PCRE_INC -I$OPENSSL_INC " - - with - ld - opt = " -L$PCRE_LIB -L$OPENSSL_LIB -Wl,-rpath,$PCRE_LIB:$OPENSSL_LIB " - - with - pcre - jit - - with - http_ssl_module - - with - debug - j $ JOBS > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
- . / configure - - with - http_v3_module - - prefix = $ OPENRESTY_PREFIX - - with - cc - opt = " -I$PCRE_INC -I$OPENSSL_INC " - - with - ld - opt = " -L$PCRE_LIB -L$OPENSSL_LIB -Wl,-rpath,$PCRE_LIB:$OPENSSL_LIB " - - with - pcre - jit - - with - http_ssl_module - - with - debug - j $ JOBS > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
- make - j $ JOBS > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
- make - j $ JOBS > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
- sudo make install > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
- sudo make install > build . log 2 > & 1 | | ( cat build . log & & exit 1 )
- cd . .
- cd . .