1. 19 2月, 2022 2 次提交
    • M
      0293fa76
    • A
      [wasm] Rationalize wasm jobs run on CI (#65035) · 463bd758
      Ankit Jain 提交于
      * Rationalize wasm jobs run on CI
      
      Essentially:
      - For rolling builds, we want to run all the wasm jobs, unconditionally
         - And `runtime-extra-platforms` runs the tests that were not in `runtime`, and `runtime-staging`
      - For PRs, we use the various path checks
      
      Changes:
      - split wasm jobs into various templates
      - combine, and simplify some jobs
      
      * `runtime-extra-platforms`, and `runtime-wasm` run only when manually
        triggered with a comment - `/azp run <pipeline-name>`
      * `runtime`, and `runtime-staging`, run jobs only when relevant paths
        change. And for `EAT`, and `AOT`, only smoke tests are run.
      * And when `runtime-wasm` is triggered manually, it runs *all* the wasm
        jobs completely
      
      | .                 | runtime               | runtime-staging         | runtime-extra-platforms(manual only) | runtime-wasm (manual only) |
      | ----------------- | --------------------  | ---------------         | ------------------------------------ | -------                    |
      | libtests          | linux: all,   only-pc | windows: all,   only-pc | linux+windows: all, only-pc          | linux+windows: all, always |
      | libtests eat      | linux: smoke, only-pc | -                       | linux:         all, only-pc          | linux:         all, always |
      | libtests aot      | linux: smoke, only-pc | windows: smoke, only-pc | linux+windows: all, only-pc          | linux+windows: all, always |
      |                   |                       |                         |                                      |                            |
      | Wasm.Build.Tests  | linux:        only-pc | windows:        only-pc | linux+windows: only-pc               | linux+windows              |
      | Debugger tests    | -                     | linux+windows:  only-pc | linux+windows: only-pc               | linux+windows              |
      | Runtime tests     | linux:        only-pc | -                       | linux: only-pc                       | linux                      |
      
      * `runtime`, and `runtime-staging`, run all the wasm jobs unconditionally, but `EAT`, and `AOT` still run only smoke tests.
      * `runtime-extra-platforms` also runs by default. And it runs only the cases not covered by the above two pipelines.
      
      * jobs w/o `only-pc` are always run
      
      | .                 | runtime                   | runtime-staging       | runtime-extra-platforms (always run) | runtime-wasm (manual only) |
      | ----------------- | -------------             | ---------------       | ------------------------------------ | ------                     |
      | libtests          | linux: all(v8/chr/node)   | windows: all          | linux+windows: all with node         | N/A                        |
      | libtests eat      | linux: smoke              | -                     | linux: all                           |                            |
      | libtests aot      | linux: smoke              | windows: smoke        | linux+windows: all                   |                            |
      |                   |                           |                       |                                      |                            |
      | Wasm.Build.Tests  | linux: always             | windows: always       | none                                 |                            |
      | Debugger tests    | -                         | linux+windows: always | none                                 |                            |
      | Runtime tests     | linux: always             | -                     | none                                 |                            |
      
      * [wasm] Run tests with node only on runtime-wasm
      463bd758
  2. 18 2月, 2022 26 次提交
  3. 17 2月, 2022 12 次提交