diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index fd1f8effb86..7134dfb1fd0 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -40,17 +40,17 @@ jobs: cd build ./test-suite/quantlib-test-suite --log_level=message cmake-win: - runs-on: windows-2019 + runs-on: windows-2022 steps: - uses: actions/checkout@v2 - name: Setup run: | - $Url = "https://boostorg.jfrog.io/artifactory/main/release/1.75.0/binaries/boost_1_75_0-msvc-14.2-64.exe" + $Url = "https://boostorg.jfrog.io/artifactory/main/release/1.78.0/binaries/boost_1_78_0-msvc-14.3-64.exe" (New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost.exe") - Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\local\boost-1.75.0" + Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\local\boost-1.78.0" - name: Compile env: - BOOST_ROOT: C:\local\boost-1.75.0 + BOOST_ROOT: C:\local\boost-1.78.0 run: | mkdir build cd build @@ -61,17 +61,17 @@ jobs: cd build .\test-suite\Release\quantlib-test-suite --log_level=message cmake-win-with-options: - runs-on: windows-2019 + runs-on: windows-2022 steps: - uses: actions/checkout@v2 - name: Setup run: | - $Url = "https://boostorg.jfrog.io/artifactory/main/release/1.75.0/binaries/boost_1_75_0-msvc-14.2-64.exe" + $Url = "https://boostorg.jfrog.io/artifactory/main/release/1.78.0/binaries/boost_1_78_0-msvc-14.3-64.exe" (New-Object System.Net.WebClient).DownloadFile($Url, "$env:TEMP\boost.exe") - Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\local\boost-1.75.0" + Start-Process -Wait -FilePath "$env:TEMP\boost.exe" "/SILENT","/SP-","/SUPPRESSMSGBOXES","/DIR=C:\local\boost-1.78.0" - name: Compile env: - BOOST_ROOT: C:\local\boost-1.75.0 + BOOST_ROOT: C:\local\boost-1.78.0 run: | cmake --preset windows-ci-build-with-nonstandard-options cmake --build --preset windows-ci-build-with-nonstandard-options diff --git a/CMakePresets.json b/CMakePresets.json index 94b792ca1da..e524acee1f6 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -40,7 +40,7 @@ { "name": "windows-clang-x64", "binaryDir": "${sourceDir}/build", - "generator": "Visual Studio 16 2019", + "generator": "Visual Studio 17 2022", "toolset": "ClangCL", "architecture": { "value": "x64", @@ -58,7 +58,7 @@ { "name": "windows-msvc-x64", "binaryDir": "${sourceDir}/build", - "generator": "Visual Studio 16 2019", + "generator": "Visual Studio 17 2022", "architecture": { "value": "x64", "strategy": "external" @@ -91,7 +91,7 @@ { "name": "windows-ci-build-with-nonstandard-options", "binaryDir": "${sourceDir}/build", - "generator": "Visual Studio 16 2019", + "generator": "Visual Studio 17 2022", "architecture": { "value": "x64", "strategy": "external"