File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ executors:
16
16
image : ubuntu-2004:202104-01
17
17
resource_class : arm.medium
18
18
mac :
19
+ resource_class : macos.m1.medium.gen1
19
20
macos :
20
- xcode : 12.5.1
21
- resource_class : medium
21
+ xcode : 15.0.0
22
22
shell : /bin/bash -eo pipefail
23
23
windows :
24
24
machine :
@@ -380,6 +380,9 @@ jobs:
380
380
- checkout
381
381
- attach_workspace :
382
382
at : .
383
+ - run :
384
+ name : Install Rosetta
385
+ command : ./scripts/ci/install-rosetta.sh
383
386
- run :
384
387
name : Run tests
385
388
command : ./scripts/ci/run-prebuilt-tests.sh $(pwd)/test-bin-<< parameters.os >>-<< parameters.arch >> $(pwd)/test-results
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -euo pipefail
3
+
4
+ if [[ " ${MACHTYPE} " == " arm64-apple-darwin" * ]]
5
+ then
6
+ /usr/sbin/softwareupdate --install-rosetta --agree-to-license
7
+ fi
You can’t perform that action at this time.
0 commit comments