2021-01-27 07:07:39 +03:00
|
|
|
parameters:
|
2021-08-09 00:28:10 +03:00
|
|
|
artifactName: '' # the name of the artifact to merge this run into
|
2021-11-13 08:59:12 +03:00
|
|
|
buildExternals: '' # the build number to download externals from
|
2022-03-03 15:09:35 +03:00
|
|
|
isBuildPipeline: false
|
2022-02-08 20:30:09 +03:00
|
|
|
vmImage: '' # the VM image
|
2021-01-27 07:07:39 +03:00
|
|
|
emscripten: [ ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
- ${{ each version in parameters.emscripten }}:
|
|
|
|
- template: azure-templates-bootstrapper.yml
|
|
|
|
parameters:
|
|
|
|
name: native_wasm_${{ replace(version, '.', '_') }}_linux
|
|
|
|
displayName: WASM (${{ version }})
|
2021-11-13 08:59:12 +03:00
|
|
|
buildExternals: ${{ parameters.buildExternals }}
|
2022-03-03 15:09:35 +03:00
|
|
|
isBuildPipeline: ${{ parameters.isBuildPipeline }}
|
2022-02-08 20:30:09 +03:00
|
|
|
vmImage: ${{ parameters.vmImage }}
|
2021-01-27 07:07:39 +03:00
|
|
|
docker: scripts/Docker/wasm
|
|
|
|
target: externals-wasm
|
|
|
|
dockerArgs: --build-arg EMSCRIPTEN_VERSION=${{ version }}
|
|
|
|
additionalArgs: --emscriptenVersion=${{ version }}
|
2021-08-09 00:28:10 +03:00
|
|
|
artifactName: ${{ parameters.artifactName }}
|
2021-01-27 07:07:39 +03:00
|
|
|
postBuildSteps:
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
displayName: Publish the native_wasm_linux artifacts
|
|
|
|
inputs:
|
|
|
|
artifactName: native_wasm_linux
|
|
|
|
pathToPublish: 'output'
|