Skip to content

Commit

Permalink
Bump the build process to VC++2022.
Browse files Browse the repository at this point in the history
This includes a new B4K built with VC++2022 as well.
  • Loading branch information
Hoikas committed Apr 2, 2022
1 parent f03f5f1 commit eb8dd93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ jobs:
matrix:
cfg:
- {
os: windows-2019,
generator: Visual Studio 16 2019,
os: windows-2022,
generator: Visual Studio 17 2022,
arch: Win32,
str: windows-x86,
blender-url: "https://github.com/Hoikas/blender2.7/releases/download/blender2.79_20210808/blender-2.79.0-git20210808.d2e1ea3f63e3-windows32.zip",
blender-url: "https://github.com/Hoikas/blender2.7/releases/download/blender2.79_20220402/blender-2.79.0-git20220402.e12c4a607a5e-windows32.zip",
}
- {
os: windows-2019,
generator: Visual Studio 16 2019,
os: windows-2022,
generator: Visual Studio 17 2022,
arch: x64,
str: windows-x64,
blender-url: "https://github.com/Hoikas/blender2.7/releases/download/blender2.79_20210808/blender-2.79.0-git20210808.d2e1ea3f63e3-windows64.zip",
blender-url: "https://github.com/Hoikas/blender2.7/releases/download/blender2.79_20220402/blender-2.79.0-git20220402.e12c4a607a5e-windows64.zip",
}

env:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
publish:
if: startsWith(github.ref, 'refs/tags')
needs: [windows-build]
runs-on: windows-2019
runs-on: windows-latest

steps:
- name: Checkout Korman
Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ try {
throw "CMake must be installed and available on the PATH."
}

$MyGenerator = Find-CMakeArgument $Generator $Env:CMAKE_GENERATOR $Generator_LUT "Visual Studio 16 2019"
$MyGenerator = Find-CMakeArgument $Generator $Env:CMAKE_GENERATOR $Generator_LUT "Visual Studio 17 2022"
if ($Classic) {
Build-KormanClassicSingleArch "$MyGenerator" x86 "$BuildDir"
Build-KormanClassicSingleArch "$MyGenerator" x64 "$BuildDir"
Expand Down

0 comments on commit eb8dd93

Please sign in to comment.