From a7645c33961b0b7fd51a1dc73abe187e216f4970 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sun, 13 Nov 2022 15:06:40 -0700 Subject: [PATCH] Revert "ci: try alternate way of requesting 8.1 sdk" This reverts commit d5c257536016f6a98ddb9ed1cbc2411c7a2edca1. --- .github/workflows/cmake.yml | 2 -- appveyor.yml | 1 - build-appveyor.ps1 | 2 +- build-windows.ps1 | 2 +- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index e1905aff..eee59473 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -26,8 +26,6 @@ jobs: - name: Setup MSVC environment if: runner.os == 'Windows' uses: ilammy/msvc-dev-cmd@v1 - with: - sdk: 8.1 # maintain Windows 8.1 support - name: Linux Build if: runner.os == 'Linux' diff --git a/appveyor.yml b/appveyor.yml index 810bbf3e..b181162b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,7 +9,6 @@ install: - ps: 7z x embree64.zip -oc:\ - ps: Invoke-WebRequest 'https://github.com/oneapi-src/oneTBB/releases/download/v2020.2/tbb-2020.2-win.zip' -OutFile 'tbb.zip' - ps: 7z x tbb.zip -oc:\ -- cmd: call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" x64 8.1 build_script: - cmd: powershell .\build-appveyor.ps1 artifacts: diff --git a/build-appveyor.ps1 b/build-appveyor.ps1 index b76e1b7d..4bba61d3 100644 --- a/build-appveyor.ps1 +++ b/build-appveyor.ps1 @@ -18,7 +18,7 @@ mkdir cmakebuild cd cmakebuild -cmake .. -T v143 -Dembree_DIR="C:\embree-3.12.1.x64.vc14.windows" -DTBB_DIR="C:\tbb\cmake" -DCMAKE_GENERATOR_PLATFORM=x64 -DENABLE_LIGHTPREVIEW=NO -DQt5Widgets_DIR="C:\Qt\5.8\msvc2013_64\lib\cmake\Qt5Widgets" +cmake .. -T v143 -Dembree_DIR="C:\embree-3.12.1.x64.vc14.windows" -DTBB_DIR="C:\tbb\cmake" -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_SYSTEM_VERSION="8.1" -DENABLE_LIGHTPREVIEW=NO -DQt5Widgets_DIR="C:\Qt\5.8\msvc2013_64\lib\cmake\Qt5Widgets" $cmakePlatform = "x64" diff --git a/build-windows.ps1 b/build-windows.ps1 index ecc6d24b..6909d9c7 100644 --- a/build-windows.ps1 +++ b/build-windows.ps1 @@ -20,7 +20,7 @@ choco install ninja mkdir build-windows cd build-windows -cmake .. -GNinja -Dembree_DIR="C:\embree-3.12.1.x64.vc14.windows" -DTBB_DIR="C:\tbb\cmake" -DCMAKE_BUILD_TYPE=Release +cmake .. -GNinja -Dembree_DIR="C:\embree-3.12.1.x64.vc14.windows" -DTBB_DIR="C:\tbb\cmake" -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_VERSION="8.1" ninja if ( $? -eq $false ) {