Skip to content

CI: nodejs.yml workflow 缺少 aarch64-apple-darwin target 映射 #18574

@coderabbitai

Description

@coderabbitai

问题描述

.github/workflows/nodejs.yml 的 matrix include 块中,只为 macos-13 定义了 x86_64-apple-darwin 的 target 映射,但 build-rust-binding.yml 实际上在 macOS 上会生成两个 artifacts:

  • bindings-x86_64-apple-darwin
  • bindings-aarch64-apple-darwin

这导致 aarch64-apple-darwin 的 artifact 在后续的下载步骤中无法被正确匹配和下载。

影响范围

  • ARM64 架构的 macOS 构建产物无法被正确下载和测试
  • 可能影响 Apple Silicon (M1/M2/M3) 设备上的功能

相关链接

需要做的修改

.github/workflows/nodejs.yml 的 include 块中添加 aarch64-apple-darwin 的映射条目。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions