Add ARM64 Suppot for Travis-Ci

Signed-off-by: odidev <odidev@puresoftware.com>
This commit is contained in:
odidev 2021-01-13 08:33:11 +00:00
parent de3e659ef5
commit 4cc559ee85
1 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,11 @@
sudo: required
dist: xenial
dist: focal
group: edge
virt: vm
arch:
- amd64
- arm64-graviton2
os: linux
@ -106,7 +112,7 @@ install:
script:
- util/mirror-tarballs > build.log 2>&1 || (cat build.log && exit 1)
- cd openresty-*
- cd openresty-1.19.3.1
- ./configure --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)
- sudo make install > build.log 2>&1 || (cat build.log && exit 1)