Create runner layout for osx-arm64 (Apple M1) platform. (#1618)

* Create runner layout for osx-arm64 (Apple M1) platform.

* bypass m1 macos

* l0
This commit is contained in:
Tingluo Huang
2022-05-20 11:00:54 -04:00
committed by GitHub
parent fade0f46e7
commit 0398f57125
21 changed files with 61 additions and 22 deletions

View File

@@ -27,9 +27,9 @@ namespace GitHub.Runner.Common.Tests
try
{
#if OS_WINDOWS
string node = Path.Combine(TestUtil.GetSrcPath(), @"..\_layout\externals\node12\bin\node");
string node = Path.Combine(TestUtil.GetSrcPath(), @"..\_layout\externals\node16\bin\node");
#else
string node = Path.Combine(TestUtil.GetSrcPath(), @"../_layout/externals/node12/bin/node");
string node = Path.Combine(TestUtil.GetSrcPath(), @"../_layout/externals/node16/bin/node");
hc.EnqueueInstance<IProcessInvoker>(new ProcessInvokerWrapper());
#endif
var startInfo = new ProcessStartInfo(node, "-e \"setTimeout(function(){{}}, 15 * 1000);\"");