release 1.6.2: fix port detection with NGINX >= 1.27.0 #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Archs | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
name: ${{ matrix.arch }} | |
strategy: | |
matrix: | |
include: | |
#test/check_cache.c:74:F:core:test_cache_redis:0: Assertion 'value == ((void *)0)' failed: value == 0x4006a290, ((void *)0) == 0 | |
#test/check_nginx.c:106:E:core:test_request_context:0: (after this point) Received signal 11 (Segmentation fault) | |
#test/check_nginx.c:118:E:core:test_nginx_http_response_set:0: (after this point) Received signal 11 (Segmentation fault) | |
# - arch: armv7 | |
# distro: ubuntu22.04 | |
- arch: aarch64 | |
distro: ubuntu22.04 | |
- arch: ppc64le | |
distro: ubuntu22.04 | |
- arch: s390x | |
distro: ubuntu22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: uraimo/run-on-arch-action@v2 | |
name: Build | |
id: build | |
with: | |
arch: ${{ matrix.arch }} | |
distro: ${{ matrix.distro }} | |
install: | | |
apt-get update -y | |
apt-get install -y apache2-dev libcjose-dev libssl-dev check pkg-config wget | |
apt-get install -y libjansson-dev libcurl4-openssl-dev libhiredis-dev libmemcached-dev redis-server memcached libpcre2-dev libpcre2-8-0 | |
apt-get install -y build-essential libpcre3 libpcre3-dev zlib1g zlib1g-dev libxml2 libxml2-dev uuid-dev | |
cd /tmp | |
wget --no-check-certificate https://nginx.org/download/nginx-1.18.0.tar.gz | |
tar zxvf nginx-1.18.0.tar.gz | |
ln -s nginx-1.18.0 nginx | |
cd /tmp/nginx && ./configure --with-debug | |
run: | | |
./autogen.sh | |
./configure --with-nginx=/tmp/nginx | |
service memcached start && service redis-server start && make check || (cat test-suite.log && exit -1) |