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

オープン 初心者向け
#4,996 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
86/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
c, cmake, github-actions

調査の方向性

windows-artifacts.ymlを読み、win-arm64のCMakeジェネレーターを、すでにcmake-tests.ymlで使われているものと比較してください。一致するように変更し、issueの指示どおりtest_artifactsへのpushで検証してください。win-arm64のジョブが、runnerにインストールされているVisual Studioを使って正常に構成できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
C
スター
28.1k
フォーク
2.7k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

facebook/zstd のほかの issue

facebook/zstd の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。