diff --git a/Ooui.Wasm.Build.Tasks/BuildDistTask.cs b/Ooui.Wasm.Build.Tasks/BuildDistTask.cs index 3cc2ec0..871802c 100644 --- a/Ooui.Wasm.Build.Tasks/BuildDistTask.cs +++ b/Ooui.Wasm.Build.Tasks/BuildDistTask.cs @@ -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"; diff --git a/Ooui.Wasm.Build.Tasks/README.md b/Ooui.Wasm.Build.Tasks/README.md new file mode 100644 index 0000000..095d87c --- /dev/null +++ b/Ooui.Wasm.Build.Tasks/README.md @@ -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. diff --git a/Ooui.Wasm.Build.Tasks/linker b/Ooui.Wasm.Build.Tasks/linker index d50c2cb..c85962b 160000 --- a/Ooui.Wasm.Build.Tasks/linker +++ b/Ooui.Wasm.Build.Tasks/linker @@ -1 +1 @@ -Subproject commit d50c2cb368dba2da7b07d0a56d7e545cf18280f1 +Subproject commit c85962b3aa514ff23161f0b5a1ef16fa89b9e844