-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CircleCI
: change all jobs to M1 (#3140)
`CircleCI` is deprecating Intel machines, so we need to get this working: https://discuss.circleci.com/t/macos-intel-support-deprecation-in-january-2024/48718 ~~Deadline for this is January 31 2024.~~ New deadline is 28 June 2024. Note that Codecov isn't compatible ([yet?](codecov/feedback#51)) so I'm turning it off for now.
- Loading branch information
Showing
2 changed files
with
17 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
orbs: | ||
macos: circleci/[email protected] | ||
slack: circleci/[email protected] | ||
codecov: codecov/[email protected] | ||
# Disabled until compatible with M1: codecov: codecov/[email protected] | ||
# codecov: codecov/[email protected] | ||
|
||
version: 2.1 | ||
|
||
|
@@ -19,7 +20,7 @@ parameters: | |
|
||
aliases: | ||
base-job: &base-job | ||
resource_class: macos.x86.medium.gen2 | ||
resource_class: macos.m1.medium.gen1 | ||
macos: | ||
xcode: << parameters.xcode_version >> | ||
parameters: | ||
|
@@ -375,7 +376,6 @@ jobs: | |
|
||
spm-revenuecat-ui-ios-15: | ||
<<: *base-job | ||
resource_class: macos.m1.medium.gen1 | ||
steps: | ||
- checkout | ||
- update-spm-installation-commit | ||
|
@@ -400,7 +400,6 @@ jobs: | |
|
||
spm-revenuecat-ui-ios-16: | ||
<<: *base-job | ||
resource_class: macos.m1.medium.gen1 | ||
steps: | ||
- checkout | ||
- update-spm-installation-commit | ||
|
@@ -432,7 +431,6 @@ jobs: | |
|
||
spm-revenuecat-ui-ios-17: | ||
<<: *base-job | ||
resource_class: macos.m1.medium.gen1 | ||
steps: | ||
- checkout | ||
- update-spm-installation-commit | ||
|
@@ -483,7 +481,6 @@ jobs: | |
|
||
run-test-macos: | ||
<<: *base-job | ||
resource_class: macos.m1.medium.gen1 | ||
steps: | ||
- checkout | ||
- install-dependencies | ||
|
@@ -506,7 +503,6 @@ jobs: | |
|
||
run-test-ios-17: | ||
<<: *base-job | ||
resource_class: macos.m1.medium.gen1 | ||
steps: | ||
- checkout | ||
- install-dependencies | ||
|
@@ -541,8 +537,9 @@ jobs: | |
no_output_timeout: 5m | ||
environment: | ||
SCAN_DEVICE: iPhone 14 (16.4) | ||
- codecov/upload: | ||
xtra_args: "-v --xc --xp fastlane/test_output/xctest/ios/RevenueCat.xcresult --preventSymbolicLinks=true" | ||
# Disabled until it's compatible with M1: https://github.com/codecov/feedback/issues/51 | ||
# - codecov/upload: | ||
# xtra_args: "-v --xc --xp fastlane/test_output/xctest/ios/RevenueCat.xcresult --preventSymbolicLinks=true" | ||
- compress_result_bundle: | ||
directory: fastlane/test_output/xctest/ios | ||
bundle_name: RevenueCat | ||
|
@@ -558,6 +555,8 @@ jobs: | |
|
||
run-test-ios-15: | ||
<<: *base-job | ||
# Fix-me: running on M1 makes these tests crash | ||
resource_class: macos.x86.medium.gen2 | ||
steps: | ||
- checkout | ||
- install-dependencies | ||
|
@@ -646,6 +645,8 @@ jobs: | |
|
||
run-test-ios-13: | ||
<<: *base-job | ||
# M1 unsupported | ||
resource_class: macos.x86.medium.gen2 | ||
steps: | ||
- checkout | ||
- install-dependencies | ||
|
@@ -673,6 +674,8 @@ jobs: | |
|
||
run-test-ios-12: | ||
<<: *base-job | ||
# M1 unsupported | ||
resource_class: macos.x86.medium.gen2 | ||
steps: | ||
- checkout | ||
- install-dependencies | ||
|
@@ -710,7 +713,6 @@ jobs: | |
|
||
build-visionos: | ||
<<: *base-job | ||
resource_class: macos.m1.medium.gen1 | ||
steps: | ||
- checkout | ||
- install-dependencies | ||
|
@@ -721,7 +723,6 @@ jobs: | |
|
||
backend-integration-tests-SK1: | ||
<<: *base-job | ||
resource_class: macos.m1.medium.gen1 | ||
steps: | ||
- run-backend-tests: | ||
test_plan: "BackendIntegrationTests-SK1" | ||
|
@@ -752,6 +753,8 @@ jobs: | |
|
||
release-checks: | ||
<<: *base-job | ||
# Fix-me: Carthage can't build fat frameworks on Apple Silicon. See https://github.com/RevenueCat/purchases-ios/pull/3582 | ||
resource_class: macos.x86.medium.gen2 | ||
steps: | ||
- checkout | ||
- trust-github-key | ||
|
@@ -791,6 +794,8 @@ jobs: | |
|
||
make-release: | ||
<<: *base-job | ||
# Fix-me: Carthage can't build fat frameworks on Apple Silicon. See https://github.com/RevenueCat/purchases-ios/pull/3582 | ||
resource_class: macos.x86.medium.gen2 | ||
steps: | ||
- checkout | ||
- trust-github-key | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters