Skip to content

Commit

Permalink
chore(ci) fixes large CI workflow file
Browse files Browse the repository at this point in the history
Although the workflow has been successfully testing all supported
builds, it has been failing due to a single-entry bracket-list that
Github seems particularly sensitive about.
  • Loading branch information
casimiro committed Dec 10, 2023
1 parent b9037ac commit d6e527c
Showing 1 changed file with 123 additions and 121 deletions.
244 changes: 123 additions & 121 deletions .github/workflows/ci-large.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Large CI

on:
#pull_request:
# branches: '**'
pull_request:
branches: '**'
schedule:
- cron: '0 9 * * *' # 9am UTC, 2am PST
workflow_dispatch:
Expand All @@ -12,116 +12,116 @@ defaults:
shell: bash

jobs:
unit-large:
name: 'Unit'
#if: ${{ false }}
secrets: inherit
strategy:
fail-fast: false
matrix:
label: [""]
os: [ubuntu-latest]
#os: [ubuntu-latest, macos-latest]
cc: [gcc-12]
ngx: [1.25.3]
runtime: [wasmtime, wasmer, v8]
wasmtime: [14.0.3]
wasmer: [3.1.1]
v8: [11.4.183.23]
debug: [debug, no_debug]
hup: [hup, no_hup]
module_type: [static, dynamic]
include:
# OpenResty + static ngx_wasm_module
- label: dynamic_module
os: ubuntu-latest
cc: gcc-12
openresty: 1.21.4.2
runtime: wasmtime
wasmtime: 14.0.3
debug: debug
hup: no_hup
ssl: ssl
module_type: static
uses: ./.github/workflows/job-unit-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 }}
ssl: ${{ matrix.ssl }}
debug: ${{ matrix.debug }}
hup: ${{ matrix.hup }}
module_type: ${{ matrix.module_type }}

valgrind-large:
name: 'Valgrind'
#if: ${{ false }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
cc: [gcc-12]
ngx: [1.25.3]
runtime: [wasmer, wasmtime, v8]
wasmtime: [14.0.3]
wasmer: [3.1.1]
v8: [11.4.183.23]
hup: [hup, no_hup]
debug: [debug]
include:
# OpenResty
- label: openresty
os: ubuntu-22.04
cc: gcc-12
openresty: 1.21.4.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-large:
name: 'Clang analyzer'
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
cc: [clang-15]
openresty: [1.21.4.2]
runtime: [wasmtime, wasmer, v8]
wasmtime: [14.0.3]
wasmer: [3.1.1]
v8: [11.4.183.23]
ssl: [no_ssl, ssl]
debug: [debug, no_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 }}
# unit-large:
# name: 'Unit'
# #if: ${{ false }}
# secrets: inherit
# strategy:
# fail-fast: false
# matrix:
# label: [""]
# os: [ubuntu-latest]
# #os: [ubuntu-latest, macos-latest]
# cc: [gcc-12]
# ngx: [1.25.3]
# runtime: [wasmtime, wasmer, v8]
# wasmtime: [14.0.3]
# wasmer: [3.1.1]
# v8: [11.4.183.23]
# debug: [debug, no_debug]
# hup: [hup, no_hup]
# module_type: [static, dynamic]
# include:
# # OpenResty + static ngx_wasm_module
# - label: dynamic_module
# os: ubuntu-latest
# cc: gcc-12
# openresty: 1.21.4.2
# runtime: wasmtime
# wasmtime: 14.0.3
# debug: debug
# hup: no_hup
# ssl: ssl
# module_type: static
# uses: ./.github/workflows/job-unit-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 }}
# ssl: ${{ matrix.ssl }}
# debug: ${{ matrix.debug }}
# hup: ${{ matrix.hup }}
# module_type: ${{ matrix.module_type }}
#
# valgrind-large:
# name: 'Valgrind'
# #if: ${{ false }}
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-22.04]
# cc: [gcc-12]
# ngx: [1.25.3]
# runtime: [wasmer, wasmtime, v8]
# wasmtime: [14.0.3]
# wasmer: [3.1.1]
# v8: [11.4.183.23]
# hup: [hup, no_hup]
# debug: [debug]
# include:
# # OpenResty
# - label: openresty
# os: ubuntu-22.04
# cc: gcc-12
# openresty: 1.21.4.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-large:
# name: 'Clang analyzer'
# strategy:
# fail-fast: false
# matrix:
# os: [ubuntu-latest]
# cc: [clang-15]
# openresty: [1.21.4.2]
# runtime: [wasmtime, wasmer, v8]
# wasmtime: [14.0.3]
# wasmer: [3.1.1]
# v8: [11.4.183.23]
# ssl: [no_ssl, ssl]
# debug: [debug, no_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-large:
name: 'Build'
Expand All @@ -131,19 +131,21 @@ jobs:
matrix:
label: [""]
os: [ubuntu-latest]
cc: [clang-13, clang-14, gcc-10, gcc-11]
#cc: [clang-13, clang-14, gcc-10, gcc-11]
cc: [gcc-11]
ngx: [1.25.3]
runtime: [wasmtime, wasmer, v8]
# runtime: [wasmtime, wasmer, v8]
runtime: [wasmtime]
wasmtime: [14.0.3]
wasmer: [3.1.1]
v8: [11.4.183.23]
include:
- label: old_nginx
os: [ubuntu-latest]
cc: clang-15
ngx: 1.21.6
runtime: wasmtime
wasmtime: 14.0.3
#include:
# - label: old_nginx
# os: [ubuntu-latest]
# cc: clang-15
# ngx: 1.21.6
# runtime: wasmtime
# wasmtime: 14.0.3
uses: ./.github/workflows/job-build-tests.yml
with:
os: ${{ matrix.os }}
Expand Down

0 comments on commit d6e527c

Please sign in to comment.