mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 23:34:57 -04:00
workflow: Build Windows using windows-2022 and Visual Studio 2022
This commit is contained in:
parent
fc625eec11
commit
1f39c3333f
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
- ubuntu-bionic-coverage-ninja
|
- ubuntu-bionic-coverage-ninja
|
||||||
- macos-eigen-coverage-unity-xcode
|
- macos-eigen-coverage-unity-xcode
|
||||||
- macos-nometa-standard-makefile
|
- macos-nometa-standard-makefile
|
||||||
# - windows-standard-unity-msvc # FIXME when GH Actions runners upgrade CMake to >=3.16.1
|
- windows-standard-unity-msvc
|
||||||
- windows-nopython-nometa-standard-msvc
|
- windows-nopython-nometa-standard-msvc
|
||||||
|
|
||||||
include:
|
include:
|
||||||
@ -60,20 +60,20 @@ jobs:
|
|||||||
eigen: NO
|
eigen: NO
|
||||||
|
|
||||||
- profile: windows-standard-unity-msvc
|
- profile: windows-standard-unity-msvc
|
||||||
os: windows-2019
|
os: windows-2022
|
||||||
config: Standard
|
config: Standard
|
||||||
unity: YES
|
unity: YES
|
||||||
generator: Visual Studio 16 2019
|
generator: Visual Studio 17 2022
|
||||||
compiler: Default
|
compiler: Default
|
||||||
metalibs: YES
|
metalibs: YES
|
||||||
python: YES
|
python: YES
|
||||||
eigen: NO
|
eigen: NO
|
||||||
|
|
||||||
- profile: windows-nopython-nometa-standard-msvc
|
- profile: windows-nopython-nometa-standard-msvc
|
||||||
os: windows-2019
|
os: windows-2022
|
||||||
config: Standard
|
config: Standard
|
||||||
unity: NO
|
unity: NO
|
||||||
generator: Visual Studio 16 2019
|
generator: Visual Studio 17 2022
|
||||||
compiler: Default
|
compiler: Default
|
||||||
metalibs: NO
|
metalibs: NO
|
||||||
python: NO
|
python: NO
|
||||||
@ -153,7 +153,7 @@ jobs:
|
|||||||
cd build
|
cd build
|
||||||
|
|
||||||
if ${{ matrix.compiler == 'Clang' }}; then
|
if ${{ matrix.compiler == 'Clang' }}; then
|
||||||
if [[ "$CMAKE_GENERATOR" == *Studio*2019* ]]; then
|
if [[ "$CMAKE_GENERATOR" =~ Studio.+20(19|22) ]]; then
|
||||||
export CMAKE_GENERATOR_TOOLSET=ClangCL
|
export CMAKE_GENERATOR_TOOLSET=ClangCL
|
||||||
elif [[ "$CMAKE_GENERATOR" == *Studio* ]]; then
|
elif [[ "$CMAKE_GENERATOR" == *Studio* ]]; then
|
||||||
export CMAKE_GENERATOR_TOOLSET=LLVM
|
export CMAKE_GENERATOR_TOOLSET=LLVM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user