Skip to content

Commit

Permalink
Use older msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasil Pashov committed Nov 25, 2024
1 parent 7bdcd4e commit 083efdc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build_steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ jobs:
HOME=~ . build_tooling/vcpkg_caching.sh # Linux build-python-wheels needs another call in CIBW
echo -e "VCPKG_BINARY_SOURCES=$VCPKG_BINARY_SOURCES
VCPKG_ROOT=$PLATFORM_VCPKG_ROOT
VCPKG_PLATFORM_TOOLSET_VERSION=14.41
CMAKE_CXX_COMPILER='C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\Hostx64\\x64\\cl.exe'
CMAKE_C_COMPILER='C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\Hostx64\\x64\\cl.exe'
${{matrix.envs || ''}}" | tee -a $GITHUB_ENV
cmake -P cpp/CMake/CpuCount.cmake | sed 's/^-- //' | tee -a $GITHUB_ENV
env:
Expand Down Expand Up @@ -131,12 +134,13 @@ jobs:
env:
CMAKE_CXX_COMPILER: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\Hostx64\\x64\\cl.exe"
CMAKE_C_COMPILER: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.41.34120\\bin\\Hostx64\\x64\\cl.exe"
VCPKG_PLATFORM_TOOLSET_VERSION: "14.41"
# We are pinning the version to 10.6 because >= 10.7, use node20 which is not supported in the container
uses: lukka/[email protected]
with:
cmakeListsTxtPath: ${{github.workspace}}/cpp/CMakeLists.txt
configurePreset: ${{env.ARCTIC_CMAKE_PRESET}}
configurePresetAdditionalArgs: "['-DVCPKG_INSTALL_OPTIONS=--clean-after-build', '-DCMAKE_CXX_COMPILER=${{env.CMAKE_CXX_COMPILER}}']"
configurePresetAdditionalArgs: "['-DVCPKG_INSTALL_OPTIONS=--clean-after-build', '-DCMAKE_CXX_COMPILER=${{env.CMAKE_CXX_COMPILER}}', '-DVCPKG_PLATFORM_TOOLSET_VERSION=14.41']"
buildPreset: ${{env.ARCTIC_CMAKE_PRESET}}

- name: Compile C++ tests
Expand Down

0 comments on commit 083efdc

Please sign in to comment.