Skip to content

Commit

Permalink
update amd_macos for cross compilation (#530)
Browse files Browse the repository at this point in the history
Since CircleCI no longer supports intel mac agents, use the apple
silicon and cross compile

---------

Co-authored-by: ApolloBot2 <support@apollographql.com>
  • Loading branch information
clenfest and ApolloBot2 authored Jul 9, 2024
1 parent ccc4e41 commit 58e31d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,10 @@ executors:
amd_macos: &amd_macos_executor
macos:
xcode: "14.2"
resource_class: macos.x86.medium.gen2
resource_class: macos.m1.large.gen1
environment:
XTASK_TARGET: "x86_64-apple-darwin"
RUSTUP_TARGET: "x86_64-apple-darwin" # cross-compile, because there are no native x86 macos runners
APPLE_TEAM_ID: "YQK948L752"
APPLE_USERNAME: "opensource@apollographql.com"
MACOS_PRIMARY_BUNDLE_ID: com.apollographql.supergraph
Expand Down

0 comments on commit 58e31d3

Please sign in to comment.