Skip to content

[ci] Azure DevOps and GitHub Actions dropping windows-2019 support #6947

Open
@jameslamb

Description

@jameslamb

Description

Azure DevOps and GitHub Actions removing support for the windows-2019 VM image on Azure-hosted runners soon.

Noticed this because Azure DevOps Windows builds on #6931 failed with an error like this:

[error] This is a scheduled Windows Server 2019 brownout. The Windows Server 2019 image will be removed on 2025-06-30. For more details, see actions/runner-images#12045

(build link)

And similarly on GitHub Actions: https://github.com/microsoft/LightGBM/actions/runs/15714964891/job/44282322097?pr=6931

We'll need to drop uses of windows-2019 in CI here.

Benefits of this work

  • keeps Windows CI working in this project

Acceptance criteria

  • all CI is passing (ideally without reducing total coverage) after Azure DevOps has removed support for windows-2019

Approach

Follow an approach similar to the last time this happened:

Notes

N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions