Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

build.yml: macOS arm64 DMG fails, cargo missing on the macos-26 runner image

Đang mở Phù hợp với người mới
#1,423 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, rust, typescript
Lĩnh vực
build-system, ci-cd, desktop

Hướng nghiên cứu

Đọc build.yml và so sánh các job compositor macOS với bước cài đặt Rust trong ci.yml. Lỗi xảy ra ở Build Metal compositor addon khi chạy npm run build:native:compositor:mac; hãy kiểm tra để bảo đảm toolchain có sẵn trên cả hai runner macOS. Hoàn tất khi workflow DMG arm64 chạy thành công và job x64 cũng được kiểm tra.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

build.yml's macOS arm64 DMG job fails on main @ 5d82a0cb2: the runner image no longer ships Rust, and the job never installs it.

Run: https://github.com/getopenscreen/openscreen/actions/runs/40772284800 (workflow_dispatch on main)

Failing step: Build Metal compositor addon → npm run build:native:compositor:mac

Error: cargo not found at /Users/runner/.cargo/bin/cargo. Install Rust (https://rustup.rs) first.
    at scripts/build-macos-compositor-addon.mjs:93

Runner image: macos-26-arm64 20261021.0445.8 (macos-latest). The last green arm64 build (run 39270054626, 19/10) ran on an older image that still had ~/.cargo/bin/cargo. The cargo cache step restores fine, but restores no toolchain.

Why it matters: prerelease.yml dispatches this same workflow, so the next RC cannot produce an Apple Silicon DMG.

Likely fix: the Install Rust toolchain step ci.yml already runs before its macOS compositor jobs (rustup with --target aarch64-apple-darwin), added to the macOS job of build.yml. The x64 job runs on macos-15-intel and may still have Rust preinstalled; worth installing it there too so the next image bump doesn't break it.

Found during the macOS e2e pass for #1422.

Ngôn ngữ chính
TypeScript
Star
3.7k
Fork
231
Merge trung bình
16 giờ 25 phút
Pull request đã merge (30 ngày)
331

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của getopenscreen/openscreen

Tất cả issue của getopenscreen/openscreen

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.