From ed5bce3101931e04fc17d2914f911a689e3e0387 Mon Sep 17 00:00:00 2001 From: Caio Casimiro Date: Thu, 22 Jun 2023 12:12:11 +0100 Subject: [PATCH] chore(ci) runs tests for NGX_BUILD_DYNAMIC_MODULE=1 --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83b8ffb58..2fcba0f20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,7 @@ jobs: os: [ubuntu-latest] cc: [gcc-9] ngx: [1.25.0] + as_module: [""] include: # Wasmtime - runtime: wasmtime @@ -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' }} @@ -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' }}