Merge pull request #196 from mallibone/UpdateMonoWasm

Update mono wasm
This commit is contained in:
Frank A. Krueger 2018-09-06 07:14:22 -07:00 committed by GitHub
commit 86e40fb4cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 2 deletions

View File

@ -16,7 +16,7 @@ namespace Ooui.Wasm.Build.Tasks
{
public class BuildDistTask : Task
{
const string SdkUrl = "https://xamjenkinsartifact.azureedge.net/test-mono-mainline-webassembly/108/highsierra/sdks/wasm/mono-wasm-a14f41ca260.zip";
const string SdkUrl = "https://xamjenkinsartifact.azureedge.net/test-mono-mainline-wasm/916/ubuntu-1804-amd64/sdks/wasm/mono-wasm-f25f9e5f2b5.zip";
const string AssemblyExtension = ".bin";

View File

@ -0,0 +1,9 @@
# Updating the Ooui.Wasm.Build.Task
The build task uses the Web Assembly SDK and the Mono Linker to build a WASM app, which often requires updating these modules. Updating the SDK is done in the `BuildDistTask` file by replacing the string content of the `SdkUrl` field:
```c#
const string SdkUrl = "https://xamjenkinsartifact.azureedge.net/test-mono-mainline-wasm/{BUILDNUMBER}/ubuntu-1804-amd64/sdks/wasm/mono-wasm-{HASHVALUE}.zip";
```
The build outputs from the mono project, i.e. the Web Assembly build artefacts can be found [here](https://jenkins.mono-project.com/job/test-mono-mainline-wasm/). Make sure you do not reference the artifact directly! Instead use the Azure blob storage (used in the sample code above) and replace the `{BUILDNUMBER}` and `{HASHVALUE}` with the new values.

@ -1 +1 @@
Subproject commit d50c2cb368dba2da7b07d0a56d7e545cf18280f1
Subproject commit c85962b3aa514ff23161f0b5a1ef16fa89b9e844