Skip to content

cue.py fails with KeyError 'vs2022' on GitHub Actions windows-2025-vs2026 #112

@anderslindho

Description

@anderslindho
Run python .ci/cue.py prepare
Clearing empty environment variable GITHUB_ACTION_REF
Clearing empty environment variable GITHUB_ACTION_REPOSITORY
Clearing empty environment variable GITHUB_BASE_REF
Clearing empty environment variable GITHUB_HEAD_REF
Traceback (most recent call last):
  File "D:\a\recsync\recsync\client\.ci\cue.py", line 1477, in <module>
    main(sys.argv[1:])
  File "D:\a\recsync\recsync\client\.ci\cue.py", line 1471, in main
    with_vcvars(' '.join(['--no-vcvars'] + raw))
  File "D:\a\recsync\recsync\client\.ci\cue.py", line 1380, in with_vcvars
    info['vcvars'] = vcvars_found[CC]
                     ~~~~~~~~~~~~^^^^
KeyError: 'vs2022'
Error: Process completed with exit code 1.

with:

  • GITHUB_ACTIONS=true
  • RUNNER_OS=Windows
  • CMP=vs2022
  • runs-on: windows-2025

see https://github.com/ChannelFinder/recsync/actions/runs/25477705971/job/74754707955 (or https://github.com/ChannelFinder/recsync/actions/runs/25481502523/job/74766536542 for latest version of this project)

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