Repository navigation
89 lines (79 loc) · 2.29 KB
/
Copy pathweb.yml
File metadata and controls
89 lines (79 loc) · 2.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: Web CI Pipeline
on:
push:
branches:
- main
- rel-*
- plugin-ep-webgpu/rel-*
pull_request:
branches:
- main
- rel-*
- plugin-ep-webgpu/rel-*
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.sha }}
cancel-in-progress: true
jobs:
precheck:
runs-on: ubuntu-latest
timeout-minutes: 120
outputs:
commit_sha: ${{ steps.extract_commit.outputs.commit_sha }}
steps:
- name: Checkout code
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
with:
submodules: true
- name: Init and Precheck
uses: ./.github/actions/linux-web-init-and-check
- name: Extract commit SHA
id: extract_commit
run: echo "commit_sha=${{ github.sha }}" >> $GITHUB_OUTPUT
shell: bash
wasm_Debug:
needs: precheck
uses: ./.github/workflows/linux-wasm-ci-build-and-test-workflow.yml
with:
job_name: wasm_Debug
build_config: Debug
extra_build_args: "--enable_wasm_profiling"
build_jsep: true
build_webgpu: true
wasm_Release:
needs: precheck
uses: ./.github/workflows/linux-wasm-ci-build-and-test-workflow.yml
with:
job_name: wasm_Release
build_config: Release
extra_build_args: "--target onnxruntime_webassembly --skip_tests --disable_rtti"
build_jsep: true
build_webgpu: true
wasm_Release_static_library:
needs: precheck
uses: ./.github/workflows/linux-wasm-ci-build-and-test-workflow.yml
with:
job_name: wasm_Release_static_library
build_config: Release
extra_build_args: "--skip_tests --disable_rtti --build_wasm_static_lib"
use_vcpkg: false
enable_wasm_threads: false
skip_publish: true
web_Debug:
needs:
- precheck
- wasm_Debug
uses: ./.github/workflows/windows-web-ci-workflow.yml
with:
job_name: web_Debug
commit_override: ${{ needs.precheck.outputs.commit_sha }}
build_config: Debug
web_Release:
needs:
- precheck
- wasm_Release
uses: ./.github/workflows/windows-web-ci-workflow.yml
with:
job_name: web_Release
commit_override: ${{ needs.precheck.outputs.commit_sha }}
build_config: Release