From 58b32c0c78a2064b1584f0849a7bb75af75569f5 Mon Sep 17 00:00:00 2001 From: mallibone Date: Sun, 2 Sep 2018 17:33:02 +0200 Subject: [PATCH 1/6] Update mono linker submodule --- Ooui.Wasm.Build.Tasks/linker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From b34879f40c3292dbf3d8915db19cf05013233f4f Mon Sep 17 00:00:00 2001 From: mallibone Date: Mon, 3 Sep 2018 22:00:27 +0200 Subject: [PATCH 2/6] Update referenced sdk build to latest --- Ooui.Wasm.Build.Tasks/BuildDistTask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ooui.Wasm.Build.Tasks/BuildDistTask.cs b/Ooui.Wasm.Build.Tasks/BuildDistTask.cs index 3cc2ec0..0a88960 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://jenkins.mono-project.com/job/test-mono-mainline-wasm/label=ubuntu-1804-amd64/916/Azure/processDownloadRequest/916/ubuntu-1804-amd64/sdks/wasm/mono-wasm-f25f9e5f2b5.zip"; const string AssemblyExtension = ".bin"; From 550d415571d012a157562d1d2c33bca831b39249 Mon Sep 17 00:00:00 2001 From: mallibone Date: Tue, 4 Sep 2018 06:45:45 +0200 Subject: [PATCH 3/6] Add readme for how to update the Ooui.Wasm.Build.Task --- Ooui.Wasm.Build.Tasks/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Ooui.Wasm.Build.Tasks/README.md diff --git a/Ooui.Wasm.Build.Tasks/README.md b/Ooui.Wasm.Build.Tasks/README.md new file mode 100644 index 0000000..d4e6cdf --- /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 = "PATH/TO/MonoWasmSDK.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/). \ No newline at end of file From 7f67af8f495287ae83ce1c6f2c3b7c8e9b29c818 Mon Sep 17 00:00:00 2001 From: mallibone Date: Thu, 6 Sep 2018 15:55:30 +0200 Subject: [PATCH 4/6] Update BuildDistTask.cs Take Azure blob URL for the WASM artifact. --- Ooui.Wasm.Build.Tasks/BuildDistTask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ooui.Wasm.Build.Tasks/BuildDistTask.cs b/Ooui.Wasm.Build.Tasks/BuildDistTask.cs index 0a88960..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://jenkins.mono-project.com/job/test-mono-mainline-wasm/label=ubuntu-1804-amd64/916/Azure/processDownloadRequest/916/ubuntu-1804-amd64/sdks/wasm/mono-wasm-f25f9e5f2b5.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"; From 13fa65758093d03aa353202d2af5cde7132c591b Mon Sep 17 00:00:00 2001 From: mallibone Date: Thu, 6 Sep 2018 15:59:08 +0200 Subject: [PATCH 5/6] Update README.md --- Ooui.Wasm.Build.Tasks/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ooui.Wasm.Build.Tasks/README.md b/Ooui.Wasm.Build.Tasks/README.md index d4e6cdf..2497f04 100644 --- a/Ooui.Wasm.Build.Tasks/README.md +++ b/Ooui.Wasm.Build.Tasks/README.md @@ -3,7 +3,7 @@ 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 = "PATH/TO/MonoWasmSDK.zip"; +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/). \ No newline at end of file +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/). But make sure you do not reference the artifact directly but use the Azure blob storage used in the sample code above and replacing the `{BUILDNUMBER}` and `{HASHVALUE}` with the new values. From 33810c974e1709de865b772b31004eda71bdec60 Mon Sep 17 00:00:00 2001 From: mallibone Date: Thu, 6 Sep 2018 16:00:19 +0200 Subject: [PATCH 6/6] Update README.md --- Ooui.Wasm.Build.Tasks/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ooui.Wasm.Build.Tasks/README.md b/Ooui.Wasm.Build.Tasks/README.md index 2497f04..095d87c 100644 --- a/Ooui.Wasm.Build.Tasks/README.md +++ b/Ooui.Wasm.Build.Tasks/README.md @@ -6,4 +6,4 @@ The build task uses the Web Assembly SDK and the Mono Linker to build a WASM app 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/). But make sure you do not reference the artifact directly but use the Azure blob storage used in the sample code above and replacing the `{BUILDNUMBER}` and `{HASHVALUE}` with the new values. +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.