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

Aperta Adatta ai principianti
#4,996 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
86/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
c, cmake, github-actions

Direzione di ricerca

Leggi windows-artifacts.yml e confronta il generatore CMake di win-arm64 con quello già usato in cmake-tests.yml. Modificalo affinché corrisponda, poi verifica con un push a test_artifacts, come richiesto dall’issue. Il lavoro è completato quando il job win-arm64 si configura correttamente con Visual Studio installato sul runner.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C
Stelle
28.1k
Fork
2.7k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di facebook/zstd

Tutte le issue di facebook/zstd

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.