Skip to content

Update Windows version used by GitHub CI #196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2025
Merged

Update Windows version used by GitHub CI #196

merged 1 commit into from
Jun 3, 2025

Conversation

vtavana
Copy link
Collaborator

@vtavana vtavana commented Jun 3, 2025

The Windows Server 2019 image will be removed on 2025-06-30 actions/runner-images#12045 and currently there is a scheduled Windows Server 2019 brownout.

In this PR, windows-latest is used in GitHub Actions.
In addition, a step is added to Setup MSVC otherwise cl.exe is not recognized.
error: command 'cl.exe' failed: None

@vtavana vtavana self-assigned this Jun 3, 2025
@vtavana vtavana marked this pull request as ready for review June 3, 2025 19:44
@Copilot Copilot AI review requested due to automatic review settings June 3, 2025 19:44
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the GitHub Actions Windows runner to windows-latest ahead of the Windows Server 2019 retirement and adds an MSVC setup step so cl.exe is available.

  • Switch Windows CI image from windows-2019 to windows-latest
  • Insert Setup MSVC action for proper MSVC environment configuration
  • Update matrix runner entries to match the new image

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/conda-package.yml Updated runs-on and matrix runner, added MSVC setup step before building the conda package.
.github/workflows/conda-package-cf.yml Applied the same runner update, matrix runner adjustment, and MSVC setup insertion.

Copy link
Collaborator

@ndgrigorian ndgrigorian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vtavana vtavana merged commit 6524960 into master Jun 3, 2025
57 checks passed
@vtavana vtavana deleted the update-windows branch June 3, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants