Skip to content

Commit

Permalink
Pin Windows CI to VS 17.9.7 toolset as runner image update has build …
Browse files Browse the repository at this point in the history
…failures (#1611)

The new GH runner release
[20240603.1](https://github.com/actions/runner-images/releases/tag/win22%2F20240603.1)
requires minimum 14.40 for MSVC toolset.

Set [VS2022 BuildTools to
17.9.7](actions/runner-images#10004 (comment))
as version 17.10 is busted with several dependencies.

#### What does this implement or fix?

#### Any other comments?

#### Checklist

<details>
  <summary>
   Checklist for code changes...
  </summary>
 
- [ ] Have you updated the relevant docstrings, documentation and
copyright notice?
- [ ] Is this contribution tested against [all ArcticDB's
features](../docs/mkdocs/docs/technical/contributing.md)?
- [ ] Do all exceptions introduced raise appropriate [error
messages](https://docs.arcticdb.io/error_messages/)?
 - [ ] Are API changes highlighted in the PR description?
- [ ] Is the PR labelled as enhancement or bug so it appears in
autogenerated release notes?
</details>

<!--
Thanks for contributing a Pull Request to ArcticDB! Please ensure you
have taken a look at:
- ArcticDB's Code of Conduct:
https://github.com/man-group/ArcticDB/blob/master/CODE_OF_CONDUCT.md
- ArcticDB's Contribution Licensing:
https://github.com/man-group/ArcticDB/blob/master/docs/mkdocs/docs/technical/contributing.md#contribution-licensing
-->
  • Loading branch information
muhammadhamzasajjad committed Jun 18, 2024
1 parent e8ceae3 commit 7826cbe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,13 @@ jobs:
disk-root: "D:" # This is also the checkout directory. Total size 12GB.
continue-on-error: true

- name: Install VS2022 BuildTools 17.9.7
if: matrix.os == 'windows'
run: choco install -y visualstudio2022buildtools --version=117.9.7.0 --params "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --installChannelUri https://aka.ms/vs/17/release/180911598_-255012421/channel"

- name: Enable Windows compiler commands
if: matrix.os == 'windows'
uses: ilammy/[email protected]
with:
# The version of the toolset is specified due to faulty version discovery.
toolset: 14.39

- name: Extra envs
# This has to come after msvc-dev-cmd to overwrite the bad VCPKG_ROOT it sets
Expand Down

0 comments on commit 7826cbe

Please sign in to comment.