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 build_webgpu_static_plugin: 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