From 5b4bc3f3eca6f8d2368ef351eb3e92469fa3e6c7 Mon Sep 17 00:00:00 2001 From: Alex Thibodeau Date: Wed, 9 Feb 2022 14:44:29 -0500 Subject: [PATCH 1/2] Add 32bit windows coreclr build and test yamato script --- .yamato/build_windows.yml | 31 +++++++++++++++++++ .../FrameworkTests/R2RDumpTests.csproj | 1 + 2 files changed, 32 insertions(+) create mode 100644 .yamato/build_windows.yml diff --git a/.yamato/build_windows.yml b/.yamato/build_windows.yml new file mode 100644 index 00000000000000..e8bd46bcc241c8 --- /dev/null +++ b/.yamato/build_windows.yml @@ -0,0 +1,31 @@ +name: Build and Test Windows x86 + +agent: + type: Unity::VM + image: platform-foundation/windows-vs2019-il2cpp-bokken:latest + flavor: b1.xlarge + +commands: + - | + cd unity\unitygc + cmake . -A Win32 + cmake --build . --config Release + - build.cmd -subset clr+libs -a x86 -c release -ci + - copy unity\unitygc\Release\unitygc.dll artifacts\bin\microsoft.netcore.app.runtime.win-x86\Release\runtimes\win-x86\native + - powershell .yamato\scripts\download_7z.ps1 + - artifacts\7za-win-x64\7za.exe a artifacts\unity\dotnet-runtime-unity-win-x86.7z .\artifacts\bin\microsoft.netcore.app.runtime.win-x86\Release\runtimes\win-x86 +# build/run tests + - build.cmd libs.tests -test -a x86 -c release -ci + - src\tests\build.cmd x86 release ci + - src\tests\run.cmd x86 release + +triggers: + pull_requests: + - targets: + only: + - "unity-main" + +artifacts: + win64: + paths: + - artifacts\unity\dotnet-runtime-unity-win-x86.7z diff --git a/src/tests/readytorun/r2rdump/FrameworkTests/R2RDumpTests.csproj b/src/tests/readytorun/r2rdump/FrameworkTests/R2RDumpTests.csproj index b6a2da881f905b..6997a17e9d1d2b 100644 --- a/src/tests/readytorun/r2rdump/FrameworkTests/R2RDumpTests.csproj +++ b/src/tests/readytorun/r2rdump/FrameworkTests/R2RDumpTests.csproj @@ -4,6 +4,7 @@ true + 1 From d2977308ec145153e134d5660b64e8868edeb95e Mon Sep 17 00:00:00 2001 From: Alex Thibodeau Date: Tue, 15 Feb 2022 10:01:29 -0500 Subject: [PATCH 2/2] Update linux yamato script to reference known stable version instead of latest --- .yamato/build_and_test_linux_x64.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.yamato/build_and_test_linux_x64.yml b/.yamato/build_and_test_linux_x64.yml index 2ab8f74713c6c5..c04811c9bd93dc 100644 --- a/.yamato/build_and_test_linux_x64.yml +++ b/.yamato/build_and_test_linux_x64.yml @@ -2,7 +2,7 @@ name: Build and Test Linux x64 agent: type: Unity::VM - image: platform-foundation/linux-ubuntu-18.04-mono-bokken:latest + image: platform-foundation/linux-ubuntu-18.04-mono-bokken:0.1.7-978398 flavor: b1.large commands: