fix: build with nginx with HTTP/3

This commit is contained in:
Eugene Grebenschikov 2023-06-07 16:45:35 -07:00
parent b64033a480
commit 48ccc85726
2 changed files with 21 additions and 0 deletions

18
.github/workflows/nginx-otel-build.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: nginx-otel-build
run-name: ${{ github.actor }} is triggering pipeline
on: [push]
jobs:
build-and-test-module:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
sudo apt-get update && sudo apt install -y mercurial cmake \
libc-ares-dev libre2-dev libssl-dev zlib1g-dev curl
- run: |
hg clone http://hg.nginx.org/nginx/ && cd nginx && \
auto/configure --with-compat --with-debug --with-http_ssl_module \
--with-http_v2_module --with-http_v3_module && make -j 4
- run: |
mkdir build && cd build && cmake -DNGX_OTEL_NGINX_BUILD_DIR=\
${PWD}/../nginx/objs .. && make -j 4