File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 1313 uses : actions/checkout@v4
1414 - name : Install dependencies
1515 run : |
16- apk add build-base openssl-dev zlib-dev pcre2-dev
16+ apk add build-base openssl-dev zlib-dev pcre2-dev \
17+ cmake git grpc-dev protobuf-dev
1718 - name : Checkout nginx
1819 uses : actions/checkout@v4
1920 with :
2526 auto/configure --with-compat --with-debug --with-http_ssl_module \
2627 --with-http_v2_module --with-http_v3_module
2728 make -j $(nproc)
29+ - name : Build module
30+ working-directory : nginx
31+ run : |
32+ NGX_OTEL_CMAKE_OPTS="-D NGX_OTEL_GRPC=package" \
33+ auto/configure --with-compat --add-dynamic-module=..
34+ make -j $(nproc) modules
35+ - name : Install test dependencies
36+ run : |
37+ python -m venv tests-venv
38+ tests-venv/bin/pip install -r tests/requirements.txt
39+ - name : Run tests
40+ run : |
41+ tests-venv/bin/pytest tests --maxfail=10 --nginx=nginx/objs/nginx \
42+ --module=nginx/objs/ngx_otel_module.so
You can’t perform that action at this time.
0 commit comments