Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add native Apple Silicon (m1) executor #853

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,20 @@ jobs:
min_time: "0.01"
- spectest

m1-native:
machine:
resource_class: macos.m1.large.gen1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This task failed: https://app.circleci.com/pipelines/github/wasmx/fizzy/7204/workflows/2386fdfd-78ad-4576-b2b0-781280e6b41b/jobs/67260

Job was rejected because resource class macos.m1.large.gen1, image default is not a valid resource class

According to https://circleci.com/docs/using-macos/#available-resource-classes unfortunately we can't use these:

The macos.x86.metal.gen1 resource requires a minimum 24-hour lease. See the Dedicated Host for macOS page to learn more about this resource class.

The large and macos.m1.large.gen1 resource classes are only available for customers with an annual contract. Open a support ticket if you would like to learn more about our annual plans.

steps:
- install_macos_deps
- install_testfloat
- checkout
- build:
build_type: Release
- test
- benchmark:
min_time: "0.01"
- spectest

benchmark:
machine:
image: ubuntu-1604:201903-01
Expand Down Expand Up @@ -812,6 +826,9 @@ workflows:
- arm64-native:
requires:
- fetch-spectests
- m1-native:
requires:
- fetch-spectests
- bindings-rust
- bindings-rust-asan
- bindings-rust-coverage
Expand Down