build: use gen2 macOS resources for tests (#32935)

This commit is contained in:
Samuel Attard 2022-02-17 13:57:23 -08:00 committed by GitHub
parent e08ced5979
commit 36e730da93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ executors:
description: "macOS executor size" description: "macOS executor size"
default: large default: large
type: enum type: enum
enum: ["medium", "large"] enum: ["macos.x86.medium.gen2", "large"]
macos: macos:
xcode: "12.4.0" xcode: "12.4.0"
resource_class: << parameters.size >> resource_class: << parameters.size >>
@ -1909,7 +1909,7 @@ jobs:
osx-testing-x64-gn-check: osx-testing-x64-gn-check:
executor: executor:
name: macos name: macos
size: medium size: macos.x86.medium.gen2
environment: environment:
<<: *env-machine-mac <<: *env-machine-mac
<<: *env-testing-build <<: *env-testing-build
@ -1990,7 +1990,7 @@ jobs:
mas-testing-x64-gn-check: mas-testing-x64-gn-check:
executor: executor:
name: macos name: macos
size: medium size: macos.x86.medium.gen2
environment: environment:
<<: *env-machine-mac <<: *env-machine-mac
<<: *env-mas <<: *env-mas
@ -2226,7 +2226,7 @@ jobs:
osx-testing-x64-tests: osx-testing-x64-tests:
executor: executor:
name: macos name: macos
size: medium size: macos.x86.medium.gen2
environment: environment:
<<: *env-mac-large <<: *env-mac-large
<<: *env-stack-dumping <<: *env-stack-dumping
@ -2244,7 +2244,7 @@ jobs:
mas-testing-x64-tests: mas-testing-x64-tests:
executor: executor:
name: macos name: macos
size: medium size: macos.x86.medium.gen2
environment: environment:
<<: *env-mac-large <<: *env-mac-large
<<: *env-stack-dumping <<: *env-stack-dumping