mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-13 18:08:13 +00:00
* skip browserstack test at release pipeline * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * pool name as a parameter to run at lotus * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * Update web-ci-pipeline.yml for Azure Pipelines * create a packaging pipeline for web * Update web-packaging-pipeline.yml for Azure Pipelines * make web-ci-pipeline as a template * make web-ci-pipeline as a template * make web-ci-pipeline as a template * make web-ci-pipeline as a template * change a paramter name checking a pipeline * make a pool name changable for react native pipeline * disable code sign validation for react native * fix react native package.json publish * fix indentation * remove unnecessary comment * test onnxruntime-common package publish * ts and js files use lf as eol for windows * use Linux style of ending line break * change newLine at only tsconfig.json * restore a commented code * fix git restore directory for npm packaging * fix a typo * force eol to lf on windows for js directory in CI
92 lines
2.4 KiB
YAML
92 lines
2.4 KiB
YAML
parameters:
|
|
- name: NpmPackagingMode
|
|
displayName: 'NPM packages publish configuration'
|
|
type: string
|
|
default: 'dev'
|
|
- name: IsReleasePipeline
|
|
displayName: 'Npm packaging pipeline'
|
|
type: boolean
|
|
default: false
|
|
- name: PoolName
|
|
displayName: 'Agent pool name'
|
|
type: string
|
|
default: 'Win-CPU-2019'
|
|
|
|
stages:
|
|
- stage: Extract_commit
|
|
jobs:
|
|
- job: Extract_commit
|
|
pool: ${{ parameters.PoolName }}
|
|
variables:
|
|
runCodesignValidationInjection: false
|
|
timeoutInMinutes: 30
|
|
workspace:
|
|
clean: all
|
|
steps:
|
|
- checkout: none
|
|
fetchDepth: 1
|
|
submodules: false
|
|
- script: |
|
|
echo.$(Build.SourceVersion)
|
|
echo.$(Build.SourceVersion)>$(Build.ArtifactStagingDirectory)\__commit.txt
|
|
- task: PublishPipelineArtifact@0
|
|
displayName: 'Publish Pipeline Artifact'
|
|
inputs:
|
|
artifactName: '__commit'
|
|
targetPath: '$(Build.ArtifactStagingDirectory)'
|
|
|
|
- stage: Build_wasm_Debug
|
|
dependsOn: Extract_commit
|
|
jobs:
|
|
- template: win-wasm-ci.yml
|
|
parameters:
|
|
CommitOverride: true
|
|
BuildConfig: 'Debug'
|
|
ExtraBuildArgs: '$(ExtraBuildArgs)'
|
|
PoolName: ${{ parameters.PoolName }}
|
|
|
|
- stage: Build_web_Debug
|
|
dependsOn: Build_wasm_Debug
|
|
jobs:
|
|
- template: win-web-ci.yml
|
|
parameters:
|
|
CommitOverride: true
|
|
BuildConfig: 'Debug'
|
|
NpmPackagingMode: ${{ parameters.NpmPackagingMode }}
|
|
PoolName: ${{ parameters.PoolName }}
|
|
|
|
- stage: Build_wasm_Release
|
|
dependsOn: Extract_commit
|
|
jobs:
|
|
- template: win-wasm-ci.yml
|
|
parameters:
|
|
CommitOverride: true
|
|
BuildConfig: 'Release'
|
|
ExtraBuildArgs: '--skip_tests --disable_wasm_exception_catching --disable_rtti $(ExtraBuildArgs)'
|
|
PoolName: ${{ parameters.PoolName }}
|
|
|
|
- stage: Build_web_Release
|
|
dependsOn: Build_wasm_Release
|
|
jobs:
|
|
- template: win-web-ci.yml
|
|
parameters:
|
|
CommitOverride: true
|
|
BuildConfig: 'Release'
|
|
NpmPackagingMode: ${{ parameters.NpmPackagingMode }}
|
|
PoolName: ${{ parameters.PoolName }}
|
|
|
|
- ${{ if ne(parameters.IsReleasePipeline, 'true') }}:
|
|
- stage: Test_web_BrowserStack
|
|
dependsOn: Build_wasm_Release
|
|
jobs:
|
|
- template: web-browserstack-ci.yml
|
|
parameters:
|
|
CommitOverride: true
|
|
|
|
- ${{ if ne(parameters.IsReleasePipeline, 'true') }}:
|
|
- stage: Test_web_MultiBrowsers
|
|
dependsOn: Build_wasm_Release
|
|
jobs:
|
|
- template: win-web-multi-browsers.yml
|
|
parameters:
|
|
CommitOverride: true
|