Skip to content

Commit

Permalink
Add Windows-specific steps for ccache removal and MSVC installation i…
Browse files Browse the repository at this point in the history
…n CI workflow
  • Loading branch information
G-D-Petrov committed Dec 31, 2024
1 parent 22c5fe6 commit afd55f2
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/run_specific_tests_on_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,21 @@ jobs:
env:
CMAKE_BUILD_PARALLEL_LEVEL: ${{vars.CMAKE_BUILD_PARALLEL_LEVEL}}

- name: Find and remove ccache # See PR: #945
if: inputs.os == 'windows'
run: rm $(which ccache) || true

- name: Prepare C++ compilation env
run: . build_tooling/prep_cpp_build.sh
run: . build_tooling/prep_cpp_build.sh # Also applies to Windows

# When a GitHub Windows image gets update the MSVC compiler also can get updated. New compilers can have compilation errors in Arctic or in the VCPKG dependencies.
# We needd to pin a particular MSVC so that runner updates don't affect us.
# When the MSVC version is update custom-triplets/x64-windows-static-msvc.cmake must also be updated with the correct toolsed version.
- name: Install Required MSVC
if: inputs.os == 'windows'
run: |
choco install -y -f visualstudio2022buildtools --version=117.11.4 --params "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --installChannelUri https://aka.ms/vs/17/release/390666095_1317821361/channel"
choco install -y ninja
- name: Install local dependencies with pip
shell: bash
Expand Down

0 comments on commit afd55f2

Please sign in to comment.