diff --git a/.github/workflows/build_steps.yml b/.github/workflows/build_steps.yml index 2b058c2cb47..b06c505eabf 100644 --- a/.github/workflows/build_steps.yml +++ b/.github/workflows/build_steps.yml @@ -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: @@ -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/run-cmake@v10.6 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