SkiaSharp/scripts/azure-templates-wasm-matrix...

27 строки
1.2 KiB
YAML

parameters:
artifactName: '' # the name of the artifact to merge this run into
buildExternals: '' # the build number to download externals from
buildPipelineType: false
vmImage: '' # the VM image
emscripten: [ ]
jobs:
- ${{ each version in parameters.emscripten }}:
- template: azure-templates-bootstrapper.yml
parameters:
name: native_wasm_${{ replace(version, '.', '_') }}_linux
displayName: WASM (${{ version }})
buildExternals: ${{ parameters.buildExternals }}
buildPipelineType: ${{ parameters.buildPipelineType }}
vmImage: ${{ parameters.vmImage }}
docker: scripts/Docker/wasm
target: externals-wasm
dockerArgs: --build-arg EMSCRIPTEN_VERSION=${{ version }}
additionalArgs: --emscriptenVersion=${{ version }}
artifactName: ${{ parameters.artifactName }}
postBuildSteps:
- task: PublishBuildArtifacts@1
displayName: Publish the native_wasm_linux artifacts
inputs:
artifactName: native_wasm_linux
pathToPublish: 'output'