Skip to content

[infra] NDK install fails on MacOS GitHub runner #1115

Closed

Description

@dcharkes
Run nttld/setup-ndk@6a7e9c5494a25c4842ca1011f710300132eacd94
  with:
    ndk-version: r[2](https://github.com/dart-lang/native/actions/runs/8906568850/job/24458937965?pr=1114#step:4:2)6b
    add-to-path: true
    link-to-sdk: false
    local-cache: false
  env:
    DART_HOME: /Users/runner/hostedtoolcache/dart/[3](https://github.com/dart-lang/native/actions/runs/8906568850/job/24458937965?pr=1114#step:4:3).3.4/arm64
    PUB_CACHE: /Users/runner/.pub-cache
Error: Error: Unsupported arch "arm6[4](https://github.com/dart-lang/native/actions/runs/8906568850/job/24458937965?pr=1114#step:4:4)"

I believe the MacOS bots were x64 before. It looks like they silently switched to arm64.

We run the arm64 MacOS bot less often because it wasn't free:

We should check if its free now.

Also, we probably want to keep running things on x64 MacOS.

Activity

  1. added
    P1A high priority bug; for example, a single project is unusable or has many test failures
    type-infraA repository infrastructure change or enhancement
    on May 1, 2024
  2. dcharkes commented on May 1, 2024

    @dcharkes
    CollaboratorAuthor

    Yep, the default is arm64 now: actions/runner-images#9741

  3. dcharkes commented on May 1, 2024

    @dcharkes
    CollaboratorAuthor
  4. dcharkes commented on May 1, 2024

    @dcharkes
    CollaboratorAuthor

    Hello! As stated in the table the only intel-based macOS-14 runner is macos-14-large (doc). There are no plans to introduce macOS-14 intel standard runners as of now.

    actions/runner-images#9741 (comment)

    @liamappelbe Maybe we should then change the weekly builder to be an x64 one? macos-14-large

  5. MulverineX commented on May 8, 2024

    @MulverineX
  6. dcharkes commented on May 8, 2024

    @dcharkes
    CollaboratorAuthor

    The GitHub bot already has an NDK pre-installed, so we're using that one now.

    https://github.com/dart-lang/native/pull/1114/files#diff-67b78d3322afa689c9b62e854680e8087184f61dd7787f43ceb53f471eef6704

    We can get back to installing one manually if we want a specific version of the SDK in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1A high priority bug; for example, a single project is unusable or has many test failurestype-infraA repository infrastructure change or enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions