Add basic wasm CI

This commit is contained in:
Jo Shields 2024-02-08 10:28:56 -05:00
parent c69a5e3e87
commit be827c7540
2 changed files with 30 additions and 0 deletions

View file

@ -361,6 +361,34 @@ stages:
targetOS: android
targetArchitecture: x64
- template: ../jobs/vmr-build.yml
parameters:
buildName: Browser_Shortstack
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: wasm
pool:
name: ${{ variables.defaultPoolName }}
demands: ${{ variables.defaultPoolDemandsLinux }}
container: ${{ variables.wasmCrossContainer }}
crossRootFs: '/crossrootfs/x64'
targetOS: browser
targetArchitecture: wasm
- template: ../jobs/vmr-build.yml
parameters:
buildName: Wasi_Shortstack
isBuiltFromVmr: ${{ parameters.isBuiltFromVmr }}
vmrBranch: ${{ variables.VmrBranch }}
architecture: wasm
pool:
name: ${{ variables.defaultPoolName }}
demands: ${{ variables.defaultPoolDemandsLinux }}
container: ${{ variables.wasmCrossContainer }}
crossRootFs: '/crossrootfs/x64'
targetOS: wasi
targetArchitecture: wasm
- template: ../jobs/vmr-build.yml
parameters:
buildName: OSX

View file

@ -28,6 +28,8 @@ variables:
value: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-arm64
- name: androidCrossContainer
value: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-android-amd64
- name: wasmCrossContainer
value: mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-webassembly-20230917141449-2aaa02c
- ${{ if eq(variables['System.TeamProject'], 'public') }}:
- name: defaultPoolName