diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ea8a44ef..fe0c0de69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,6 +111,16 @@ jobs: debug: debug hup: no_hup module_type: dynamic + # MacOS + dynamic ngx_wasm_module + - os: macos-latest + cc: clang + openresty: 1.21.4.1 + runtime: wasmtime + wasmtime: 8.0.1 + debug: debug + hup: no_hup + ssl: ssl + module_type: dynamic uses: ./.github/workflows/job-unit-tests.yml with: os: ${{ matrix.os }} diff --git a/.github/workflows/job-unit-tests.yml b/.github/workflows/job-unit-tests.yml index a4457b0f0..7c8378293 100644 --- a/.github/workflows/job-unit-tests.yml +++ b/.github/workflows/job-unit-tests.yml @@ -72,6 +72,9 @@ jobs: - name: 'Setup deps - apt-get' if: ${{ contains(inputs.os, 'ubuntu') }} run: sudo apt-get update && sudo apt-get install -y ${CC} libstdc++-${CC#*-}-dev lcov + - name: 'Setup deps - Homebrew' + if: ${{ contains(inputs.os, 'macos') }} + run: brew install pcre - uses: actions/checkout@v3 - name: 'Setup cache - rustup toolchain' if: ${{ !env.ACT }}