Skip to content

Commit

Permalink
chore(ci) runs tests for NGX_BUILD_DYNAMIC_MODULE=1
Browse files Browse the repository at this point in the history
  • Loading branch information
casimiro committed Jun 22, 2023
1 parent 76ff2fb commit ed5bce3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
os: [ubuntu-latest]
cc: [gcc-9]
ngx: [1.25.0]
as_module: [""]
include:
# Wasmtime
- runtime: wasmtime
Expand Down Expand Up @@ -85,6 +86,17 @@ jobs:
os: ubuntu-latest
cc: gcc-9
ngx: 1.25.0
# OpenResty + WasmX as module
- label: openresty_wasmx_module
openresty: 1.21.4.1
runtime: wasmtime
wasmtime: 8.0.1
debug: debug
hup: no_hup
ssl: ssl
os: ubuntu-latest
cc: gcc-9
as_module: true
steps:
- name: 'Setup deps - apt-get'
if: ${{ matrix.cc == 'gcc-9' }}
Expand Down Expand Up @@ -127,9 +139,11 @@ jobs:
NGX_BUILD_SSL: ${{ matrix.ssl == 'ssl' && 1 || 0 }}
NGX_BUILD_DEBUG: ${{ matrix.debug == 'debug' && 1 || 0 }}
NGX_BUILD_OPENRESTY: ${{ matrix.openresty }}
NGX_BUILD_DYNAMIC_MODULE: ${{ matrix.as_module == 'true' && 1 || 0 }}
- run: make test
env:
TEST_NGINX_USE_HUP: ${{ matrix.hup == 'hup' && 1 || 0 }}
NGX_BUILD_DYNAMIC_MODULE: ${{ matrix.as_module == 'true' && 1 || 0 }}
- name: Run lcov
id: lcov
if: ${{ !env.ACT && matrix.cc == 'gcc-9' }}
Expand Down

0 comments on commit ed5bce3

Please sign in to comment.