Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
casimiro committed Sep 20, 2024
1 parent baa2fe0 commit 138fdc8
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 154 deletions.
3 changes: 2 additions & 1 deletion .github/actions/setup-httpbin-server/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ runs:
run: |
sudo apt-get update
sudo apt-get install -y dnsmasq
- name: 'Setup deps - macOS'
if: ${{ contains(inputs.os, 'macos') }}
shell: bash
run: |
brew install dnsmasq docker colima
colima start --network-address --vm-type vz
brew services start colima
- name: Setup Docker image tag
id: setup
shell: bash
Expand Down
312 changes: 159 additions & 153 deletions .github/workflows/ci-large.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,61 +21,67 @@ jobs:
fail-fast: false
matrix:
label: [""]
os: [ubuntu-latest]
cc: [gcc-12]
os: [macos-13]
#os: [ubuntu-latest]
cc: [clang]
#cc: [gcc-12]
ngx: [1.27.1]
runtime: [wasmtime, wasmer, v8]
runtime: [wasmtime]
#runtime: [wasmtime, wasmer, v8]
wasmtime: [23.0.2]
wasmer: [3.1.1]
v8: [12.0.267.17]
ipc: [no_ipc]
ssl: [ssl]
debug: [debug, no_debug]
hup: [hup, no_hup]
module_type: [static, dynamic]
include:
# OpenResty + static ngx_wasmx_module
- label: dynamic_module
os: ubuntu-latest
cc: gcc-12
openresty: 1.25.3.2
runtime: wasmtime
wasmtime: 23.0.2
ipc: no_ipc
ssl: ssl
debug: debug
hup: no_hup
module_type: static
# macOS - Wasmer
- label: macos_wasmer_full
runtime: wasmer
wasmer: 3.1.1
os: macos-13
cc: clang
ngx: 1.27.1
ssl: ssl
debug: debug
hup: no_hup
# macOS - Wasmtime
- label: macos_wasmtime
runtime: wasmtime
wasmtime: 23.0.2
os: macos-13
cc: clang
ngx: 1.27.1
ssl: ssl
debug: debug
hup: hup
# macOS - V8
- label: macos_v8
runtime: v8
v8: 12.0.267.17
os: macos-13
cc: clang
ngx: 1.27.1
ssl: ssl
debug: debug
hup: no_hup
debug: [debug]
hup: [no_hup]
module_type: [dynamic]
#debug: [debug, no_debug]
#hup: [hup, no_hup]
#module_type: [static, dynamic]
#include:
# # OpenResty + static ngx_wasmx_module
# - label: dynamic_module
# os: ubuntu-latest
# cc: gcc-12
# openresty: 1.25.3.2
# runtime: wasmtime
# wasmtime: 23.0.2
# ipc: no_ipc
# ssl: ssl
# debug: debug
# hup: no_hup
# module_type: static
# # macOS - Wasmer
# - label: macos_wasmer_full
# runtime: wasmer
# wasmer: 3.1.1
# os: macos-13
# cc: clang
# ngx: 1.27.1
# ssl: ssl
# debug: debug
# hup: no_hup
# # macOS - Wasmtime
# - label: macos_wasmtime
# runtime: wasmtime
# wasmtime: 23.0.2
# os: macos-13
# cc: clang
# ngx: 1.27.1
# ssl: ssl
# debug: debug
# hup: hup
# # macOS - V8
# - label: macos_v8
# runtime: v8
# v8: 12.0.267.17
# os: macos-13
# cc: clang
# ngx: 1.27.1
# ssl: ssl
# debug: debug
# hup: no_hup
uses: ./.github/workflows/job-unit-tests.yml
with:
os: ${{ matrix.os }}
Expand All @@ -92,107 +98,107 @@ jobs:
hup: ${{ matrix.hup }}
module_type: ${{ matrix.module_type }}

valgrind:
name: 'Valgrind'
#if: ${{ false }}
#timeout-minutes: see job-valgrind-tests.yml
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
cc: [gcc-12]
ngx: [1.27.1]
runtime: [wasmer, wasmtime, v8]
wasmtime: [23.0.2]
wasmer: [3.1.1]
v8: [12.0.267.17]
hup: [hup, no_hup]
debug: [debug]
include:
# OpenResty
- label: openresty
os: ubuntu-22.04
cc: gcc-12
openresty: 1.25.3.2
runtime: wasmer
wasmer: 3.1.1
debug: debug
hup: no_hup
uses: ./.github/workflows/job-valgrind-tests.yml
with:
os: ${{ matrix.os }}
cc: ${{ matrix.cc }}
ngx: ${{ matrix.ngx }}
openresty: ${{ matrix.openresty }}
runtime: ${{ matrix.runtime }}
wasmtime: ${{ matrix.wasmtime }}
wasmer: ${{ matrix.wasmer }}
v8: ${{ matrix.v8 }}
hup: ${{ matrix.hup }}
debug: ${{ matrix.debug }}
secrets: inherit

analyzer:
name: 'Clang analyzer'
#timeout-minutes: see job-clang-analyzer.yml
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
cc: [clang-15]
openresty: [1.25.3.2]
runtime: [wasmtime, wasmer, v8]
wasmtime: [23.0.2]
wasmer: [3.1.1]
v8: [12.0.267.17]
ssl: [no_ssl, ssl]
debug: [debug]
uses: ./.github/workflows/job-clang-analyzer.yml
with:
cc: ${{ matrix.cc }}
ngx: ${{ matrix.ngx }}
openresty: ${{ matrix.openresty }}
runtime: ${{ matrix.runtime }}
wasmtime: ${{ matrix.wasmtime }}
wasmer: ${{ matrix.wasmer }}
v8: ${{ matrix.v8 }}
ssl: ${{ matrix.ssl }}
debug: ${{ matrix.debug }}

build:
name: 'Build'
#if: ${{ false }}
#timeout-minutes: see job-build-tests.yml
strategy:
fail-fast: false
matrix:
label: [""]
os: [ubuntu-latest]
cc: [clang-13, clang-14, gcc-10, gcc-11]
ngx: [1.27.1]
runtime: [wasmtime, wasmer, v8]
wasmtime: [23.0.2]
wasmer: [3.1.1]
v8: [12.0.267.17]
include:
- label: old_nginx
os: ubuntu-latest
cc: clang-15
ngx: 1.21.6
runtime: wasmtime
wasmtime: 23.0.2
- label: old_openresty
os: ubuntu-latest
cc: clang-15
openresty: 1.21.4.2
runtime: wasmtime
wasmtime: 23.0.2
uses: ./.github/workflows/job-build-tests.yml
with:
os: ${{ matrix.os }}
cc: ${{ matrix.cc }}
ngx: ${{ matrix.ngx }}
runtime: ${{ matrix.runtime }}
wasmtime: ${{ matrix.wasmtime }}
wasmer: ${{ matrix.wasmer }}
v8: ${{ matrix.v8 }}
# valgrind:
# name: 'Valgrind'
# #if: ${{ false }}
# #timeout-minutes: see job-valgrind-tests.yml
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-22.04]
# cc: [gcc-12]
# ngx: [1.27.1]
# runtime: [wasmer, wasmtime, v8]
# wasmtime: [23.0.2]
# wasmer: [3.1.1]
# v8: [12.0.267.17]
# hup: [hup, no_hup]
# debug: [debug]
# include:
# # OpenResty
# - label: openresty
# os: ubuntu-22.04
# cc: gcc-12
# openresty: 1.25.3.2
# runtime: wasmer
# wasmer: 3.1.1
# debug: debug
# hup: no_hup
# uses: ./.github/workflows/job-valgrind-tests.yml
# with:
# os: ${{ matrix.os }}
# cc: ${{ matrix.cc }}
# ngx: ${{ matrix.ngx }}
# openresty: ${{ matrix.openresty }}
# runtime: ${{ matrix.runtime }}
# wasmtime: ${{ matrix.wasmtime }}
# wasmer: ${{ matrix.wasmer }}
# v8: ${{ matrix.v8 }}
# hup: ${{ matrix.hup }}
# debug: ${{ matrix.debug }}
# secrets: inherit
#
# analyzer:
# name: 'Clang analyzer'
# #timeout-minutes: see job-clang-analyzer.yml
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-latest]
# cc: [clang-15]
# openresty: [1.25.3.2]
# runtime: [wasmtime, wasmer, v8]
# wasmtime: [23.0.2]
# wasmer: [3.1.1]
# v8: [12.0.267.17]
# ssl: [no_ssl, ssl]
# debug: [debug]
# uses: ./.github/workflows/job-clang-analyzer.yml
# with:
# cc: ${{ matrix.cc }}
# ngx: ${{ matrix.ngx }}
# openresty: ${{ matrix.openresty }}
# runtime: ${{ matrix.runtime }}
# wasmtime: ${{ matrix.wasmtime }}
# wasmer: ${{ matrix.wasmer }}
# v8: ${{ matrix.v8 }}
# ssl: ${{ matrix.ssl }}
# debug: ${{ matrix.debug }}
#
# build:
# name: 'Build'
# #if: ${{ false }}
# #timeout-minutes: see job-build-tests.yml
# strategy:
# fail-fast: false
# matrix:
# label: [""]
# os: [ubuntu-latest]
# cc: [clang-13, clang-14, gcc-10, gcc-11]
# ngx: [1.27.1]
# runtime: [wasmtime, wasmer, v8]
# wasmtime: [23.0.2]
# wasmer: [3.1.1]
# v8: [12.0.267.17]
# include:
# - label: old_nginx
# os: ubuntu-latest
# cc: clang-15
# ngx: 1.21.6
# runtime: wasmtime
# wasmtime: 23.0.2
# - label: old_openresty
# os: ubuntu-latest
# cc: clang-15
# openresty: 1.21.4.2
# runtime: wasmtime
# wasmtime: 23.0.2
# uses: ./.github/workflows/job-build-tests.yml
# with:
# os: ${{ matrix.os }}
# cc: ${{ matrix.cc }}
# ngx: ${{ matrix.ngx }}
# runtime: ${{ matrix.runtime }}
# wasmtime: ${{ matrix.wasmtime }}
# wasmer: ${{ matrix.wasmer }}
# v8: ${{ matrix.v8 }}

0 comments on commit 138fdc8

Please sign in to comment.