Skip to content
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

gha: use latest Visual Studio compiler #13174

Merged
merged 1 commit into from
May 17, 2024
Merged

Conversation

MisterDA
Copy link
Contributor

The CI for MSVC/clang-cl have started failing, because as per actions/runner-images#9701, GitHub has removed all VC++ toolsets except the latest one (for now it's 14.39). That's why the version 14.38 was not found. (see also ilammy/msvc-dev-cmd#80).
If we don't hard-code a version, then the action will default to the latest toolset. I haven't found a way to (at least) log the version that's used. I haven't looked at installing a specific version. I think we're fine defaulting to the latest available version.

@nojb
Copy link
Contributor

nojb commented May 16, 2024

I haven't found a way to (at least) log the version that's used.

Just executing cl will show you the version.

@MisterDA
Copy link
Contributor Author

I haven't found a way to (at least) log the version that's used.

Just executing cl will show you the version.

It gives a version, but not the toolset version. We can already see the cl version from the vendor string.

Copy link
Member

@gasche gasche left a comment

Choose a reason for hiding this comment

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

Thanks for helping with the CI!

@nojb nojb merged commit cbdf6c3 into ocaml:trunk May 17, 2024
17 of 18 checks passed
@MisterDA MisterDA deleted the latest-visual-studio branch May 17, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants