windows-artifacts: the win-arm64 job uses a Visual Studio generator missing from windows-11-arm

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

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

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
86/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ệ
c, cmake, github-actions
Lĩnh vực
build-system, ci-cd

Hướng nghiên cứu

Đọc windows-artifacts.yml và so sánh trình tạo CMake của win-arm64 với trình tạo đang được dùng trong cmake-tests.yml. Thay đổi để chúng khớp nhau, sau đó xác minh bằng cách push lên test_artifacts như issue yêu cầu. Hoàn tất khi job win-arm64 cấu hình thành công với Visual Studio đã cài đặt trên runner.

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

Mô tả

The win-arm64 job of windows-artifacts.yml configures CMake with -G "Visual Studio 17 2022", but the windows-11-arm image now ships only Visual Studio 2026. The last run of this workflow (run 44396122729, 2026-11-18) fails at configuration:

CMake Error at CMakeLists.txt:30 (project):
  Generator

    Visual Studio 17 2022

  could not find any instance of Visual Studio.

cmake-tests.yml was already switched to Visual Studio 18 2026 for the same runner in 2c2a6216e, but windows-artifacts.yml was not.

This workflow only runs on pushes to test_artifacts, win_artifacts and release, and on published releases, so the failure would first show up at the next release. With the default fail-fast, it also cancels the win32 and win64 jobs (as in run 43975850626), so that release could ship without any Windows package.

Fix: use the same generator as cmake-tests.yml, and check with a push to test_artifacts. Running this workflow on PRs that touch lib/dll/example/ or the workflow itself would catch this kind of breakage earlier.

Related: #4395.

Ngôn ngữ chính
C
Star
28.1k
Fork
2.7k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 facebook/zstd

Tất cả issue của facebook/zstd

Issue tương tự

Thêm issue về C

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.