Skip to content

Commit

Permalink
Switch to Window 2022, Visual Studio 17 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
ssheorey committed Jun 18, 2024
1 parent 00ef841 commit cd68b20
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:

jobs:
windows:
runs-on: windows-2019
runs-on: windows-2022
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
if (${env:DEVELOPER_BUILD} -ne "OFF") {
${env:DEVELOPER_BUILD}="ON"
}
cmake -G "Visual Studio 16 2019" -A x64 `
cmake -G "Visual Studio 17 2022" -A x64 `
-DDEVELOPER_BUILD="${env:DEVELOPER_BUILD}" `
-DCMAKE_SYSTEM_VERSION="10.0.19041.0" `
-DBUILD_EXAMPLES=OFF `
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
cd open3d-cmake-find-package
mkdir build
cd build
cmake -G "Visual Studio 16 2019" -A x64 `
cmake -G "Visual Studio 17 2022" -A x64 `
-DCMAKE_INSTALL_PREFIX="C:\Program Files\Open3D" `
-DSTATIC_WINDOWS_RUNTIME=${{ matrix.STATIC_RUNTIME }} `
..
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:

build-wheel:
name: Build wheel
runs-on: windows-2019
runs-on: windows-2022
strategy:
fail-fast: false
# https://github.community/t/how-to-conditionally-include-exclude-items-in-matrix-eg-based-on-branch/16853/6
Expand Down Expand Up @@ -279,7 +279,7 @@ jobs:
if (${env:DEVELOPER_BUILD} -ne "OFF") {
${env:DEVELOPER_BUILD}="ON"
}
cmake -G "Visual Studio 16 2019" -A x64 `
cmake -G "Visual Studio 17 2022" -A x64 `
-DCMAKE_INSTALL_PREFIX="C:\Program Files\Open3D" `
-DDEVELOPER_BUILD="${env:DEVELOPER_BUILD}" `
-DCMAKE_SYSTEM_VERSION="10.0.19041.0" `
Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
test-wheel:
name: Test wheel
runs-on: windows-2019
runs-on: windows-2019 # build on 2022, test on 2019
needs: [build-wheel]
strategy:
fail-fast: false
Expand Down

0 comments on commit cd68b20

Please sign in to comment.