未验证 提交 4ed3063d 编写于 作者: J Jakob Botsch Nielsen 提交者: GitHub

Run fuzzers on macOS arm64 (#67297)

上级 2453f168
......@@ -22,13 +22,13 @@ jobs:
buildConfig: checked
platforms:
# Linux tests are built on the OSX machines.
# - OSX_x64
- Linux_arm
- Linux_arm64
- Linux_x64
- windows_x64
- windows_x86
- windows_arm64
- OSX_arm64
- CoreClrTestBuildHost # Either OSX_x64 or Linux_x64
jobParameters:
testGroup: outerloop
......@@ -39,13 +39,13 @@ jobs:
buildConfig: checked
platforms:
# Linux tests are built on the OSX machines.
# - OSX_x64
- Linux_arm
- Linux_arm64
- Linux_x64
- windows_x64
- windows_x86
- windows_arm64
- OSX_arm64
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
......
......@@ -79,7 +79,10 @@ def main(main_args):
coreclr_args = setup_args(main_args)
arch_name = coreclr_args.arch
os_name = "win" if coreclr_args.platform.lower() == "windows" else "linux"
os_name = coreclr_args.platform.lower()
if os_name == "windows":
os_name = "win"
run_configuration = "{}-{}".format(os_name, arch_name)
source_directory = coreclr_args.source_directory
......@@ -109,7 +112,7 @@ def main(main_args):
acceptable_copy = lambda path: any(path.endswith(extension) for extension in [".py", ".dll", ".exe", ".json"])
else:
# Need to accept files without any extension, which is how executable file's names look.
acceptable_copy = lambda path: (os.path.basename(path).find(".") == -1) or any(path.endswith(extension) for extension in [".py", ".dll", ".so", ".json", ".a"])
acceptable_copy = lambda path: (os.path.basename(path).find(".") == -1) or any(path.endswith(extension) for extension in [".py", ".dll", ".so", ".dylib", ".json", ".a"])
# copy CORE_ROOT
print('Copying {} -> {}'.format(coreclr_args.core_root_directory, coreroot_directory))
......@@ -140,7 +143,7 @@ def main(main_args):
except PermissionError as pe:
print("Skipping file. Got error: %s", pe)
# create foo.txt in work_item directories
# create a dummy file in the work_item directories, otherwise Helix complains
workitem_directory = path.join(source_directory, "workitem")
os.mkdir(workitem_directory)
foo_txt = os.path.join(workitem_directory, "foo.txt")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册