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: 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