Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 6c079c9

Browse files
authored
Use setMachineAffinity for arm64 (#10559)
1 parent 7c473ba commit 6c079c9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

netci.groovy

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ class Constants {
8484

8585
def static setMachineAffinity(def job, def os, def architecture) {
8686
if (architecture == 'arm64' && os == 'Windows_NT') {
87-
// For cross compilation
88-
job.with {
89-
label('arm64')
90-
}
87+
Utilities.setMachineAffinity(job, os, 'latest-arm64');
9188
} else if ((architecture == 'arm' || architecture == 'arm64') && os == 'Ubuntu') {
9289
Utilities.setMachineAffinity(job, os, 'arm-cross-latest');
9390
} else {

0 commit comments

Comments
 (0)