From d6e527c168514cfe32c56fd4789a889949733b9f Mon Sep 17 00:00:00 2001 From: Caio Ramos Casimiro Date: Sun, 10 Dec 2023 17:11:28 -0300 Subject: [PATCH] chore(ci) fixes large CI workflow file 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. --- .github/workflows/ci-large.yml | 244 +++++++++++++++++---------------- 1 file changed, 123 insertions(+), 121 deletions(-) diff --git a/.github/workflows/ci-large.yml b/.github/workflows/ci-large.yml index 0e7801f27..e9eb20b2c 100644 --- a/.github/workflows/ci-large.yml +++ b/.github/workflows/ci-large.yml @@ -1,8 +1,8 @@ name: Large CI on: - #pull_request: - # branches: '**' + pull_request: + branches: '**' schedule: - cron: '0 9 * * *' # 9am UTC, 2am PST workflow_dispatch: @@ -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' @@ -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 }}